Script to prove service status in Nagios
Brian A. Seklecki
lavalamp at spiritual-machines.org
Thu Dec 13 19:26:01 CET 2007
On Thu, 2007-12-13 at 17:21 +0000, Miah, W (Wadud) wrote:
> Is there a script that I can use to probe Nagios to determine the state
> of a service/host?
>
There are probably some libraries out there that you can use to query
/var/spool/nagios/status.dat
Based on a substring search parameter or what not. If not, easy to
write one. Its not quiet an RDBMS back-end.
~BAS
> 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
> Nagios-users at 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
>
>
>
>
>
-------------------------------------------------------------------------
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
Nagios-users at 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
More information about the Users
mailing list