Page 1 of 3

rrd does not exist

Posted: Wed May 14, 2014 1:38 pm
by ppalaguachi1976
regards
They can help me with this issue, I have this message on my debug

My server nagiosxi not monitor bandwidth

# tail -n 80 /usr/local/nagios/var/perfdata.log

2014-05-14 13:35:31 [11431] [1] Found Performance Data for sw1mvugye / bsw_sw1mvcolevrocafuerte_Gi1_0_1_Bandwidth (in=0Mb/s;800;850 out=0Mb/s;800;850)
2014-05-14 13:35:31 [11431] [2] No Custom Template found for check_xi_service_mrtgtraf (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_mrtgtraf.cfg)
2014-05-14 13:35:31 [11431] [2] Template is check_xi_service_mrtgtraf.php
2014-05-14 13:35:31 [11431] [2] No Custom Template found for check_xi_service_mrtgtraf (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_mrtgtraf.cfg)
2014-05-14 13:35:31 [11431] [2] Template is check_xi_service_mrtgtraf.php
2014-05-14 13:35:31 [11431] [2] data2rrd called
2014-05-14 13:35:31 [11431] [2] RRDs::update /usr/local/nagios/share/perfdata/sw1mvugye/bsw_sw1mvcolevrocafuerte_Gi1_0_1_Bandwidth.rrd 1400092511:0:0

Re: rrd does not exist

Posted: Wed May 14, 2014 3:10 pm
by sreinhardt
How long have you had it monitoring that network device? Between mrtg and nagios checks, it is perfectly normal for it to take upwards of 30 minutes to get statistics into nagios xi. Otherwise, the logs you are showing, look pretty normal.

Re: rrd does not exist

Posted: Thu May 15, 2014 11:55 am
by ppalaguachi1976
the device and have entered several weeks, the graphic when viewed in Performance Graph, which is not showing the value at the time the bandwidth,

the problem I have is that it presents me
OK - Current BW in: 0Kbps Out: 0Kbps

Re: rrd does not exist

Posted: Thu May 15, 2014 11:57 am
by ppalaguachi1976
I have another LOG


[root@nagiosxi-64 ~]# tail /usr/local/nagios/var/npcd.log
[05-15-2014 01:17:13] NPCD: WARN: MAX load reached: load 41.150000/40.000000 at i=0
[05-15-2014 01:20:11] NPCD: WARN: MAX load reached: load 50.520000/40.000000 at i=0
[05-15-2014 01:23:11] NPCD: WARN: MAX load reached: load 47.190000/40.000000 at i=0
[05-15-2014 01:26:10] NPCD: WARN: MAX load reached: load 44.340000/40.000000 at i=0
[05-15-2014 01:29:10] NPCD: WARN: MAX load reached: load 41.730000/40.000000 at i=0
[05-15-2014 01:35:10] NPCD: WARN: MAX load reached: load 41.980000/40.000000 at i=0
[05-15-2014 08:05:09] NPCD: WARN: MAX load reached: load 41.170000/40.000000 at i=0
[05-15-2014 08:08:10] NPCD: WARN: MAX load reached: load 40.250000/40.000000 at i=0
[05-15-2014 08:14:09] NPCD: WARN: MAX load reached: load 40.800000/40.000000 at i=0
[05-15-2014 08:23:08] NPCD: WARN: MAX load reached: load 41.850000/40.000000 at i=0
[root@nagiosxi-64 ~]#

Re: rrd does not exist

Posted: Thu May 15, 2014 4:03 pm
by slansing
Well, it looks like you may not be processing performance data right now because of that load. Looks like you also raised the load up to 40, do you now what is causing your high load on the system? Once that max number is hit NPCD will no longer process data until it drops down below that.

Re: rrd does not exist

Posted: Thu May 15, 2014 5:30 pm
by ppalaguachi1976
This process is consume more percentage load.

mysql 1467 3.4 0.9 1184336 59104 ? Sl May13 86:02 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock



What I can do to lessen the load?

Re: rrd does not exist

Posted: Thu May 15, 2014 5:33 pm
by abrist
That would be the database. Though your load numbers currently under 10. It looks like load may occasionally spike on your system. Did you do anything cpu intensive to the system around 1:20am and 8:20am?

Re: rrd does not exist

Posted: Thu May 15, 2014 6:38 pm
by ppalaguachi1976
rrdcache active according to the PDF

Using_rrdcached_with_Nagios_XI

Re: rrd does not exist

Posted: Thu May 15, 2014 7:06 pm
by ppalaguachi1976
Currently the logs are

[root@nagiosxi-64 ~]# tail /usr/local/nagios/var/npcd.log
[05-15-2014 16:20:29] NPCD: WARN: MAX load reached: load 48.570000/40.000000 at i=1
[05-15-2014 16:23:21] NPCD: WARN: MAX load reached: load 40.740000/40.000000 at i=0
[05-15-2014 16:25:56] NPCD: WARN: MAX load reached: load 42.030000/40.000000 at i=0
[05-15-2014 16:26:11] NPCD: WARN: MAX load reached: load 41.310000/40.000000 at i=1
[05-15-2014 16:29:06] NPCD: WARN: MAX load reached: load 46.340000/40.000000 at i=0
[05-15-2014 16:29:21] NPCD: WARN: MAX load reached: load 46.730000/40.000000 at i=1
[05-15-2014 16:31:56] NPCD: WARN: MAX load reached: load 40.990000/40.000000 at i=0
[05-15-2014 16:38:17] NPCD: WARN: MAX load reached: load 40.570000/40.000000 at i=0
[05-15-2014 17:08:08] NPCD: WARN: MAX load reached: load 40.950000/40.000000 at i=0
[05-15-2014 17:08:23] NPCD: WARN: MAX load reached: load 40.040000/40.000000 at i=1

Re: rrd does not exist

Posted: Fri May 16, 2014 11:42 am
by slansing
Are you able to answer Abrist's questions? The key to determining why your load is spiking at these times is to figure out what is causing it. Also, what is the output of:

Code: Select all

ll /usr/local/nagios/var/spool/xidpe/ | wc -l

ll /usr/local/nagios/var/spool/perfdata/ | wc -l

ll /usr/local/nagios/var/spool/checkresults/ | wc -l