I have a need to monitor a component of an application via results returned from a web page that produces monitoring information, and I haven't seen a way to do this using the built in Item type.
This is what I've done, which may help other people who need similar functionality.
I created a small External Check application that takes one parameter and can use it as an Item Key
and I can then do a regex for the results in the Trigger associated with the Item.
Is there a built-in way to do exactly this?
This is what I've done, which may help other people who need similar functionality.
I created a small External Check application that takes one parameter and can use it as an Item Key
Code:
#!/bin/sh # /etc/zabbix/externalscripts/get-web-page.sh # # Usage: # * Type is External Check # * Key is: # get-web-page.sh[/path/to/website-page.html] # curl http://$1$2
Is there a built-in way to do exactly this?
Comment