I'm not aware of the plugin check_nagios_service. Does such a plugin exist? If so, where can I get this from?
-----Original Message----- From: Kurt Yoder [mailto:[EMAIL PROTECTED] Sent: 14 December 2007 14:11 To: Miah, W (Wadud) Cc: [email protected] Subject: Re: [Nagios-users] Script to probe service status in Nagios On Dec 14, 2007, at 8:49 AM, Miah, W (Wadud) wrote: > I should have clarified exactly what I meant in my previous email. Is > there a script that connects to the Nagios front end that can > determine > the state of a service/host? I must be able to execute this cript from > any Linux/Unix host. For example, > > [EMAIL PROTECTED] ./check_nagios_service -H http://nagios.rl.ac.uk/ > nagios > --host=server --service=nscd > service nscd on host server is OK > [EMAIL PROTECTED] echo $? > 0 > [EMAIL PROTECTED] ./check_nagios_service -H http://nagios.rl.ac.uk/ > nagios > --host=server --service=httpd > service httpd on host server is CRITICAL > [EMAIL PROTECTED] echo $? > 2 > [EMAIL PROTECTED] > > where http://nagios.rl.ac.uk/nagios is the Nagios front end, host > is the > host that runs the service nscd. > > Thanks in advance. Is there any reason you wouldn't want to just run it from ssh? Eg: /usr/bin/ssh your.nagios.host /usr/lib/nagios/plugins/ check_nagios_service -H $1 --host=server --service=nscd >/dev/null -- Kurt Yoder ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list [email protected] 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
