Page 1 of 1

nagiosgraph 1.5.1

Posted: Thu Jun 19, 2014 2:32 pm
by gravitas
Hi,
I have installed nagiosgraph 151 and since then majority of the service graphs do not show up.

I tried to run a manual sync /usr/local/nagiosgraph/bin/insert.pl which ran with out any errors.

Can I be pointed in the direction on how I can start to trouble shoot this.

Thanks,

Re: nagiosgraph 1.5.1

Posted: Thu Jun 19, 2014 2:42 pm
by sreinhardt
Nagiosgraph is very specifically built for core, and has the potential to change and cause issues with many of XI's functionality. Is there something specific in nagiosgraph that is missing from XI? As for fixing it, could you provide any and all steps taken to install this on your current system?

Re: nagiosgraph 1.5.1

Posted: Thu Jun 19, 2014 3:03 pm
by gravitas
just curious, is there any way to remove it? I tried to un-comment all the configurations and did not seem to be of any help.

1. ./install.pl
---------------------------------------------------------------------------------------------------
In the Nagios configuration file (nagios.cfg) set:
process_performance_data=1
service_perfdata_file=/var/nagios/perfdata.log
service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$
service_perfdata_file_mode=a
service_perfdata_file_processing_interval=30
service_perfdata_file_processing_command=process-service-perfdata

---------------------------------------------------------------------------------------------------------------------
created:
define command {
command_name process-service-perfdata
command_line /usr/local/nagiosgraph/bin/insert.pl
}

---------------------------------------------------------------------------------------------------------------------

this showed no errors:
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
---------------------------------------------------------------------------------------------------------------------
following instructions:
mkdir /var/narrd
chown nagios /var/rrd
chmod 755 /var/rrd

touch /var/log/nagiosgraph.log
chown nagios /var/log/nagiosgraph.log
chmod 644 /var/log/nagiosgraph.log

touch /var/log/nagiosgraph-cgi.log
chown www /var/log/nagiosgraph-cgi.log
chmod 644 /var/log/nagiosgraph-cgi.log

chown nagios /var/nagios
chmod 755 /var/nagios
---------------------------------------------------------------------------------------------------------------------
restarted everything..

Re: nagiosgraph 1.5.1

Posted: Fri Jun 20, 2014 9:29 am
by slansing
This would be better asked on the nagiosgraph forum as we do not provide official support for it. There is no clear uninstallation path, but if you were to look at the nagiosgraph.conf, and take a look at where the files are defined that it uses, I would start with removing them, as well as the "/etc/nagiosgraph" directory. Just don't remove any files or directories nagios itself requires or uses such as:

Code: Select all

/var/nagios/rrd
/var/nagios/perfdata.log
/nagios/cgi-bin
I found these here:

http://sourceforge.net/p/nagiosgraph/co ... ph/INSTALL

Their forum is here:

http://sourceforge.net/p/nagiosgraph/discussion/