Website Integration

Subhendu Ghosh sghosh at sghosh.org
Fri Apr 22 22:05:28 CEST 2005


On Fri, 22 Apr 2005, Erek Dyskant wrote:

> Hi All,
> 	We'd like to start having a system status page on our website,
> and I'm wondering if this is something other people here have done?
> 	Ideally, I'd like to write a php script that queries the nagios daemon
> or the cgi and checks which hosts/services are online.  Is there an API
> or other interface available to get this information?  I'd like to just get
> the state of each host/service, and preferably the duration of that state.
> 	Thanks a lot for the help.
>
> Regards,
> Erek Dyskant
>

You can get complete status by looking at status.log.  All entries are 
documented in the FAQ.

-- 
-sg


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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