I inherited Zabbix duties on an already running system.
I have some boxes that I can check the status of by going to the webpage/status and it returns an "is alive". The item and trigger are working perfectly.
This one works
web.page.regexp[{HOST.HOST},/status,,is alive] for the first box. It does not need a port, and DNS works so I don't need the IP address.
So we got a new box that is similar. if you go to the web page using the ip address/management/health at port 48081 it returns a long string.
so in my browser, I type x.x.x.x:48081/management/health and it returns
{"description":"Spring Cloud Eureka Discovery Client","status":"UP","discoveryComposite":{"descr iption":"Spring Cloud Eureka Discovery Client","status":"UP","discoveryClient":{"descript ion":"Spring Cloud Eureka Discovery Client","status":"UP","services":["vpcnotificationservice","vpcmanifestservice", "vpc schedulerservice","vpcgateway","vpcencoderservice" ,"jhipster-registry","vpcnpvrservice"]},"eureka":{"description":"Remote status from Eureka server","status":"UP","applications":{"VPCNOTIFICA TIONSERVICE":2,"VPCMANIFESTSERVICE":4,"VPCSCHEDULE RSERVICE":2,"VPCGATEWAY":2,"VPCENCODERSERVICE":2," JHIPSTER-REGISTRY":2,"VPCNPVRSERVICE":2}}},"diskSpace":{"st atus":"UP","total":10434699264,"free":9402437632," threshold":10485760},"db":{"status":"UP","twcdatas ource":{"status":"UP","database":"PostgreSQL","hel lo":1},"vpcdatasource":{"status":"UP","database" :" PostgreSQL","hello":1}},"refreshScope":{"status":" UP"},"configServer":{"status":"UP","propertySour ce s":["file:/central-config/vpcnpvrservice.yml","file:/central-config/application.yml"]},"hystrix":{"status":"UP"}}
just for starters I'm looking for the word UP.
I have the key set up as web.page.regexp[{HOST.IP},management/health,48081,UP]
I also tried web.page.regexp[{HOST.IP},/management/health,48081,UP]
when I look at latest data, the item shows the correct IP address so that looks ok. But I'm getting nothing returned, the history is full of blank every 30 seconds. I also tried putting the IP address in key, that did not help.
Using zabbix 2.2.3
what am I doing wrong? Thx
I have some boxes that I can check the status of by going to the webpage/status and it returns an "is alive". The item and trigger are working perfectly.
This one works
web.page.regexp[{HOST.HOST},/status,,is alive] for the first box. It does not need a port, and DNS works so I don't need the IP address.
So we got a new box that is similar. if you go to the web page using the ip address/management/health at port 48081 it returns a long string.
so in my browser, I type x.x.x.x:48081/management/health and it returns
{"description":"Spring Cloud Eureka Discovery Client","status":"UP","discoveryComposite":{"descr iption":"Spring Cloud Eureka Discovery Client","status":"UP","discoveryClient":{"descript ion":"Spring Cloud Eureka Discovery Client","status":"UP","services":["vpcnotificationservice","vpcmanifestservice", "vpc schedulerservice","vpcgateway","vpcencoderservice" ,"jhipster-registry","vpcnpvrservice"]},"eureka":{"description":"Remote status from Eureka server","status":"UP","applications":{"VPCNOTIFICA TIONSERVICE":2,"VPCMANIFESTSERVICE":4,"VPCSCHEDULE RSERVICE":2,"VPCGATEWAY":2,"VPCENCODERSERVICE":2," JHIPSTER-REGISTRY":2,"VPCNPVRSERVICE":2}}},"diskSpace":{"st atus":"UP","total":10434699264,"free":9402437632," threshold":10485760},"db":{"status":"UP","twcdatas ource":{"status":"UP","database":"PostgreSQL","hel lo":1},"vpcdatasource":{"status":"UP","database" :" PostgreSQL","hello":1}},"refreshScope":{"status":" UP"},"configServer":{"status":"UP","propertySour ce s":["file:/central-config/vpcnpvrservice.yml","file:/central-config/application.yml"]},"hystrix":{"status":"UP"}}
just for starters I'm looking for the word UP.
I have the key set up as web.page.regexp[{HOST.IP},management/health,48081,UP]
I also tried web.page.regexp[{HOST.IP},/management/health,48081,UP]
when I look at latest data, the item shows the correct IP address so that looks ok. But I'm getting nothing returned, the history is full of blank every 30 seconds. I also tried putting the IP address in key, that did not help.
Using zabbix 2.2.3
what am I doing wrong? Thx