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,
nagiosgraph 1.5.1
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: nagiosgraph 1.5.1
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?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: nagiosgraph 1.5.1
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..
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..
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: nagiosgraph 1.5.1
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:
I found these here:
http://sourceforge.net/p/nagiosgraph/co ... ph/INSTALL
Their forum is here:
http://sourceforge.net/p/nagiosgraph/discussion/
Code: Select all
/var/nagios/rrd
/var/nagios/perfdata.log
/nagios/cgi-binhttp://sourceforge.net/p/nagiosgraph/co ... ph/INSTALL
Their forum is here:
http://sourceforge.net/p/nagiosgraph/discussion/