NDO and Nagvis Integration

James Devroy jdevroy at toscaltd.com
Tue Feb 5 22:55:09 CET 2008


Thank you very much for the assistance, but I just realized that I
accidently missed a, apparently, crucial step in the installation. 

I forgot to add the second part of the broker_module command:
broker_module=/usr/local/nagios/bin/ndomod-2x.o
config_file=/usr/local/nagios/etc/ndomod.cfg

Adding it cleared up my database issues and chmod 777 /tmp cleared up my
second issue.   Anyway I appreciate your quick response to my question.

-James

-----Original Message-----
From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] 
Sent: Tuesday, February 05, 2008 3:23 PM
To: James Devroy; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] NDO and Nagvis Integration

If you will give me a day I would be happy to write up a howto for you.


Stephen Valdinger
MIS Helpdesk Coordinator
P: 330.365.3622
C: 740.491.0958


-----Original Message-----
From: James Devroy <jdevroy at toscaltd.com>
To: nagios-users at lists.sourceforge.net
<nagios-users at lists.sourceforge.net>
Sent: Tue Feb 05 16:19:51 2008
Subject: [Nagios-users] NDO and Nagvis Integration

Hello,

 

I am having an issue integrating NDO and Nagvis into my Nagios
installation.  

 

I get the following error when I try to view a nagvis map:

 


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL
result resource in
/usr/local/nagios/share/nagvis/nagvis/includes/classes/GlobalBackend-ndo
my.php on line 58



 

nagiosNotRunning: NDOMy: Nagios not running (Backend ndomy_1)


NDO reports that Nagios is not running

 

After reading this board and the nagvis website apparently this is not
an unusual error; however, I have taken all the steps that have been
suggested previously and still nothing.  Here is a list of all the
pertinent information I can think of.

 

System:

CentOS 4.6

MySQL 4.1.20

Nagios 2.9

Nagvis 1.2.2

NDOutils 1.4b7

 

Troubleshooting sofar:

Ensured nagios.cfg file has 

Event_broker_options=-1

Check_external_commands=1

Command_check_interval=10s

Checked ndo2db.cfg and ndomod.cfg for appropriate database settings

Monitoring of /var/log/messages revealed no information in reference to
'ndo' (ie. Cat '/var/log/messages | grep ndo').

 

I am also getting an error on the same page that says:

 

Warning: Unknown: open(/tmp/sess_7ebd84ff779d34acebacc2ad3ad9416a,
O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify
that the current setting of session.save_path is correct () in Unknown
on line 0

 

I am not sure what exactly this is saying because it does not reference
a file that I can see, but I have double checked the directory and file
permissions in /usr/local/nagios/share/nagvis and everything seems to be
set appropriately.

 

I would appreciate any available assistance with this matter, and I look
forward to getting nagvis up and running.

 

-James

 

 



This email was Anti Virus checked by Astaro Security Gateway.
http://www.astaro.com


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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