<div dir="ltr">ndoutil is buggy, wouldn't recommend it<br><br><div class="gmail_quote">On Thu, Sep 4, 2008 at 6:18 PM, Paul Weaver <span dir="ltr"><<a href="mailto:paul.weaver@bbc.co.uk">paul.weaver@bbc.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="margin: 10px; font-size: 10pt; font-family: verdana;">
<div><span><font face="verdana">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.</font></span></div>
<div><span></span> </div>
<div><span><font face="verdana">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")</font></span></div>
<div><span><font face="verdana"></font></span> </div>
<div><span></span><span><font face="verdana">You could also, I believe, look at "NDO", which sends nagios data
out to a mysql database. </font></span></div>
<div><span lang="en-gb"><b><font face="Arial">--</font></b></span><span lang="en-gb"></span></div>
<p dir="ltr"><span lang="en-gb"><i><font face="Times New Roman">"09 F9 11 02 9D 74
E3 5B D8 41 56 C5 63 56 88 C0"</font></i></span><span lang="en-gb"><i><br></i><b></b></span><span lang="en-gb"><b><br><font face="Arial">Paul Weaver </font></b></span><span lang="en-gb"><b><br></b></span><span lang="en-gb"><font face="Arial">Systems
Development Engineer</font></span><span lang="en-gb"><br></span><span lang="en-gb"><font face="Arial">News Production Facilities,</font></span><span lang="en-gb"><b><font face="Arial"></font></b></span><span lang="en-gb"><b></b></span><span lang="en-gb"><b> <font face="Arial">BBC
News</font></b></span><span lang="en-gb"><br><b></b></span><span lang="en-gb"><b><font face="Arial">Work: </font></b></span><span lang="en-gb"></span><span lang="en-gb"> <font face="Arial">020 822</font></span><span lang="en-gb"><b></b></span><span lang="en-gb"><b><font face="Arial">5 8109<br>
<b></b></font></b></span><span lang="en-gb"><b><font face="Arial">Mobile: </font></b></span><span lang="en-gb"></span><span lang="en-gb"> <font face="Arial">07736 481006</font></span><span lang="en-gb"><b></b></span><span lang="en-gb"><b><font face="Arial"><br>
Room
1244, BBC Television Centre,</font></b></span><span lang="en-gb"><br></span><span lang="en-gb"><font face="Arial">Wood Lane, London, W12
7RJ</font></span><span lang="en-gb"></span></p><div><div></div><div class="Wj3C7c">
<p dir="ltr"><span lang="en-gb"><i></i></span></p>
<blockquote dir="ltr" style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div></div>
<div dir="ltr" align="left" lang="en-us"><font face="Tahoma">-----Original Message-----<br><b>From:</b>
<a href="mailto:nagios-users-bounces@lists.sourceforge.net" target="_blank">nagios-users-bounces@lists.sourceforge.net</a>
[mailto:<a href="mailto:nagios-users-bounces@lists.sourceforge.net" target="_blank">nagios-users-bounces@lists.sourceforge.net</a>] <b>On Behalf Of
</b>localyee<br><b>Sent:</b> 04 September 2008 19:13<br><b>To:</b>
nagios-users<br><b>Subject:</b> [Nagios-users] using nagios in my own
website<br><br></font></div>
<div><font face="Verdana">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.</font></div>
<div> your kind help would be great appreciated.</div>
<div> </div>
<div align="left"><font color="#c0c0c0" face="Verdana">2008-09-05 </font></div><font face="Verdana">
<hr style="width: 122px; height: 2px;" align="left" size="2">
<div><font color="#c0c0c0" face="Verdana"><span>localyee</span>
</font></div></font></blockquote><br></div></div><font face="Times New Roman" size="3"><a href="http://www.bbc.co.uk" target="_blank">http://www.bbc.co.uk</a><br>This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.<br>
If you have received it in error, please delete it from your system.<br>Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.<br>Please note that the BBC monitors e-mails sent or received.<br>
Further communication will signify your consent to this.</font></div>
<br>-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>
Build the coolest Linux based applications with Moblin SDK & win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br><br clear="all"><br>-- <br>Alex Dehaini<br>Developer<br>Site - <a href="http://www.alexdehaini.com">www.alexdehaini.com</a><br>
Email - <a href="mailto:alexdehaini@gmail.com">alexdehaini@gmail.com</a><br>
</div>