Nagios does a great job of monitoring/reporting to humans (or sysadmins, the nearest equivalent <G>), but can it also be used for machine-to-machine reporting?
Example: machine X at my company wants to start a process that involves machines Y and Z. However, if either machine is down, X's proces should die quietly (no point in reporting Y or Z is down, since a sysadmin has presumably already been notified). Can machine X contact my nagios server for a machine-readable status of machines Y and Z? I realize I could wget/curl/lynx-source the page: http://nagios.mycompany.com/nagios/cgi-bin/extinfo.cgi?type=1&host=hostname and parse the output, but that seems ugly. Is there a "machine-readable" option for the page above that just prints "up", "down", "unknown", "parent down" or a number or something easy-to-parse like that? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null