Page 3 of 4
Re: Capacity Planning
Posted: Wed Feb 11, 2015 3:52 pm
by abrist
Check the npcd and perfdata logs for new errors.
The json error is due to the existence of NaNs due to to the lack of perfdata in the rrds.
Re: Capacity Planning
Posted: Wed Feb 11, 2015 5:17 pm
by mkosmoski
tmcdonald wrote:mkosmoski wrote:How about my issue?

Can you run the same commands we asked of jkinning and post the results here?
My performance graphs are being produced as far as I can tell.
Code: Select all
[root@htmon01 ~]# ll -d /usr/local/nagios/share/perfdata/
ll /usr/local/nagios/share/perfdata/arghoudc2
drwxrwxr-x. 41 nagios nagios 4096 Feb 4 14:55 /usr/local/nagios/share/perfdata/
[root@htmon01 ~]# ll -d /usr/local/nagios/share/perfdata/arghoudc2
service npcd status
ls /usr/local/nagios/var/spool/xidpe | wc -l
ls /usr/local/nagios/var/spool/perfdata | wc -l
drwxrwxr-x. 2 nagios nagios 4096 Feb 11 22:13 /usr/local/nagios/share/perfdata/arghoudc2
[root@htmon01 ~]# ll /usr/local/nagios/share/perfdata/arghoudc2
total 7544
-rwxrwxr-x. 1 nagios nagios 384952 Feb 11 22:11 Application_Log_Warnings.rrd
-rw-rw-r-- 1 nagios nagios 2393 Feb 11 22:11 Application_Log_Warnings.xml
-rwxrwxr-x. 1 nagios nagios 384952 Feb 11 22:12 CPU_Usage.rrd
-rw-rw-r-- 1 nagios nagios 2271 Feb 11 22:12 CPU_Usage.xml
-rwxrwxr-x. 1 nagios nagios 768224 Feb 11 22:13 Drive_C__Disk_Usage.rrd
-rw-rw-r-- 1 nagios nagios 3034 Feb 11 22:13 Drive_C__Disk_Usage.xml
-rwxrwxr-x. 1 nagios nagios 1534768 Feb 11 22:13 _HOST_.rrd
-rw-rw-r-- 1 nagios nagios 3982 Feb 11 22:13 _HOST_.xml
-rwxrwxr-x. 1 nagios nagios 768224 Feb 11 22:12 Memory_Usage.rrd
-rw-rw-r-- 1 nagios nagios 3114 Feb 11 22:12 Memory_Usage.xml
-rwxrwxr-x. 1 nagios nagios 1918040 Feb 11 22:11 Page_File_Usage.rrd
-rw-rw-r-- 1 nagios nagios 5153 Feb 11 22:11 Page_File_Usage.xml
-rwxrwxr-x. 1 nagios nagios 1534768 Feb 11 22:13 Ping.rrd
-rw-rw-r-- 1 nagios nagios 4095 Feb 11 22:13 Ping.xml
-rwxrwxr-x. 1 nagios nagios 384952 Feb 11 22:13 System_Log_Critical_Errors.rrd
-rw-rw-r-- 1 nagios nagios 2388 Feb 11 22:13 System_Log_Critical_Errors.xml
[root@htmon01 ~]# service npcd status
NPCD running (pid 2741).
[root@htmon01 ~]# ls /usr/local/nagios/var/spool/xidpe | wc -l
0
[root@htmon01 ~]# ls /usr/local/nagios/var/spool/perfdata | wc -l
0
[root@htmon01 ~]# ls /usr/local/nagios/var/spool/checkresults | wc -l
0
[root@htmon01 ~]# tail -50 /usr/local/nagios/var/npcd.log
[12-30-2014 21:55:28] NPCD: npcd Daemon (0.4.14) started with PID=61311
[12-30-2014 21:55:28] NPCD: Please have a look at 'npcd -V' to get license information
[12-30-2014 21:55:28] NPCD: HINT: load_threshold is enabled - ('10.000000')
[01-08-2015 18:08:56] NPCD: npcd Daemon (0.4.14) started with PID=2786
[01-08-2015 18:08:56] NPCD: Please have a look at 'npcd -V' to get license information
[01-08-2015 18:08:56] NPCD: HINT: load_threshold is enabled - ('10.000000')
[01-08-2015 18:19:08] NPCD: Caught Termination Signal - Hasta la vista... baby
[01-08-2015 18:21:55] NPCD: npcd Daemon (0.4.14) started with PID=2741
[01-08-2015 18:21:55] NPCD: Please have a look at 'npcd -V' to get license information
[01-08-2015 18:21:55] NPCD: HINT: load_threshold is enabled - ('10.000000')
[root@htmon01 ~]# tail -50 /usr/local/nagios/var/perfdata.log
tail: cannot open ‘/usr/local/nagios/var/perfdata.log’ for reading: No such file or directory
[root@htmon01 ~]# ls /usr/local/nagios/var/
archives nagios.lock ndomod.tmp objects.cache rw stats
host-perfdata nagios.log ndo.sock objects.precache service-perfdata status.dat
nagios.configtest ndo2db.lock npcd.log retention.dat spool
And load is low:
Code: Select all
[root@htmon01 ~]# uptime
22:17:05 up 34 days, 3:55, 6 users, load average: 0.84, 0.77, 0.78
Re: Capacity Planning
Posted: Thu Feb 12, 2015 12:28 pm
by abrist
Alright, if the rrds are getting updated once again, the issue is most likely with display. Lets check the apache error logs. Run the following tail, try to browse to capacity planning, wait a few minutes, and then kill the tail and post the apache.txt file:
Code: Select all
tail -f /var/log/httpd/error_log > /tmp/apache.txt
Browse to Capacity planning.
Wait a few minutes.
Kill the tail with crtl-c.
Post the file:
Re: Capacity Planning
Posted: Thu Feb 12, 2015 4:05 pm
by mkosmoski
The only errors I got are related to entries not in MIBs completely unrelated to this.
Re: Capacity Planning
Posted: Thu Feb 12, 2015 4:08 pm
by mkosmoski
Well, before I forget, I did change this site to SSL only recently, so that log is less than useful here... but in the ssl error logs, I'm only seeing errors related to CCM work from earlier in the day.
Re: Capacity Planning
Posted: Thu Feb 12, 2015 5:53 pm
by lmiltchev
Well, before I forget, I did change this site to SSL only recently, so that log is less than useful here...
Did you have the same issue prior to switching to SSL? Just want to eliminate this as a factor.
Re: Capacity Planning
Posted: Fri Feb 13, 2015 11:18 am
by mkosmoski
lmiltchev wrote:Did you have the same issue prior to switching to SSL? Just want to eliminate this as a factor.
Issue has existed since fresh install. It wasn't working then, either.
Re: Capacity Planning
Posted: Fri Feb 13, 2015 11:44 am
by scottwilkerson
If you go to the Capacity Planning report, are ALL of the items blank with errors or just some?
Re: Capacity Planning
Posted: Fri Feb 13, 2015 12:19 pm
by mkosmoski
scottwilkerson wrote:If you go to the Capacity Planning report, are ALL of the items blank with errors or just some?
Every one.
Re: Capacity Planning
Posted: Fri Feb 13, 2015 3:18 pm
by lmiltchev
mkosmoski, is opening an email support ticket an option for you? We may need to schedule a remote session to further troubleshoot this and possibly get a developer involved. Please, send us an email at
[email protected] to open a new ticket.