Let me try the suggestions and get back to you guys.<br><br><div class="gmail_quote">On Nov 26, 2007 11:20 AM, Giles Coochey <<a href="mailto:gcoochey@sapphire.gi">gcoochey@sapphire.gi</a>> 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 link="blue" vlink="blue" lang="EN-GB">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">If you post in plain text, it's much
easier for me not to top post.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">This is likely something to do with your
socket file.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Check the socket file in ndo2db
configuration file, mine is in:</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">/opt/nagios/var/ndo.sock</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">It is referenced in ndo2db.cfg with this
line:</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">socket_name=/opt/nagios/var/ndo.sock</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">if socket exists, it may have been created
with insufficient permissions, or the directory mask was bad, remove the file,
check permissions and restart ndo.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Giles</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">

<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><span style="font-weight: bold;">On Behalf Of </span></b>Alex Dehaini<br>
<b><span style="font-weight: bold;">Sent:</span></b> 26 November 2007 12:10<div><div></div><div class="Wj3C7c"><br>
<b><span style="font-weight: bold;">To:</span></b>
<a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Nagios-users]
Integrating nagvis</div></div></span></font><span lang="EN-US"></span></p>

</div><div><div></div><div class="Wj3C7c">

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Here is the error I get
from my logs<br>
<br>
<b><span style="font-weight: bold;">Nov 26 11:00:01 development nagios: ndomod:
Still unable to connect to data sink.  0 items lost, 1655 queued items to
flush.<br>
<br>
</span></b>When I browse to the nagvis home page, I get this error. <br>
<br>
<b><span style="font-weight: bold;">Warning</span></b>: mysql_fetch_array():
supplied argument is not a valid MySQL result resource in <b><span style="font-weight: bold;">/usr/local/nagios/share/nagvis/nagvis/includes/classes/class.GlobalBackend-ndomy.php</span></b>
on line <b><span style="font-weight: bold;">58<br>
<br>
nagiosNotRunning: NDOMy: Nagios not running (Backend ndomy_1) <br>
<br>
NDO reports that Nagios is not running<br>
<br>
</span></b>Any clue what is wrong?</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Nov 26, 2007 11:01 AM, Giles Coochey
<<a href="mailto:gcoochey@sapphire.gi" target="_blank">gcoochey@sapphire.gi</a>> wrote: </span></font></p>

<div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br>
> -----Original Message-----<br>
> From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net" target="_blank">nagios-users-bounces@lists.sourceforge.net</a>
[mailto:<a href="mailto:nagios-users-" target="_blank">nagios-users-</a><br>
> <a href="mailto:bounces@lists.sourceforge.net" target="_blank">bounces@lists.sourceforge.net</a>]
On Behalf Of Giorgio Zarrelli <br>
> Sent: 26 November 2007 11:58<br>
> To: <a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a><br>
> Subject: Re: [Nagios-users] Integrating nagvis<br>
><br>
> Hi,<br>
> <br>
> I used:<br>
><br>
> nagios-3.0b6<br>
> nagvis-1.2b2<br>
><br>
> What's the problem with the backend? Which operating system?<br>
></span></font></p>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">I'm using Nagios 2.9, NdoUtils 1.4.7b7 and NagVis 1.1.2<br>
<br>
Not any problems, I just followed the README's and posted minor issues<br>
with descriptions as to the particular problems on the list to resolve<br>
all my problems.</span></font></p>

<div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Microsoft<br>
Defy all challenges. Microsoft(R) Visual Studio 2005.<br>
<a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">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</span></font></p>

</div>

</div>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br clear="all">
<br>
-- <br>
Alex Dehaini<br>
Developer<br>
Site - <a href="http://www.alexdehaini.com" target="_blank">www.alexdehaini.com </a><br>
Email - <a href="mailto:alexdehaini@gmail.com" target="_blank">alexdehaini@gmail.com</a> </span></font></p>

</div></div></div>

</div>

</div>


</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>