Integrating nagvis

Chris Moody cmoody at qualcomm.com
Tue Nov 27 00:52:40 CET 2007


Also be sure to verify that your dbprefix is set correctly in the 
etc/config.php.ini file for nagvis.

This is easily overlooked.

Cheers,
-Chris

Alex Dehaini wrote:
> Let me try the suggestions and get back to you guys.
> 
> On Nov 26, 2007 11:20 AM, Giles Coochey <gcoochey at sapphire.gi 
> <mailto:gcoochey at sapphire.gi>> wrote:
> 
>     If you post in plain text, it's much easier for me not to top post.
> 
>      
> 
>     This is likely something to do with your socket file.
> 
>      
> 
>     Check the socket file in ndo2db configuration file, mine is in:
> 
>      
> 
>     /opt/nagios/var/ndo.sock
> 
>      
> 
>     It is referenced in ndo2db.cfg with this line:
> 
>      
> 
>     socket_name=/opt/nagios/var/ndo.sock
> 
>      
> 
>     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.
> 
>      
> 
>     Thanks
> 
>      
> 
>     Giles
> 
>      
> 
>     ------------------------------------------------------------------------
> 
>     *From:* nagios-users-bounces at lists.sourceforge.net
>     <mailto:nagios-users-bounces at lists.sourceforge.net>
>     [mailto:nagios-users-bounces at lists.sourceforge.net
>     <mailto:nagios-users-bounces at lists.sourceforge.net>] *On Behalf Of
>     *Alex Dehaini
>     *Sent:* 26 November 2007 12:10
> 
>     *To:* nagios-users at lists.sourceforge.net
>     <mailto:nagios-users at lists.sourceforge.net>
>     *Subject:* Re: [Nagios-users] Integrating nagvis
> 
>      
> 
>     Here is the error I get from my logs
> 
>     *Nov 26 11:00:01 development nagios: ndomod: Still unable to connect
>     to data sink.  0 items lost, 1655 queued items to flush.
> 
>     *When I browse to the nagvis home page, I get this error.
> 
>     *Warning*: mysql_fetch_array(): supplied argument is not a valid
>     MySQL result resource in
>     */usr/local/nagios/share/nagvis/nagvis/includes/classes/class.GlobalBackend-ndomy.php*
>     on line *58
> 
>     nagiosNotRunning: NDOMy: Nagios not running (Backend ndomy_1)
> 
>     NDO reports that Nagios is not running
> 
>     *Any clue what is wrong?
> 
>     On Nov 26, 2007 11:01 AM, Giles Coochey <gcoochey at sapphire.gi
>     <mailto:gcoochey at sapphire.gi>> wrote:
> 
> 
> 
>     >  -----Original Message-----
>     >  From: nagios-users-bounces at lists.sourceforge.net
>     <mailto:nagios-users-bounces at lists.sourceforge.net>
>     [mailto:nagios-users- <mailto:nagios-users->
>     >  bounces at lists.sourceforge.net
>     <mailto:bounces at lists.sourceforge.net>] On Behalf Of Giorgio Zarrelli
>     >  Sent: 26 November 2007 11:58
>     >  To: nagios-users at lists.sourceforge.net
>     <mailto:nagios-users at lists.sourceforge.net>
>     >  Subject: Re: [Nagios-users] Integrating nagvis
>     >
>     >  Hi,
>     >
>     >  I used:
>     >
>     >  nagios-3.0b6
>     >  nagvis-1.2b2
>     >
>     >  What's the problem with the backend? Which operating system?
>     >
> 
>     I'm using Nagios 2.9, NdoUtils 1.4.7b7 and NagVis 1.1.2
> 
>     Not any problems, I just followed the README's and posted minor issues
>     with descriptions as to the particular problems on the list to resolve
>     all my problems.
> 
> 
>     -------------------------------------------------------------------------
>     This SF.net email is sponsored by: Microsoft
>     Defy all challenges. Microsoft(R) Visual Studio 2005.
>     http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>     _______________________________________________
>     Nagios-users mailing list
>     Nagios-users at lists.sourceforge.net
>     <mailto: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
> 
> 
> 
> 
>     -- 
>     Alex Dehaini
>     Developer
>     Site - www.alexdehaini.com <http://www.alexdehaini.com>
>     Email - alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>
> 
> 
> 
> 
> -- 
> Alex Dehaini
> Developer
> Site - www.alexdehaini.com <http://www.alexdehaini.com>
> Email - alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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