Page 1 of 1

Getting no graphs

Posted: Thu Feb 07, 2013 3:44 pm
by David.adder
Hi,

Since yesterday, I'm not getting data in any graphs in the nagios web. I noticed this when I installed the tools to get netflow data in the Nagios Server.

To install this, I ran: "yum install rrdtool rrdtool-devel rrdutils perl-rrdtool -y" and from that moment I don't get graphs in Nagios

I don't know if this could affect the nagios graphs by any way.

[root@SRVBOXASDC1009 ~]# service npcd status
NPCD running (pid 2130).
[root@SRVBOXASDC1009 ~]# tail /usr/local/nagios/var/perfdata.log
2013-02-07 11:07:38 [12213] [0] *** TIMEOUT: Please check your npcd.cfg
2013-02-07 11:07:38 [12213] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//service-perfdata.1360231622-PID-12213 deleted
2013-02-07 11:07:38 [12213] [0] *** Timeout while processing Host: "SRVQUARRDDC1001" Service: "Ping"
2013-02-07 11:07:38 [12213] [0] *** process_perfdata.pl terminated on signal ALRM
2013-02-07 11:07:38 [12211] [0] *** TIMEOUT: Timeout after 15 secs. ***
2013-02-07 11:07:38 [12211] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2013-02-07 11:07:38 [12211] [0] *** TIMEOUT: Please check your npcd.cfg
2013-02-07 11:07:38 [12211] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//service-perfdata.1360231637-PID-12211 deleted
2013-02-07 11:07:38 [12211] [0] *** Timeout while processing Host: "AMPEREBCM" Service: "my_c_drive"
2013-02-07 11:07:38 [12211] [0] *** process_perfdata.pl terminated on signal ALRM

ll /usr/local/nagios/share/perfdata
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:28 ROCLAI8154
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:28 ROCLAI8154_EXTERNAL
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:30 ROCLAI8155
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:32 ROCLAI8155_EXTERNAL
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:29 ROCLAI8156
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:27 ROCLAI8156_EXTERNAL
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:32 ROCLAI8157
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:32 ROCLAI8157_EXTERNAL
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:29 ROCLAI8159
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:27 ROCLAI8159_EXTERNAL
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:27 ROCLAI8161
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:29 ROCLAI8161_EXTERNAL
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:27 ROCLAI8162
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:29 ROCLAI8163
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:28 ROCLAI8163_EXTERNAL
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:32 ROCLAI8164
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:33 ROCLAI8164_EXTERNAL
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:29 ROCLAI8167
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:28 ROCLAI8167_EXTERNAL
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:32 ROCLAI8168
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:32 ROCLAI8168_EXTERNAL
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:29 ROCLAI8169
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:28 ROCLAI8169_EXTERNAL
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:32 ROCLAI8170
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:30 ROCLAI8170_EXTERNAL
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:28 ROCLAI8173
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:32 ROCLAI8173_EXTERNAL
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:28 ROCLAI8174
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:30 ROCLAI8174_External
drwxrwxr-x 2 nagios nagios 4096 feb 7 21:30 ROCLAI8175


PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4574 nagios 20 0 98.4m 10m 992 S 7.7 0.3 47:24.02 nagios
16873 root 20 0 15216 1224 812 R 3.8 0.0 0:00.03 top
1421 root 20 0 9200 560 408 S 1.9 0.0 0:06.28 irqbalance
1920 postgres 20 0 173m 1248 412 S 1.9 0.0 0:10.69 postmaster
1 root 20 0 19404 1488 1176 S 0.0 0.0 0:01.94 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root RT 0 0 0 0 S 0.0 0.0 0:04.04 migration/0
4 root 20 0 0 0 0 S 0.0 0.0 0:00.08 ksoftirqd/0
5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
7 root RT 0 0 0 0 S 0.0 0.0 0:05.07 migration/1
8 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/1
9 root 20 0 0 0 0 S 0.0 0.0 0:00.07 ksoftirqd/1
10 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/1
11 root RT 0 0 0 0 S 0.0 0.0 0:04.30 migration/2

You can see a couple of example, but this happend in all service/host:
Captura1.JPG
Captura.JPG

Re: Getting no graphs

Posted: Thu Feb 07, 2013 5:04 pm
by lmiltchev
What is the load on your Nagios XI server?

Please, run the following commands and show us the output:

Code: Select all

ll /usr/local/nagios/share/perfdata
df -h
df -i

Re: Getting no graphs

Posted: Thu Feb 07, 2013 5:29 pm
by David.adder
Hi Lmiltchev,

df -i
S.ficheros Inodes IUsed IFree IUse% Montado en
/dev/mapper/vg_srvboxasdc1009-lv_root
12844496 202870 12641626 2% /
tmpfs 490615 1 490614 1% /dev/shm
/dev/sda1 128016 40 127976 1% /boot
/dev/mapper/vg_srvboxasdc1009-lv_home
2342912 20 2342892 1% /home

df -h
S.ficheros Size Used Avail Use% Montado en
/dev/mapper/vg_srvboxasdc1009-lv_root
194G 47G 137G 26% /
tmpfs 1,9G 0 1,9G 0% /dev/shm
/dev/sda1 485M 51M 409M 12% /boot
/dev/mapper/vg_srvboxasdc1009-lv_home
36G 176M 34G 1% /home
Captura.JPG
Captura1.JPG
Is it normal de data got with the file perfdata.tar.gz?

Re: Getting no graphs

Posted: Thu Feb 07, 2013 5:57 pm
by mguthrie
Are you using rrdcached at all on this system?

Re: Getting no graphs

Posted: Fri Feb 08, 2013 4:49 am
by David.adder
Hi mguthrie,

Actually it was, but I have checked this, and I've installed it again http://assets.nagios.com/downloads/nagi ... ios_XI.pdf

Now the graphs are working.

Do you know how was possible that this were disabled or uninstalled?

Thank you so much!

Re: Getting no graphs

Posted: Fri Feb 08, 2013 10:22 am
by mguthrie
Do you know how was possible that this were disabled or uninstalled?
Hard to say, but I'm guessing the new package installation may have wiped out your rrdcached config. Glad it's working now though!