I would like to monitor specific XML output from IDOL content engines. I would like to both extract specific values to display when OK and alert when value is greater than X. How could I go about this? Values (lines 14 & 19) would be for directory and documents. An example content query would be sent via a web browser
Somewhat but not sure how I would get NAGIOS to interact with any of it would be the problem. I could sed/awk the results of the curl as well but I have no idea how I would have nagios initiate the script to run and then return the results and determine OK, WARN, CRIT.
You would write the script to /usr/local/nagios/libexec/myscript.sh
Then you could set up a command in XI using CCM to run myscript.sh
Then set up a service check to use that check command