graph not updating after using ramdisk

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
Mitchell
Posts: 130
Joined: Thu Jan 05, 2012 2:33 am

graph not updating after using ramdisk

Post by Mitchell »

Hi,

After making changes using http://assets.nagios.com/downloads/nagi ... giosXI.pdf the graphs stopped getting updated. I checked the npcd process is running and the logs shows that it is processing perfdata files. Could you please help in resolving the issue. Please let me know what additional information you need.

Thanks
Ashish
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: graph not updating after using ramdisk

Post by mguthrie »

It's important to following the instructions in the exactly as they are outlined that document. I'd start by going back through and reviewing each of the steps, and check for typos, etc.

Can you show us the output from the following:

Code: Select all

ls -a -r /var/nagiosramdisk
User avatar
Mitchell
Posts: 130
Joined: Thu Jan 05, 2012 2:33 am

Re: graph not updating after using ramdisk

Post by Mitchell »

I followed it again completely... here is the command output. I am seeing a lot of files in /var/nagiosramdisk/spool/xidpe/ directory.

Code: Select all

[root@pnagios02lxv ~]# ls -ltr /var/nagiosramdisk/
total 10200
drwxrwxr-x 5 nagios nagios     100 Jun 22 01:37 spool
-rw-r--r-- 1 nagios nagios  769981 Jun 22 01:55 objects.cache
-rw-rw-r-- 1 nagios nagios 8539101 Jun 22 09:39 host-perfdata
-rw-r--r-- 1 nagios nagios 1096937 Jun 22 09:39 status.dat
-rw-rw-r-- 1 nagios nagios    3612 Jun 22 09:39 service-perfdata
drwxrwxr-x 2 nagios nagios      80 Jun 22 09:39 tmp
[root@pnagios02lxv ~]# ls -ltr /var/nagiosramdisk/spool
total 0
drwxrwxr-x 2 nagios nagios    40 Jun 22 01:36 perfdata
drwxrwxr-x 2 nagios nagios    40 Jun 22 09:40 checkresults
drwxrwxr-x 2 nagios nagios 38720 Jun 22 09:40 xidpe
You have new mail in /var/spool/mail/root
[root@pnagios02lxv ~]# ls -ltr /var/nagiosramdisk/spool/perfdata/
total 0
[root@pnagios02lxv ~]# ls -ltr /var/nagiosramdisk/spool/checkresults/
total 28
-rw------- 1 nagios nagios   0 Jun 22 09:41 cejtoi7.ok
-rw------- 1 nagios nagios 478 Jun 22 09:41 cejtoi7
-rw------- 1 nagios nagios   0 Jun 22 09:41 cwJzjT4.ok
-rw------- 1 nagios nagios 478 Jun 22 09:41 cwJzjT4
-rw------- 1 nagios nagios   0 Jun 22 09:41 c4o7DNZ.ok
-rw------- 1 nagios nagios 478 Jun 22 09:41 c4o7DNZ
-rw------- 1 nagios nagios   0 Jun 22 09:41 ccdSiSt.ok
-rw------- 1 nagios nagios 478 Jun 22 09:41 ccdSiSt
-rw------- 1 nagios nagios   0 Jun 22 09:41 cyZFgoS.ok
-rw------- 1 nagios nagios 478 Jun 22 09:41 cyZFgoS
-rw------- 1 nagios nagios   0 Jun 22 09:41 cvDvIJK.ok
-rw------- 1 nagios nagios 478 Jun 22 09:41 cvDvIJK
-rw------- 1 nagios nagios   0 Jun 22 09:41 c3mBEmp.ok
-rw------- 1 nagios nagios 425 Jun 22 09:41 c3mBEmp
[root@pnagios02lxv ~]# ls -ltr /var/nagiosramdisk/tmp/
total 16
-rw------- 1 nagios nagios 287 Jun 22 09:43 checkYKig3H
-rw------- 1 nagios nagios 287 Jun 22 09:43 checkf8814U
-rw------- 1 nagios nagios 287 Jun 22 09:43 check8qTAxa
-rw------- 1 nagios nagios 289 Jun 22 09:43 checkieGe0p
User avatar
Mitchell
Posts: 130
Joined: Thu Jan 05, 2012 2:33 am

Re: graph not updating after using ramdisk

Post by Mitchell »

My current nagios version is R2.0 and looks like I need to upgrade the XI to R2.3 for checkresults changes. Which latest version should I upgrade to since there is some fork issue with latest nagios?

Regards
Ashish
User avatar
Mitchell
Posts: 130
Joined: Thu Jan 05, 2012 2:33 am

Re: graph not updating after using ramdisk

Post by Mitchell »

Thanks for help. After upgrade it started working.