query a nagios server
Andreas Ericsson
ae at op5.se
Thu Oct 12 11:44:07 CEST 2006
John Longland wrote:
> Hi all !!!
>
> Just had a thought about a functionality that I would LOVE to add
> to my nagios system. Currently, I can control, from the cell-phones
> of the field-personel, the status of their own notifications. i.e. they
> can activate or deactivate the notifications from nagios to themselves.
>
> I would like to add to those 2 commands, commands such as e.g.
>
> client1
>
> My script must then query the status of "client1" from nagios. It will then
> be sent to the cell-phone issuing the query. The command processing is easy,
> but I haven't a clue at where to start to get any host-info from a nagios
> server
> together with the status of the services linked to that host.
>
> Am I dreaming to much here !!!!! ?????? ;-)
>
No, but quite possibly overpunctuating.
> Any pointers ?
>
The info you're looking for can be found in the status.dat-file I think.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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