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.

------------
Wadud Miah
Scientific Computing Systems Support
High Performance Computing Services Group, e-Science, RAL
01235 446 794
------------


-------------------------------------------------------------------------
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

Reply via email to