in reply to Help writing custom Perl nagios plugins

Ironic that one of my employees just brought the nagios project to my attention. So ++ to anyone who can shed more light on this. :)
  • Comment on Re: Help writing custom Perl nagios plugins

Replies are listed 'Best First'.
Re^2: Help writing custom Perl nagios plugins
by jose_m (Acolyte) on Oct 31, 2011 at 19:16 UTC
    i wrote a nagios plugin that validates the xml of a site. the most important thing is the return codes. Nagios expects one of 4 exit codes: exit code status description 0 OK all good 1 warning working, but needs attention 2 critical not working correctly 3 unknown plugin could not determine the state install the plugin in /usr/lib/nagios/plugins make is executable create the check.. thats it..