This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
jpipitone
Posts: 102 Joined: Tue Oct 12, 2010 1:21 pm
Post
by jpipitone » Fri Sep 23, 2016 10:18 am
Good morning,
I imported my NagiosXI config to a new server. Also restored performance graph configs. I am not seeing any performance graphs. I've added a new host with a few services, but no graphs. I used to see an icon next to a service to view historical graph data. Any help on where to start troubleshooting would be great. Thank you!
Previous thread here (locked):
https://support.nagios.com/forum/viewto ... =6&t=40360
I've run these commands and here's the output:
Code: Select all
[root@nagios ~]# ls /usr/local/nagios/var/spool/perfdata | wc -l
0
Code: Select all
[root@nagios ~]# ls /usr/local/nagios/var/spool/checkresults | wc -l
0
Code: Select all
[root@nagios ~]# tail -50 /usr/local/nagios/var/npcd.log
[09-22-2016 10:50:50] NPCD: npcd Daemon (0.4.14) started with PID=11798
[09-22-2016 10:50:50] NPCD: Please have a look at 'npcd -V' to get license information
[09-22-2016 10:50:50] NPCD: HINT: load_threshold is enabled - ('10.000000')
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Fri Sep 23, 2016 1:27 pm
On the new host / services checks, can you open them up in the Details menu and go to the Advanced Tab and see if there is performance data in the Performance Data field?
Then, can you run the following commands as root and post the output?
Code: Select all
ls /usr/local/nagios/var/spool/xidpe | wc -l
ls /usr/local/nagios/var/spool/perfdata | wc -l
ls /usr/local/nagios/var/spool/checkresults | wc -l
ps -ef --cols=300
tail -50 /usr/local/nagios/var/perfdata.log
Be sure to check out our
Knowledgebase for helpful articles and solutions!
jpipitone
Posts: 102 Joined: Tue Oct 12, 2010 1:21 pm
Post
by jpipitone » Fri Sep 23, 2016 1:44 pm
I see this:
rta=0.228ms;3000.000;5000.000;0; pl=0%;80;100;; rtmax=0.262ms;;;; rtmin=0.200ms;;;;
Screen Shot 2016-09-23 at 2.34.08 PM.png
Here is the output from those commands:
Code: Select all
[root@nagios ~]# ls /usr/local/nagios/var/spool/perfdata | wc -l
0
[root@nagios ~]# ls /usr/local/nagios/var/spool/checkresults | wc -l
0
[root@nagios ~]# tail -50 /usr/local/nagios/var/npcd.log
[09-22-2016 10:50:50] NPCD: npcd Daemon (0.4.14) started with PID=11798
[09-22-2016 10:50:50] NPCD: Please have a look at 'npcd -V' to get license information
[09-22-2016 10:50:50] NPCD: HINT: load_threshold is enabled - ('10.000000')
[root@nagios ~]# ls /usr/local/nagios/var/spool/xidpe | wc -l
0
[root@nagios ~]# ls /usr/local/nagios/var/spool/perfdata | wc -l
0
[root@nagios ~]# ls /usr/local/nagios/var/spool/checkresults | wc -l
0
[root@nagios ~]# ps -ef --cols=300
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 Sep22 ? 00:01:28 /usr/lib/systemd/systemd --switched-root --system --deserialize 21
root 2 0 0 Sep22 ? 00:00:00 [kthreadd]
root 3 2 0 Sep22 ? 00:00:02 [ksoftirqd/0]
root 5 2 0 Sep22 ? 00:00:00 [kworker/0:0H]
root 7 2 0 Sep22 ? 00:00:01 [migration/0]
root 8 2 0 Sep22 ? 00:00:00 [rcu_bh]
root 9 2 0 Sep22 ? 00:00:00 [rcuob/0]
root 10 2 0 Sep22 ? 00:00:00 [rcuob/1]
root 11 2 0 Sep22 ? 00:00:00 [rcuob/2]
root 12 2 0 Sep22 ? 00:00:00 [rcuob/3]
root 13 2 0 Sep22 ? 00:00:00 [rcuob/4]
root 14 2 0 Sep22 ? 00:00:00 [rcuob/5]
root 15 2 0 Sep22 ? 00:00:00 [rcuob/6]
root 16 2 0 Sep22 ? 00:00:00 [rcuob/7]
root 17 2 0 Sep22 ? 00:00:00 [rcuob/8]
root 18 2 0 Sep22 ? 00:00:00 [rcuob/9]
root 19 2 0 Sep22 ? 00:00:00 [rcuob/10]
root 20 2 0 Sep22 ? 00:00:00 [rcuob/11]
root 21 2 0 Sep22 ? 00:00:00 [rcuob/12]
root 22 2 0 Sep22 ? 00:00:00 [rcuob/13]
root 23 2 0 Sep22 ? 00:00:00 [rcuob/14]
root 24 2 0 Sep22 ? 00:00:00 [rcuob/15]
root 25 2 0 Sep22 ? 00:00:00 [rcuob/16]
root 26 2 0 Sep22 ? 00:00:00 [rcuob/17]
root 27 2 0 Sep22 ? 00:00:00 [rcuob/18]
root 28 2 0 Sep22 ? 00:00:00 [rcuob/19]
root 29 2 0 Sep22 ? 00:00:00 [rcuob/20]
root 30 2 0 Sep22 ? 00:00:00 [rcuob/21]
root 31 2 0 Sep22 ? 00:00:00 [rcuob/22]
root 32 2 0 Sep22 ? 00:00:00 [rcuob/23]
root 33 2 0 Sep22 ? 00:00:00 [rcuob/24]
root 34 2 0 Sep22 ? 00:00:00 [rcuob/25]
root 35 2 0 Sep22 ? 00:00:00 [rcuob/26]
root 36 2 0 Sep22 ? 00:00:00 [rcuob/27]
root 37 2 0 Sep22 ? 00:00:00 [rcuob/28]
root 38 2 0 Sep22 ? 00:00:00 [rcuob/29]
root 39 2 0 Sep22 ? 00:00:00 [rcuob/30]
root 40 2 0 Sep22 ? 00:00:00 [rcuob/31]
root 41 2 0 Sep22 ? 00:04:22 [rcu_sched]
root 42 2 0 Sep22 ? 00:02:36 [rcuos/0]
root 43 2 0 Sep22 ? 00:02:03 [rcuos/1]
root 44 2 0 Sep22 ? 00:02:03 [rcuos/2]
root 45 2 0 Sep22 ? 00:02:17 [rcuos/3]
root 46 2 0 Sep22 ? 00:00:00 [rcuos/4]
root 47 2 0 Sep22 ? 00:00:00 [rcuos/5]
root 48 2 0 Sep22 ? 00:00:00 [rcuos/6]
root 49 2 0 Sep22 ? 00:00:00 [rcuos/7]
root 50 2 0 Sep22 ? 00:00:00 [rcuos/8]
root 51 2 0 Sep22 ? 00:00:00 [rcuos/9]
root 52 2 0 Sep22 ? 00:00:00 [rcuos/10]
root 53 2 0 Sep22 ? 00:00:00 [rcuos/11]
root 54 2 0 Sep22 ? 00:00:00 [rcuos/12]
root 55 2 0 Sep22 ? 00:00:00 [rcuos/13]
root 56 2 0 Sep22 ? 00:00:00 [rcuos/14]
root 57 2 0 Sep22 ? 00:00:00 [rcuos/15]
root 58 2 0 Sep22 ? 00:00:00 [rcuos/16]
root 59 2 0 Sep22 ? 00:00:00 [rcuos/17]
root 60 2 0 Sep22 ? 00:00:00 [rcuos/18]
root 61 2 0 Sep22 ? 00:00:00 [rcuos/19]
root 62 2 0 Sep22 ? 00:00:00 [rcuos/20]
root 63 2 0 Sep22 ? 00:00:00 [rcuos/21]
root 64 2 0 Sep22 ? 00:00:00 [rcuos/22]
root 65 2 0 Sep22 ? 00:00:00 [rcuos/23]
root 66 2 0 Sep22 ? 00:00:00 [rcuos/24]
root 67 2 0 Sep22 ? 00:00:00 [rcuos/25]
root 68 2 0 Sep22 ? 00:00:00 [rcuos/26]
root 69 2 0 Sep22 ? 00:00:00 [rcuos/27]
root 70 2 0 Sep22 ? 00:00:00 [rcuos/28]
root 71 2 0 Sep22 ? 00:00:00 [rcuos/29]
root 72 2 0 Sep22 ? 00:00:00 [rcuos/30]
root 73 2 0 Sep22 ? 00:00:00 [rcuos/31]
root 74 2 0 Sep22 ? 00:00:00 [watchdog/0]
root 75 2 0 Sep22 ? 00:00:00 [watchdog/1]
root 76 2 0 Sep22 ? 00:00:01 [migration/1]
root 77 2 0 Sep22 ? 00:00:00 [ksoftirqd/1]
root 79 2 0 Sep22 ? 00:00:00 [kworker/1:0H]
root 80 2 0 Sep22 ? 00:00:00 [watchdog/2]
root 81 2 0 Sep22 ? 00:00:01 [migration/2]
root 82 2 0 Sep22 ? 00:00:00 [ksoftirqd/2]
root 85 2 0 Sep22 ? 00:00:00 [watchdog/3]
root 86 2 0 Sep22 ? 00:00:01 [migration/3]
root 87 2 0 Sep22 ? 00:00:03 [ksoftirqd/3]
root 90 2 0 Sep22 ? 00:00:00 [khelper]
root 91 2 0 Sep22 ? 00:00:00 [kdevtmpfs]
root 92 2 0 Sep22 ? 00:00:00 [netns]
root 93 2 0 Sep22 ? 00:00:00 [perf]
root 94 2 0 Sep22 ? 00:00:00 [writeback]
root 95 2 0 Sep22 ? 00:00:00 [kintegrityd]
root 96 2 0 Sep22 ? 00:00:00 [bioset]
root 97 2 0 Sep22 ? 00:00:00 [kblockd]
root 98 2 0 Sep22 ? 00:00:00 [md]
root 106 2 0 Sep22 ? 00:00:00 [khungtaskd]
root 107 2 0 Sep22 ? 00:00:00 [kswapd0]
root 108 2 0 Sep22 ? 00:00:00 [ksmd]
root 109 2 0 Sep22 ? 00:00:04 [khugepaged]
root 110 2 0 Sep22 ? 00:00:00 [fsnotify_mark]
root 111 2 0 Sep22 ? 00:00:00 [crypto]
root 119 2 0 Sep22 ? 00:00:00 [kthrotld]
root 121 2 0 Sep22 ? 00:00:00 [kmpath_rdacd]
root 122 2 0 Sep22 ? 00:00:00 [kpsmoused]
root 123 2 0 Sep22 ? 00:00:00 [ipv6_addrconf]
root 142 2 0 Sep22 ? 00:00:00 [deferwq]
root 174 2 0 Sep22 ? 00:00:01 [kauditd]
root 344 2 0 Sep22 ? 00:00:00 [scsi_eh_0]
root 348 2 0 Sep22 ? 00:00:00 [scsi_tmf_0]
root 353 2 0 Sep22 ? 00:00:00 [ata_sff]
root 356 2 0 Sep22 ? 00:00:00 [events_power_ef]
root 359 2 0 Sep22 ? 00:00:00 [ttm_swap]
root 376 2 0 Sep22 ? 00:00:00 [scsi_eh_1]
root 377 2 0 Sep22 ? 00:00:00 [scsi_tmf_1]
root 378 2 0 Sep22 ? 00:00:00 [scsi_eh_2]
root 379 2 0 Sep22 ? 00:00:00 [scsi_tmf_2]
root 403 2 0 Sep22 ? 00:00:00 [scsi_eh_3]
root 404 2 0 Sep22 ? 00:00:00 [scsi_tmf_3]
root 405 2 0 Sep22 ? 00:00:00 [scsi_eh_4]
root 406 2 0 Sep22 ? 00:00:00 [scsi_tmf_4]
root 409 2 0 Sep22 ? 00:00:00 [scsi_eh_5]
root 410 2 0 Sep22 ? 00:00:00 [scsi_tmf_5]
root 411 2 0 Sep22 ? 00:00:09 [usb-storage]
root 412 2 0 Sep22 ? 00:00:00 [scsi_eh_6]
root 413 2 0 Sep22 ? 00:00:00 [scsi_tmf_6]
root 414 2 0 Sep22 ? 00:00:16 [usb-storage]
root 419 2 0 Sep22 ? 00:00:00 [kworker/1:1H]
root 420 2 0 Sep22 ? 00:00:00 [kworker/0:1H]
root 466 2 0 Sep22 ? 00:00:00 [kdmflush]
root 467 2 0 Sep22 ? 00:00:00 [bioset]
root 478 2 0 Sep22 ? 00:00:00 [kdmflush]
root 479 2 0 Sep22 ? 00:00:00 [bioset]
root 492 2 0 Sep22 ? 00:00:00 [xfsalloc]
root 493 2 0 Sep22 ? 00:00:00 [xfs_mru_cache]
root 494 2 0 Sep22 ? 00:00:00 [xfs-buf/dm-0]
root 495 2 0 Sep22 ? 00:00:00 [xfs-data/dm-0]
root 496 2 0 Sep22 ? 00:00:00 [xfs-conv/dm-0]
root 497 2 0 Sep22 ? 00:00:00 [xfs-cil/dm-0]
root 498 2 0 Sep22 ? 00:00:00 [xfs-reclaim/dm-]
root 499 2 0 Sep22 ? 00:00:00 [xfs-log/dm-0]
root 500 2 0 Sep22 ? 00:00:00 [xfs-eofblocks/d]
root 501 2 0 Sep22 ? 00:00:24 [xfsaild/dm-0]
root 572 1 0 Sep22 ? 00:00:17 /usr/lib/systemd/systemd-journald
root 597 1 0 Sep22 ? 00:00:00 /usr/lib/systemd/systemd-udevd
root 599 1 0 Sep22 ? 00:00:00 /usr/sbin/lvmetad -f
root 627 2 0 Sep22 ? 00:00:00 [edac-poller]
root 647 2 0 Sep22 ? 00:00:00 [kipmi0]
root 660 2 0 Sep22 ? 00:00:00 [xfs-buf/sda1]
root 661 2 0 Sep22 ? 00:00:00 [xfs-data/sda1]
root 662 2 0 Sep22 ? 00:00:00 [xfs-conv/sda1]
root 663 2 0 Sep22 ? 00:00:00 [xfs-cil/sda1]
root 664 2 0 Sep22 ? 00:00:00 [xfs-reclaim/sda]
root 665 2 0 Sep22 ? 00:00:00 [xfs-log/sda1]
root 666 2 0 Sep22 ? 00:00:00 [xfs-eofblocks/s]
root 667 2 0 Sep22 ? 00:00:00 [xfsaild/sda1]
root 672 2 0 Sep22 ? 00:00:00 [kdmflush]
root 673 2 0 Sep22 ? 00:00:00 [bioset]
root 680 2 0 Sep22 ? 00:00:00 [xfs-buf/dm-2]
root 681 2 0 Sep22 ? 00:00:00 [xfs-data/dm-2]
root 682 2 0 Sep22 ? 00:00:00 [xfs-conv/dm-2]
root 683 2 0 Sep22 ? 00:00:00 [xfs-cil/dm-2]
root 684 2 0 Sep22 ? 00:00:00 [xfs-reclaim/dm-]
root 685 2 0 Sep22 ? 00:00:00 [xfs-log/dm-2]
root 686 2 0 Sep22 ? 00:00:00 [xfs-eofblocks/d]
root 687 2 0 Sep22 ? 00:00:23 [xfsaild/dm-2]
root 704 1 0 Sep22 ? 00:00:05 /sbin/auditd -n
root 727 1 0 Sep22 ? 00:00:25 /usr/lib/systemd/systemd-logind
root 730 1 0 Sep22 ? 00:00:06 /usr/sbin/rsyslogd -n
root 732 1 0 Sep22 ? 00:00:04 /usr/sbin/irqbalance --foreground
dbus 733 1 0 Sep22 ? 00:01:02 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 824 1 0 Sep22 tty1 00:00:00 /sbin/agetty --noclear tty1 linux
apache 873 11687 0 12:18 ? 00:00:11 /usr/sbin/httpd -DFOREGROUND
root 1027 1 0 Sep22 ? 00:00:09 /usr/bin/python -Es /usr/sbin/tuned -l -P
root 1028 1 0 Sep22 ? 00:00:02 /usr/sbin/sshd -D
root 1505 1028 0 09:19 ? 00:00:00 sshd: root@pts/0
root 1676 1505 0 09:19 pts/0 00:00:00 -bash
root 1891 2 0 12:41 ? 00:00:00 [kworker/2:1]
root 2618 2 0 12:41 ? 00:00:00 [kworker/1:2]
polkitd 2898 1 0 Sep22 ? 00:00:16 /usr/lib/polkit-1/polkitd --no-debug
root 4516 11813 0 12:43 ? 00:00:00 /usr/sbin/CROND -n
root 4517 11813 0 12:43 ? 00:00:00 /usr/sbin/CROND -n
root 4518 11813 0 12:43 ? 00:00:00 /usr/sbin/CROND -n
root 4519 11813 0 12:43 ? 00:00:00 /usr/sbin/CROND -n
root 4520 11813 0 12:43 ? 00:00:00 /usr/sbin/CROND -n
nagios 4529 4520 0 12:43 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1
nagios 4530 4517 0 12:43 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1
nagios 4531 4519 0 12:43 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1
nagios 4532 4518 0 12:43 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1
nagios 4533 4531 0 12:43 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php
nagios 4534 4529 0 12:43 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php
nagios 4535 4530 0 12:43 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php
nagios 4539 4516 0 12:43 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1
nagios 4540 4532 0 12:43 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php
nagios 4544 4539 0 12:43 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php
root 4612 1 0 Sep22 ? 00:00:00 /usr/sbin/xinetd -stayalive -pidfile /var/run/xinetd.pid
root 4622 2 0 12:43 ? 00:00:00 [kworker/u64:0]
root 4906 2 0 10:28 ? 00:00:00 [kworker/1:3]
nagios 5279 17269 0 12:43 ? 00:00:00 /usr/bin/python /usr/local/nagios/libexec/check_bigip_tps.py -H 10.9.2.251 -C ITsnmp -T 500
root 5406 1676 0 12:43 pts/0 00:00:00 ps -ef --cols=300
root 6073 1 0 09:00 ? 00:00:06 /usr/sbin/veeamservice --daemonize --pidfile=/var/run/veeamservice.pid
ajaxterm 6112 1 0 Sep22 ? 00:00:22 python /usr/share/ajaxterm/ajaxterm.py --daemon --port=8022 --uid=ajaxterm
root 6510 2 0 09:00 ? 00:00:00 [kworker/3:0H]
apache 6554 11687 0 12:21 ? 00:00:09 /usr/sbin/httpd -DFOREGROUND
root 9728 2 0 12:24 ? 00:00:00 [kworker/0:2]
root 9748 2 0 12:24 ? 00:00:00 [kworker/3:3]
apache 10138 11687 0 12:02 ? 00:00:14 /usr/sbin/httpd -DFOREGROUND
root 10626 2 0 09:03 ? 00:00:00 [cifsiod]
root 10630 2 0 09:03 ? 00:00:01 [cifsd]
root 11687 1 0 Sep22 ? 00:00:06 /usr/sbin/httpd -DFOREGROUND
nagios 11719 1 0 Sep22 ? 00:00:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 11798 1 0 Sep22 ? 00:00:01 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
root 11813 1 0 Sep22 ? 00:00:03 /usr/sbin/crond -n
root 13842 1028 0 08:41 ? 00:00:00 sshd: root@notty
root 13851 13842 0 08:41 ? 00:00:00 /usr/libexec/openssh/sftp-server
apache 15036 11687 1 12:27 ? 00:00:10 /usr/sbin/httpd -DFOREGROUND
root 15655 2 0 11:21 ? 00:00:00 [kworker/1:0]
nagios 17263 1 0 06:52 ? 00:01:22 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 17265 17263 0 06:52 ? 00:00:08 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 17266 17263 0 06:52 ? 00:00:08 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 17267 17263 0 06:52 ? 00:00:07 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 17268 17263 0 06:52 ? 00:00:08 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 17269 17263 0 06:52 ? 00:00:07 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 17270 17263 0 06:52 ? 00:00:08 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 17274 11719 0 06:52 ? 00:00:15 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 17275 17274 0 06:52 ? 00:02:54 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 17330 17263 0 06:52 ? 00:00:01 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 17735 2 0 12:29 ? 00:00:00 [kworker/3:0]
root 17810 2 0 09:08 ? 00:00:00 [bioset]
root 17811 2 0 09:08 ? 00:00:00 [bioset]
mysql 18299 1 0 Sep22 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
mysql 18456 18299 1 Sep22 ? 00:26:32 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/log/mariadb/mariadb.log --pid-file=/var/run/mariadb/mariadb.pid --socket=/var/lib/mysql/mysql.sock
apache 18822 11687 1 12:30 ? 00:00:08 /usr/sbin/httpd -DFOREGROUND
apache 19700 11687 1 12:30 ? 00:00:08 /usr/sbin/httpd -DFOREGROUND
root 20094 2 0 12:31 ? 00:00:00 [kworker/u64:2]
root 20982 2 0 09:10 ? 00:00:00 [kworker/2:2H]
root 21298 2 0 12:32 ? 00:00:00 [kworker/0:0]
root 23622 2 0 Sep22 ? 00:00:00 [kworker/2:0H]
root 24959 2 0 11:50 ? 00:00:00 [kworker/2:2]
apache 25918 11687 1 12:35 ? 00:00:05 /usr/sbin/httpd -DFOREGROUND
root 25975 2 0 12:35 ? 00:00:00 [kworker/2:0]
root 27775 2 0 12:36 ? 00:00:00 [kworker/1:1]
apache 28145 11687 1 12:36 ? 00:00:04 /usr/sbin/httpd -DFOREGROUND
apache 29207 11687 1 12:37 ? 00:00:05 /usr/sbin/httpd -DFOREGROUND
root 29795 2 0 12:38 ? 00:00:00 [kworker/3:1]
root 29814 2 0 12:38 ? 00:00:00 [kworker/u64:1]
root 30718 2 0 Sep22 ? 00:00:01 [kworker/3:2H]
root 31483 2 0 12:39 ? 00:00:00 [kworker/0:1]
apache 31719 11687 0 12:16 ? 00:00:11 /usr/sbin/httpd -DFOREGROUND
[root@nagios ~]# tail -50 /usr/local/nagios/var/perfdata.log
tail: cannot open ‘/usr/local/nagios/var/perfdata.log’ for reading: No such file or directory
You do not have the required permissions to view the files attached to this post.
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Fri Sep 23, 2016 2:05 pm
The missing perfdata.log file isn't good.
Can you post the following files?
Code: Select all
/usr/local/nagios/etc/pnp/process_perfdata.cfg
/usr/local/nagios/etc/nagios.cfg
Also, run the following and post the output?
Code: Select all
ls -l /usr/local/nagios
ls -l /usr/local/nagios/var
Be sure to check out our
Knowledgebase for helpful articles and solutions!
jpipitone
Posts: 102 Joined: Tue Oct 12, 2010 1:21 pm
Post
by jpipitone » Fri Sep 23, 2016 2:34 pm
process_perfdata.cfg
nagios.cfg
Code: Select all
[root@nagios ~]# ls -l /usr/local/nagios
total 28
drwxrwxr-x. 2 nagios nagios 4096 Sep 22 10:47 bin
drwsrwsr-x. 8 apache nagios 4096 Sep 22 19:45 etc
drwxr-xr-x. 2 root root 6 Sep 22 10:47 include
drwxrwsr-x. 2 nagios nagios 4096 Sep 22 13:00 libexec
drwxrwxr-x. 2 nagios nagios 4096 Sep 22 10:46 sbin
drwxrwxr-x. 18 nagios nagios 4096 Sep 22 10:47 share
drwxrwxr-x. 6 nagios nagios 4096 Sep 23 13:32 var
[root@nagios ~]# ls -l /usr/local/nagios/var
total 239432
drwxrwxr-x. 2 nagios nagios 37 Sep 22 23:59 archives
-rw-r--r--. 1 nagios nagios 29768405 Sep 23 13:32 host-perfdata
-rw-r--r--. 1 nagios nagios 34 Sep 23 10:52 nagios.configtest
-rw-r--r--. 1 nagios nagios 6 Sep 23 06:52 nagios.lock
-rw-r--r--. 1 nagios nagios 430618 Sep 23 13:30 nagios.log
-rw-r--r--. 1 nagios nagios 6 Sep 22 10:50 ndo2db.lock
-rw-r--r--. 1 nagios nagios 0 Sep 23 06:52 ndomod.tmp
srwxr-xr-x. 1 nagios nagios 0 Sep 22 10:50 ndo.sock
-rw-r--r--. 1 nagios nagios 235 Sep 22 10:50 npcd.log
-rw-r--r--. 1 nagios nagios 1430373 Sep 23 06:52 objects.cache
-rw-r--r--. 1 nagios nagios 1430373 Sep 23 10:52 objects.precache
-rw-------. 1 nagios nagios 2210861 Sep 23 12:52 retention.dat
drwxrwsr-x. 2 nagios nagcmd 39 Sep 23 06:52 rw
-rw-r--r--. 1 nagios nagios 144893839 Sep 23 13:32 service-perfdata
drwxr-xr-x. 5 nagios nagios 52 Sep 22 10:46 spool
drwxr-xr-x. 2 nagios nagios 21 Sep 22 12:43 stats
-rw-rw-r--. 1 nagios nagios 2202337 Sep 23 13:32 status.dat
You do not have the required permissions to view the files attached to this post.
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Mon Sep 26, 2016 9:51 am
It looks like the performance graphs haven't been working for a while and the size of the old data is quite large so it will have to be deleted.
To do that, login as root to the XI server and run the following.
Code: Select all
> /usr/local/nagios/var/host-perfdata
> /usr/local/nagios/var/service-perfdata
Next, lets restart the daemons that process that data.
Code: Select all
service crond stop
service npcd stop
service nagios stop
service crond start
service npcd start
service nagios start
If all goes well, the graphs should start to populate after 15 minutes.
If not, can you email in this file
Code: Select all
/usr/local/nagios/etc/commands.cfg
And, run this and post the output.
Code: Select all
ps -ef --cols=300
ls -l /usr/local/nagios/var
Be sure to check out our
Knowledgebase for helpful articles and solutions!
jpipitone
Posts: 102 Joined: Tue Oct 12, 2010 1:21 pm
Post
by jpipitone » Mon Sep 26, 2016 10:39 am
I've removed both of those files, but still no luck.
commands.cfg attached
Output attached.
output.txt
output2.txt
commands.cfg
You do not have the required permissions to view the files attached to this post.
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Mon Sep 26, 2016 1:25 pm
It looks like at one time, the system had a ran disk setup on it at one time and some of the settings, not all, were reverted back and that is causing the issue.
You may want to look at this document for the instructions on setting up a ramdisk and update the missing information and see if that fixes the issue for you.
https://assets.nagios.com/downloads/nag ... giosXI.pdf
Be sure to check out our
Knowledgebase for helpful articles and solutions!
jpipitone
Posts: 102 Joined: Tue Oct 12, 2010 1:21 pm
Post
by jpipitone » Mon Sep 26, 2016 1:32 pm
That sounds about right - we had a RAM disk before. I don't plan on using the RAM disk again, now that we're 64 bit, it is running great.
I'll make the adjustments and get back to you. Thanks
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Mon Sep 26, 2016 2:07 pm
Your welcome. Let us know if you get it fixed.
Be sure to check out our
Knowledgebase for helpful articles and solutions!