Page 2 of 2
Re: Missing RRD Files
Posted: Thu Jun 18, 2015 4:23 pm
by 00_kl250
That was over an hour ago since i've rebooted. I just rebooted again and nothing changed in the log
Re: Missing RRD Files
Posted: Thu Jun 18, 2015 4:51 pm
by abrist
Are there no more entries? Or are the new entries still having the minimum one second step error?
Re: Missing RRD Files
Posted: Fri Jun 19, 2015 7:37 am
by 00_kl250
nope those are the only entries.
I looked at the log file this morning and nothing new since those entries yesterday.
Re: Missing RRD Files
Posted: Fri Jun 19, 2015 10:48 am
by tgriep
Is the time settings for the server correct?
Are the rrd files being recreated?
Is the npcd daemon running?
Can you run the following and post the output?
Re: Missing RRD Files
Posted: Fri Jun 19, 2015 12:54 pm
by 00_kl250
oot@centreon-test:/tmp# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 10648 828 ? Ss Jun18 0:01 init [2]
root 2 0.0 0.0 0 0 ? S Jun18 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S Jun18 0:00 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S Jun18 0:00 [kworker/u:0]
root 6 0.0 0.0 0 0 ? S Jun18 0:00 [migration/0]
root 7 0.0 0.0 0 0 ? S Jun18 0:00 [watchdog/0]
root 8 0.0 0.0 0 0 ? S Jun18 0:00 [migration/1]
root 10 0.0 0.0 0 0 ? S Jun18 0:00 [ksoftirqd/1]
root 11 0.0 0.0 0 0 ? S Jun18 0:01 [kworker/0:1]
root 12 0.0 0.0 0 0 ? S Jun18 0:00 [watchdog/1]
root 13 0.0 0.0 0 0 ? S< Jun18 0:00 [cpuset]
root 14 0.0 0.0 0 0 ? S< Jun18 0:00 [khelper]
root 15 0.0 0.0 0 0 ? S Jun18 0:00 [kdevtmpfs]
root 16 0.0 0.0 0 0 ? S< Jun18 0:00 [netns]
root 17 0.0 0.0 0 0 ? S Jun18 0:00 [sync_supers]
root 18 0.0 0.0 0 0 ? S Jun18 0:00 [bdi-default]
root 19 0.0 0.0 0 0 ? S< Jun18 0:00 [kintegrityd]
root 20 0.0 0.0 0 0 ? S< Jun18 0:00 [kblockd]
root 21 0.0 0.0 0 0 ? S Jun18 0:00 [khungtaskd]
root 22 0.0 0.0 0 0 ? S Jun18 0:00 [kswapd0]
root 23 0.0 0.0 0 0 ? SN Jun18 0:00 [ksmd]
root 24 0.0 0.0 0 0 ? SN Jun18 0:00 [khugepaged]
root 25 0.0 0.0 0 0 ? S Jun18 0:00 [fsnotify_mark]
root 26 0.0 0.0 0 0 ? S< Jun18 0:00 [crypto]
root 29 0.0 0.0 0 0 ? S Jun18 0:01 [kworker/1:1]
root 102 0.0 0.0 0 0 ? S< Jun18 0:00 [ata_sff]
root 103 0.0 0.0 0 0 ? S Jun18 0:00 [scsi_eh_0]
root 104 0.0 0.0 0 0 ? S Jun18 0:00 [scsi_eh_1]
root 105 0.0 0.0 0 0 ? S Jun18 0:00 [scsi_eh_2]
root 107 0.0 0.0 0 0 ? S Jun18 0:00 [kworker/u:1]
root 116 0.0 0.0 0 0 ? S< Jun18 0:00 [vmw_pvscsi_wq_0]
root 154 0.0 0.0 0 0 ? S Jun18 0:00 [kworker/1:2]
root 160 0.0 0.0 0 0 ? S Jun18 0:04 [kworker/0:2]
root 185 0.0 0.0 0 0 ? S Jun18 0:02 [jbd2/sda1-8]
root 186 0.0 0.0 0 0 ? S< Jun18 0:00 [ext4-dio-unwrit]
root 329 0.0 0.0 21492 1500 ? Ss Jun18 0:00 udevd --daemon
root 425 0.0 0.0 21432 1116 ? S Jun18 0:00 udevd --daemon
root 426 0.0 0.0 21488 1104 ? S Jun18 0:00 udevd --daemon
root 504 0.0 0.0 0 0 ? S< Jun18 0:00 [kpsmoused]
root 515 0.0 0.0 0 0 ? S< Jun18 0:00 [ttm_swap]
www-data 1607 0.1 0.4 164452 9640 ? S 12:42 0:00 /usr/sbin/apache2 -k start
root 1661 0.0 0.0 0 0 ? S Jun18 0:02 [flush-8:0]
root 1808 0.0 0.2 92956 4612 ? S Jun18 1:11 /usr/sbin/vmtoolsd
www-data 1881 0.1 0.5 166060 11356 ? S 12:45 0:00 /usr/sbin/apache2 -k start
www-data 1985 0.1 0.4 164708 9760 ? S 12:47 0:00 /usr/sbin/apache2 -k start
www-data 2033 0.1 0.4 164452 9588 ? S 12:47 0:00 /usr/sbin/apache2 -k start
www-data 2049 0.1 0.5 166060 11352 ? S 12:48 0:00 /usr/sbin/apache2 -k start
root 2096 0.0 0.1 118704 2148 ? Sl Jun18 0:00 /usr/sbin/rsyslogd -c5
root 2134 0.0 0.0 4116 640 ? Ss Jun18 0:00 /usr/sbin/acpid
root 2170 0.0 0.4 162564 9332 ? Ss Jun18 0:04 /usr/sbin/apache2 -k start
www-data 2173 0.1 0.4 164452 9584 ? S 12:49 0:00 /usr/sbin/apache2 -k start
www-data 2200 0.1 0.4 164452 9588 ? S 12:50 0:00 /usr/sbin/apache2 -k start
www-data 2220 0.0 0.4 164348 9440 ? S 12:50 0:00 /usr/sbin/apache2 -k start
www-data 2270 0.0 0.3 162656 6580 ? S 12:50 0:00 /usr/sbin/apache2 -k start
root 2280 0.0 0.0 20408 1068 ? Ss Jun18 0:00 /usr/sbin/cron
www-data 2282 0.0 0.2 162596 5856 ? S 12:51 0:00 /usr/sbin/apache2 -k start
root 2296 0.0 0.0 16836 1260 pts/0 R+ 12:51 0:00 ps aux
ntp 2323 0.0 0.1 39072 2368 ? Ss Jun18 0:04 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 103:105
nagios 2562 0.0 0.0 34784 1908 ? SNsl Jun18 0:40 /usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg
root 2586 0.0 0.3 66968 8244 ? Sl Jun18 0:17 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock -x
root 2593 0.0 0.0 22168 1432 ? S Jun18 0:00 /usr/lib/gamin/gam_server
101 2610 0.0 0.0 46812 1048 ? Ss Jun18 0:00 /usr/sbin/exim4 -bd -q30m
root 2656 0.0 0.0 49932 1236 ? Ss Jun18 0:00 /usr/sbin/sshd
root 2683 0.0 0.0 16256 956 tty1 Ss+ Jun18 0:00 /sbin/getty 38400 tty1
root 2684 0.0 0.0 16256 956 tty2 Ss+ Jun18 0:00 /sbin/getty 38400 tty2
root 2685 0.0 0.0 16256 956 tty3 Ss+ Jun18 0:00 /sbin/getty 38400 tty3
root 2686 0.0 0.0 16256 944 tty4 Ss+ Jun18 0:00 /sbin/getty 38400 tty4
root 2687 0.0 0.0 16256 956 tty5 Ss+ Jun18 0:00 /sbin/getty 38400 tty5
root 2688 0.0 0.0 16256 956 tty6 Ss+ Jun18 0:00 /sbin/getty 38400 tty6
root 23509 0.0 0.1 75396 3684 ? Ss 10:24 0:00 sshd: amk [priv]
amk 23514 0.0 0.0 75396 1624 ? R 10:24 0:00 sshd: amk@pts/0
amk 23515 0.0 0.0 4180 572 pts/0 Ss 10:24 0:00 -sh
root 23518 0.0 0.0 41284 1540 pts/0 S 10:24 0:00 su
root 23525 0.0 0.1 19468 2260 pts/0 S 10:24 0:00 bash
root 26299 0.0 0.1 75396 3680 ? Ss 11:00 0:00 sshd: dmr [priv]
dmr 26307 0.0 0.0 75396 1620 ? S 11:00 0:00 sshd: dmr@pts/1
dmr 26308 0.0 0.1 20604 3400 pts/1 Ss+ 11:00 0:00 -bash
/tmp# date
Fri Jun 19 12:52:04 CDT 2015
date.time appear to be right.
rrd file for Port2Traffic is in the directory for the device:
/var/lib/pnp4nagios/perfdata/sw01.xxxx.xxxxxx# ls
_HOST_.rrd _HOST_.xml Port2Traffic.rrd Port2Traffic.xml
Re: Missing RRD Files
Posted: Fri Jun 19, 2015 1:04 pm
by tgriep
I don't see the npcd daemon running. Can you start it by running
Re: Missing RRD Files
Posted: Fri Jun 19, 2015 2:00 pm
by 00_kl250
Do i need npcd to be running if i'm just using plain bulk mode?
# service npcd start
npcd has been disabled in /etc/default/npcd.
Re: Missing RRD Files
Posted: Sun Jun 21, 2015 7:25 pm
by Box293
Yes, I believe so.
Here is a guide I did a while ago:
http://sites.box293.com/nagios/guides/i ... core-4-0-x
Re: Missing RRD Files
Posted: Fri Jun 26, 2015 9:47 am
by 00_kl250
Actually I fixed it by fixing my check command. I had and incorrect usage of the "y" switch. Thx for all the help though
Re: Missing RRD Files
Posted: Fri Jun 26, 2015 10:31 am
by abrist
Great. Are we clear to lock the thread?