programmatic access to nagios state
Daniel Wittenberg
daniel.wittenberg.r0ko at statefarm.com
Tue Nov 1 15:18:38 CET 2011
We use the livestatus event broker for that purpose, there is also a JSON web services frontend for livestatus as well.
Dan
-----Original Message-----
From: Richard Clark [mailto:noc at fohnet.co.uk]
Sent: Tuesday, November 01, 2011 3:44 AM
To: Nagios Users List
Subject: Re: [Nagios-users] programmatic access to nagios state
On 1 Nov 2011, at 04:25, Aamer Akhter <aakhter at gmail.com> wrote:
> Hello,
>
> Is there a way to programmatically access the state of specific
> services that nagios is monitoring? I can see how one could do that
> via the web interface but that would mean parsing the html. Is there a
> more straightforward API/interface?
>
> --
> Aamer Akhter / aakhter at gmail.com
>
There's the Nagios::Status perl modules. Apart from that, Icinga now
has a basic JSON API for querying service status etc.
--
Richard Clark
richard at fohnet.co.uk
------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
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
------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
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