Highcharts work, mrtg graphs don't
Posted: Tue Apr 28, 2015 12:25 pm
Hello,
I have a fresh install of NagiosXI 2014R2.6 on CentOS6.6.
We have lots of passive service checks that need to use the MRTG style graphs. I can see RRD data moving through, but for some reason the old style MRTG graphs don't work while the Highchart style graphs do.
Based on other posts with similar issues, I have culled the following information in the hopes it may help to discover the issue.
[root@nagios-48c ~]# ls /usr/local/nagios/var/spool/perfdata | wc -l
3
[root@nagios-48c ~]# ls /usr/local/nagios/var/spool/checkresults | wc -l
1890
[root@nagios-48c ~]# ls /usr/local/nagios/var/spool/checkresults | wc -l
466
[root@nagios-48c ~]# ps -ef | grep [p]erfdataproc
nagios 38724 38710 0 10:04 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1
nagios 38728 38724 0 10:04 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php
[root@nagios-48c ~]# service npcd status
NPCD running (pid 33091).
[root@nagios-48c ~]# tail -f /usr/local/nagiosxi/var/perfdataproc.log
Outbound data DISABLED Tue, 28 Apr 2015 10:10:01 -0700
mv: cannot stat `/usr/local/nagios/var/spool/xidpe/*': No such file or directory
[root@nagios-48c ~]# tail -10 /usr/local/nagios/var/npcd.log
[04-28-2015 10:11:37] NPCD: File '1429917558.perfdata.service-PID-28488' is an already in process PNP file. Leaving it untouched.
[04-28-2015 10:11:37] NPCD: Processing file '1430241083.perfdata.host'
[04-28-2015 10:11:37] NPCD: Processing file '1430241083.perfdata.service'
[04-28-2015 10:11:38] NPCD: No more files to process... waiting for 15 seconds
[04-28-2015 10:11:53] NPCD: File '1429733668.perfdata.service-PID-10551' is an already in process PNP file. Leaving it untouched.
[04-28-2015 10:11:53] NPCD: File '1429917468.perfdata.service-PID-27712' is an already in process PNP file. Leaving it untouched.
[04-28-2015 10:11:53] NPCD: File '1429917558.perfdata.service-PID-28488' is an already in process PNP file. Leaving it untouched.
[04-28-2015 10:11:53] NPCD: Processing file '1430241098.perfdata.host'
[04-28-2015 10:11:53] NPCD: Processing file '1430241098.perfdata.service'
[04-28-2015 10:11:53] NPCD: No more files to process... waiting for 15 seconds
When graphing is set to use Highcharts:
[root@nagios-48c ~]# tail -f /var/log/httpd/error_log
[Tue Apr 28 10:01:35 2015] [error] [client 75.147.136.62] PHP Notice: Undefined variable: debug in /usr/local/nagiosxi/html/includes/configwizards/passiveobject/passiveobject.inc.php on line 296, referer: http://nagios.audiblemagic.com/nagiosxi ... wizard.php
[Tue Apr 28 10:01:35 2015] [error] [client 75.147.136.62] PHP Notice: Undefined variable: debug in /usr/local/nagiosxi/html/includes/configwizards/passiveobject/passiveobject.inc.php on line 376, referer: http://nagios.audiblemagic.com/nagiosxi ... wizard.php
[Tue Apr 28 10:01:35 2015] [error] [client ::1] PHP Warning: The first parameter of bindtextdomain must not be empty in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 763
[Tue Apr 28 10:01:36 2015] [error] [client ::1] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Tue Apr 28 10:01:36 2015] [error] [client ::1] PHP Warning: The first parameter of bindtextdomain must not be empty in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 763
[Tue Apr 28 10:01:36 2015] [error] [client ::1] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Tue Apr 28 10:01:36 2015] [error] [client ::1] PHP Warning: The first parameter of bindtextdomain must not be empty in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 763
[Tue Apr 28 10:01:36 2015] [error] [client ::1] PHP Warning: The first parameter of bindtextdomain must not be empty in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 763
[Tue Apr 28 10:01:37 2015] [error] [client ::1] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Tue Apr 28 10:01:37 2015] [error] [client ::1] PHP Warning: The first parameter of bindtextdomain must not be empty in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 763
When graphing is set to use the old style:
[root@nagios-48c ~]# tail -f /var/log/httpd/error_log
[Tue Apr 28 10:01:37 2015] [error] [client ::1] PHP Warning: The first parameter of bindtextdomain must not be empty in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 763
[Tue Apr 28 10:14:59 2015] [error] [client ::1] PHP Notice: Undefined index: ccm_language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Tue Apr 28 10:14:59 2015] [error] [client ::1] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
ERROR: the RRD does not contain an RRA matching the chosen CF
ERROR: the RRD does not contain an RRA matching the chosen CF
ERROR: the RRD does not contain an RRA matching the chosen CF
ERROR: the RRD does not contain an RRA matching the chosen CF
ERROR: the RRD does not contain an RRA matching the chosen CF
ERROR: the RRD does not contain an RRA matching the chosen CF
ERROR: the RRD does not contain an RRA matching the chosen CF
I'm stumped at this point as I have no reference of what is actually broken. I did take the perfdata from an existing install and copy into the new install's perfdata directory, as well as import template, hosts, hostgroups, service, and servicgroup config files.
The purpose of this quasi migration is to upgrade the server hardware and to fix an issue where the Unconfigured Objects wizard added duplicate service checks. Everything seems to be working fine with the exception of the old style graphing.
Any help is greatly appreciated.
-Jason
I have a fresh install of NagiosXI 2014R2.6 on CentOS6.6.
We have lots of passive service checks that need to use the MRTG style graphs. I can see RRD data moving through, but for some reason the old style MRTG graphs don't work while the Highchart style graphs do.
Based on other posts with similar issues, I have culled the following information in the hopes it may help to discover the issue.
[root@nagios-48c ~]# ls /usr/local/nagios/var/spool/perfdata | wc -l
3
[root@nagios-48c ~]# ls /usr/local/nagios/var/spool/checkresults | wc -l
1890
[root@nagios-48c ~]# ls /usr/local/nagios/var/spool/checkresults | wc -l
466
[root@nagios-48c ~]# ps -ef | grep [p]erfdataproc
nagios 38724 38710 0 10:04 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1
nagios 38728 38724 0 10:04 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php
[root@nagios-48c ~]# service npcd status
NPCD running (pid 33091).
[root@nagios-48c ~]# tail -f /usr/local/nagiosxi/var/perfdataproc.log
Outbound data DISABLED Tue, 28 Apr 2015 10:10:01 -0700
mv: cannot stat `/usr/local/nagios/var/spool/xidpe/*': No such file or directory
[root@nagios-48c ~]# tail -10 /usr/local/nagios/var/npcd.log
[04-28-2015 10:11:37] NPCD: File '1429917558.perfdata.service-PID-28488' is an already in process PNP file. Leaving it untouched.
[04-28-2015 10:11:37] NPCD: Processing file '1430241083.perfdata.host'
[04-28-2015 10:11:37] NPCD: Processing file '1430241083.perfdata.service'
[04-28-2015 10:11:38] NPCD: No more files to process... waiting for 15 seconds
[04-28-2015 10:11:53] NPCD: File '1429733668.perfdata.service-PID-10551' is an already in process PNP file. Leaving it untouched.
[04-28-2015 10:11:53] NPCD: File '1429917468.perfdata.service-PID-27712' is an already in process PNP file. Leaving it untouched.
[04-28-2015 10:11:53] NPCD: File '1429917558.perfdata.service-PID-28488' is an already in process PNP file. Leaving it untouched.
[04-28-2015 10:11:53] NPCD: Processing file '1430241098.perfdata.host'
[04-28-2015 10:11:53] NPCD: Processing file '1430241098.perfdata.service'
[04-28-2015 10:11:53] NPCD: No more files to process... waiting for 15 seconds
When graphing is set to use Highcharts:
[root@nagios-48c ~]# tail -f /var/log/httpd/error_log
[Tue Apr 28 10:01:35 2015] [error] [client 75.147.136.62] PHP Notice: Undefined variable: debug in /usr/local/nagiosxi/html/includes/configwizards/passiveobject/passiveobject.inc.php on line 296, referer: http://nagios.audiblemagic.com/nagiosxi ... wizard.php
[Tue Apr 28 10:01:35 2015] [error] [client 75.147.136.62] PHP Notice: Undefined variable: debug in /usr/local/nagiosxi/html/includes/configwizards/passiveobject/passiveobject.inc.php on line 376, referer: http://nagios.audiblemagic.com/nagiosxi ... wizard.php
[Tue Apr 28 10:01:35 2015] [error] [client ::1] PHP Warning: The first parameter of bindtextdomain must not be empty in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 763
[Tue Apr 28 10:01:36 2015] [error] [client ::1] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Tue Apr 28 10:01:36 2015] [error] [client ::1] PHP Warning: The first parameter of bindtextdomain must not be empty in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 763
[Tue Apr 28 10:01:36 2015] [error] [client ::1] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Tue Apr 28 10:01:36 2015] [error] [client ::1] PHP Warning: The first parameter of bindtextdomain must not be empty in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 763
[Tue Apr 28 10:01:36 2015] [error] [client ::1] PHP Warning: The first parameter of bindtextdomain must not be empty in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 763
[Tue Apr 28 10:01:37 2015] [error] [client ::1] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Tue Apr 28 10:01:37 2015] [error] [client ::1] PHP Warning: The first parameter of bindtextdomain must not be empty in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 763
When graphing is set to use the old style:
[root@nagios-48c ~]# tail -f /var/log/httpd/error_log
[Tue Apr 28 10:01:37 2015] [error] [client ::1] PHP Warning: The first parameter of bindtextdomain must not be empty in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 763
[Tue Apr 28 10:14:59 2015] [error] [client ::1] PHP Notice: Undefined index: ccm_language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
[Tue Apr 28 10:14:59 2015] [error] [client ::1] PHP Notice: Undefined index: language in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 710
ERROR: the RRD does not contain an RRA matching the chosen CF
ERROR: the RRD does not contain an RRA matching the chosen CF
ERROR: the RRD does not contain an RRA matching the chosen CF
ERROR: the RRD does not contain an RRA matching the chosen CF
ERROR: the RRD does not contain an RRA matching the chosen CF
ERROR: the RRD does not contain an RRA matching the chosen CF
ERROR: the RRD does not contain an RRA matching the chosen CF
I'm stumped at this point as I have no reference of what is actually broken. I did take the perfdata from an existing install and copy into the new install's perfdata directory, as well as import template, hosts, hostgroups, service, and servicgroup config files.
The purpose of this quasi migration is to upgrade the server hardware and to fix an issue where the Unconfigured Objects wizard added duplicate service checks. Everything seems to be working fine with the exception of the old style graphing.
Any help is greatly appreciated.
-Jason