using nagios in my own website

Paul Weaver paul.weaver at bbc.co.uk
Thu Sep 4 20:18:26 CEST 2008


The host/service status is stored in /usr/local/nagios/var/status.dat
(or wherever you nagios install is). This is a plain text file with the
status of every host and service in it.
 
You can read it yourself however you want, but some languages may have a
module for reading the file -- perl has a "Nagios::StatusLog"  module in
cpan, or often via your distribution (With ubuntu "apt-get install
libnagios-object-perl")
 
You could also, I believe, look at "NDO", which sends nagios data out to
a mysql database. 
--

"09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0"

Paul Weaver    
Systems Development Engineer
News Production Facilities, BBC News
Work:   020 8225 8109
Mobile:   07736 481006
Room 1244, BBC Television Centre,
Wood Lane, London, W12 7RJ

	-----Original Message-----
	From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of
localyee
	Sent: 04 September 2008 19:13
	To: nagios-users
	Subject: [Nagios-users] using nagios in my own website
	
	
	hi,i'm using the nagios to monitor the service,and i just want
to get the data of nagios module,and don't want to using the website of
nagios,how can i display the data in my own website, how can i get the
data with the interface of nagios,can any one give some suggestion.
	   your kind help would be great appreciated.
	 
	2008-09-05 
	
________________________________

	localyee 


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080904/995d478a/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
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