I have a missed configuration somewhere.
Under View->Service Detail in Nagios XI, the "show performance graphs" icon for 'localhost' (CPU,Memory,Users,Disk) show up. However, if I click on the icon a graph opens but does not contain any data.
The Host performance graphs work just fine.
I eventually installed the nagiosgraph-1.4.4 plugin, and it shows me information.
I also noticed that for the services, for all except for a host i added with the nrpe wizard and localhost, the "show performance graphs" icon is absent in the service details tab.
Please help, I have a demo tomorrow.
Brian
Performance graphs show no data
-
- Posts: 18
- Joined: Mon Jan 28, 2013 12:38 pm
Performance graphs show no data
You do not have the required permissions to view the files attached to this post.
-
- Red Shirt
- Posts: 8334
- Joined: Thu Nov 15, 2012 1:20 pm
Re: Performance graphs show no data
Can your post a tail of a few files?
Code: Select all
$ tail -50 /usr/local/nagios/var/npcd.log
$ tail -50 /usr/local/nagios/var/perfdata.log
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
- Posts: 18
- Joined: Mon Jan 28, 2013 12:38 pm
Re: Performance graphs show no data
[bmusson(sjc-nagios-01):/usr/local/pnp4nagios]$ tail -50 /usr/local/nagios/var/npcd.log
[01-22-2013 20:19:52] NPCD: npcd Daemon (0.4.14) started with PID=36384
[01-22-2013 20:19:52] NPCD: Please have a look at 'npcd -V' to get license information
[01-22-2013 20:19:52] NPCD: HINT: load_threshold is enabled - ('10.000000')
[01-27-2013 17:13:19] NPCD: Caught Termination Signal - Hasta la vista... baby
[01-27-2013 17:13:19] NPCD: npcd Daemon (0.4.14) started with PID=31527
[01-27-2013 17:13:19] NPCD: Please have a look at 'npcd -V' to get license information
[01-27-2013 17:13:19] NPCD: HINT: load_threshold is enabled - ('10.000000')
[bmusson(sjc-nagios-01):/usr/local/pnp4nagios]$ tail -50 /usr/local/nagios/var/perfdata.log
tail: cannot open `/usr/local/nagios/var/perfdata.log' for reading: No such file or directory
[bmusson(sjc-nagios-01):/usr/local/pnp4nagios]$
[01-22-2013 20:19:52] NPCD: npcd Daemon (0.4.14) started with PID=36384
[01-22-2013 20:19:52] NPCD: Please have a look at 'npcd -V' to get license information
[01-22-2013 20:19:52] NPCD: HINT: load_threshold is enabled - ('10.000000')
[01-27-2013 17:13:19] NPCD: Caught Termination Signal - Hasta la vista... baby
[01-27-2013 17:13:19] NPCD: npcd Daemon (0.4.14) started with PID=31527
[01-27-2013 17:13:19] NPCD: Please have a look at 'npcd -V' to get license information
[01-27-2013 17:13:19] NPCD: HINT: load_threshold is enabled - ('10.000000')
[bmusson(sjc-nagios-01):/usr/local/pnp4nagios]$ tail -50 /usr/local/nagios/var/perfdata.log
tail: cannot open `/usr/local/nagios/var/perfdata.log' for reading: No such file or directory
[bmusson(sjc-nagios-01):/usr/local/pnp4nagios]$
-
- Posts: 18
- Joined: Mon Jan 28, 2013 12:38 pm
Re: Performance graphs show no data
i found /tmp/perfdata.log:
[bmusson(sjc-nagios-01):/usr/local/pnp4nagios]$ tail -50 /tmp/perfdata.log
1359399866||nexenta01.nimblestorage.com||ifInNUcastPkts.2||SNMP OK - 0||IF-MIB::ifInNUcastPkts.2=0c
1359399869||sjc2-corp-core1.nimblestorage.com||Vlan15 Status||OK: Interface Vlan15 (index 114) is up.||
1359399869||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 35: alpo A Status||OK: Interface GigabitEthernet3/35 (index 214) is up.||
1359399870||nexenta01.nimblestorage.com||ifOutOctets.4||SNMP OK - 539183602||IF-MIB::ifOutOctets.4=539183602c
1359399873||nexenta01.nimblestorage.com||ifInNUcastPkts.3||SNMP OK - 0||IF-MIB::ifInNUcastPkts.3=0c
1359399873||sjc2-corp-core1.nimblestorage.com||itesx02 Bandwidth||OK - Current BW in: .87Mbps Out: .36Mbps||in=.870161Mb/s;850;900 out=.363080Mb/s;850;900
1359399873||sjc2-corp-core1.nimblestorage.com||unrouted-VLAN-15 Bandwidth||OK - Current BW in: .64Mbps Out: .63Mbps||in=.649450Mb/s;85;90 out=.632749Mb/s;85;90
1359399874||sjc2-corp-core1.nimblestorage.com||GigabitEthernet4 30 Bandwidth: ITESX08 - V102 SAN - vmnic5||OK - Current BW in: .12Mbps Out: .01Mbps||in=.125685Mb/s;850;900 out=.015488Mb/s;850;900
1359399875||hg.nimblestorage.com||Total Processes||PROCS OK: 305 processes||
1359399876||sjc2-corp-core1.nimblestorage.com||unrouted-VLAN-1005 Bandwidth||OK - Current BW in: 0Mbps Out: 0Mbps||in=0Mb/s;85;90 out=0Mb/s;85;90
1359399876||nexenta01.nimblestorage.com||ifInOctets.1||SNMP OK - 2228146220||IF-MIB::ifInOctets.1=2228146220c
1359399877||nexenta02.nimblestorage.com||ifIndex.2||SNMP OK - 2||IF-MIB::ifIndex.2=2
1359399878||nexenta02.nimblestorage.com||ifOperStatus.2||SNMP OK - up(1)||
1359399878||nexenta01.nimblestorage.com||ifInOctets.2||SNMP OK - 1925030638||IF-MIB::ifInOctets.2=1925030638c
1359399878||nexenta01.nimblestorage.com||ifOutQLen.1||SNMP OK - 0||IF-MIB::ifOutQLen.1=0
1359399879||sjc2-corp-core1.nimblestorage.com||GigabitEthernet2 40 Bandwidth: ITESX03 - V11 MGMT - vmnic6||OK - Current BW in: 0Mbps Out: .03Mbps||in=.000009Mb/s;850;900 out=.039616Mb/s;850;900
1359399880||localhost||HTTP||HTTP OK HTTP/1.1 200 OK - 2732 bytes in 0.001 seconds||time=0.001480s;;;0.000000 size=2732B;;;0
1359399880||nexenta01.nimblestorage.com||ifOutOctets.1||SNMP OK - 2228146220||IF-MIB::ifOutOctets.1=2228146220c
1359399880||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 36: alpo A Bandwidth||OK - Current BW in: 0Mbps Out: 0Mbps||in=0Mb/s;200;500 out=.000491Mb/s;200;500
1359399880||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 32: chow B Bandwidth||OK - Current BW in: 0Mbps Out: 0Mbps||in=0Mb/s;200;500 out=.000491Mb/s;200;500
1359399883||savin2.nimblestorage.com||Ping||OK - savin2.nimblestorage.com: rta 0.267ms, lost 0%||rta=0.267ms;3000.000;5000.000;0; pl=0%;80;100;;
1359399883||nexenta01.nimblestorage.com||ifOutQLen.2||SNMP OK - 0||IF-MIB::ifOutQLen.2=0
1359399883||nexenta01.nimblestorage.com||ifInOctets.3||SNMP OK - 3893957638||IF-MIB::ifInOctets.3=3893957638c
1359399884||sjc2-corp-core1.nimblestorage.com||unrouted-VLAN-150 Status||OK: Interface unrouted VLAN 150 (index 125) is up.||
1359399885||nexenta02.nimblestorage.com||ifType.1||SNMP OK - softwareLoopback(24)||
1359399886||nexenta02.nimblestorage.com||ifInNUcastPkts.2||SNMP OK - 0||IF-MIB::ifInNUcastPkts.2=0c
1359399887||localhost||Root Partition||DISK OK - free space: / 44494 MB (93% inode=97%):||/=3342MB;40316;45356;0;50396
1359399887||nexenta02.nimblestorage.com||sysORDescr.6||SNMP OK - The MIB module for managing IP and ICMP implementations||
1359399887||nexenta01.nimblestorage.com||ifInNUcastPkts.4||SNMP OK - 0||IF-MIB::ifInNUcastPkts.4=0c
1359399887||sjc2-corp-core1.nimblestorage.com||unrouted-VLAN-1002 Status||OK: Interface unrouted VLAN 1002 (index 119) is up.||
1359399887||sjc2-corp-core1.nimblestorage.com||GigabitEthernet2 40 Status: ITESX03 - V11 MGMT - vmnic6||OK: Interface GigabitEthernet2/40 (index 88) is up.||
1359399888||nexenta01.nimblestorage.com||ifOutOctets.2||SNMP OK - 1948018529||IF-MIB::ifOutOctets.2=1948018529c
1359399890||nexenta01.nimblestorage.com||ifInOctets.4||SNMP OK - 3626709411||IF-MIB::ifInOctets.4=3626709411c
1359399890||nexenta01.nimblestorage.com||ifOutQLen.3||SNMP OK - 0||IF-MIB::ifOutQLen.3=0
1359399891||nexenta02.nimblestorage.com||ifOutNUcastPkts.3||SNMP OK - 0||IF-MIB::ifOutNUcastPkts.3=0c
1359399892||sjc2-corp-core1.nimblestorage.com||Vlan11 Status||OK: Interface Vlan11 (index 113) is up.||
1359399892||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 36: alpo A Status||OK: Interface GigabitEthernet3/36 (index 215) is up.||
1359399894||sjc2-corp-core1.nimblestorage.com||GigabitEthernet4 48 Bandwidth: ITESX07 - V102 SAN - vmnic5||OK - Current BW in: 0Mbps Out: 0Mbps||in=0Mb/s;850;900 out=.000444Mb/s;850;900
1359399894||sjc2-corp-core1.nimblestorage.com||GigabitEthernet2 41 Bandwidth: ITESX02 - V11 MGMT - vmnic6||OK - Current BW in: .02Mbps Out: .04Mbps||in=.021644Mb/s;850;900 out=.044884Mb/s;850;900
1359399894||rdp.nimblestorage.com||Drive C: Disk Usage||C:\ - total: 199.90 Gb - used: 169.37 Gb (85%) - free 30.53 Gb (15%)||C:\ Used Space=169.37Gb;179.91;189.90;0.00;199.90
1359399895||nexenta02.nimblestorage.com||ifAdminStatus.3||SNMP OK - up(1)||
1359399895||nexenta02.nimblestorage.com||ifDescr.4||SNMP OK - e1000g2||
1359399895||nexenta02.nimblestorage.com||ifDescr.3||SNMP OK - e1000g1||
[bmusson(sjc-nagios-01):/usr/local/pnp4nagios]$ tail -50 /tmp/perfdata.log
1359399866||nexenta01.nimblestorage.com||ifInNUcastPkts.2||SNMP OK - 0||IF-MIB::ifInNUcastPkts.2=0c
1359399869||sjc2-corp-core1.nimblestorage.com||Vlan15 Status||OK: Interface Vlan15 (index 114) is up.||
1359399869||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 35: alpo A Status||OK: Interface GigabitEthernet3/35 (index 214) is up.||
1359399870||nexenta01.nimblestorage.com||ifOutOctets.4||SNMP OK - 539183602||IF-MIB::ifOutOctets.4=539183602c
1359399873||nexenta01.nimblestorage.com||ifInNUcastPkts.3||SNMP OK - 0||IF-MIB::ifInNUcastPkts.3=0c
1359399873||sjc2-corp-core1.nimblestorage.com||itesx02 Bandwidth||OK - Current BW in: .87Mbps Out: .36Mbps||in=.870161Mb/s;850;900 out=.363080Mb/s;850;900
1359399873||sjc2-corp-core1.nimblestorage.com||unrouted-VLAN-15 Bandwidth||OK - Current BW in: .64Mbps Out: .63Mbps||in=.649450Mb/s;85;90 out=.632749Mb/s;85;90
1359399874||sjc2-corp-core1.nimblestorage.com||GigabitEthernet4 30 Bandwidth: ITESX08 - V102 SAN - vmnic5||OK - Current BW in: .12Mbps Out: .01Mbps||in=.125685Mb/s;850;900 out=.015488Mb/s;850;900
1359399875||hg.nimblestorage.com||Total Processes||PROCS OK: 305 processes||
1359399876||sjc2-corp-core1.nimblestorage.com||unrouted-VLAN-1005 Bandwidth||OK - Current BW in: 0Mbps Out: 0Mbps||in=0Mb/s;85;90 out=0Mb/s;85;90
1359399876||nexenta01.nimblestorage.com||ifInOctets.1||SNMP OK - 2228146220||IF-MIB::ifInOctets.1=2228146220c
1359399877||nexenta02.nimblestorage.com||ifIndex.2||SNMP OK - 2||IF-MIB::ifIndex.2=2
1359399878||nexenta02.nimblestorage.com||ifOperStatus.2||SNMP OK - up(1)||
1359399878||nexenta01.nimblestorage.com||ifInOctets.2||SNMP OK - 1925030638||IF-MIB::ifInOctets.2=1925030638c
1359399878||nexenta01.nimblestorage.com||ifOutQLen.1||SNMP OK - 0||IF-MIB::ifOutQLen.1=0
1359399879||sjc2-corp-core1.nimblestorage.com||GigabitEthernet2 40 Bandwidth: ITESX03 - V11 MGMT - vmnic6||OK - Current BW in: 0Mbps Out: .03Mbps||in=.000009Mb/s;850;900 out=.039616Mb/s;850;900
1359399880||localhost||HTTP||HTTP OK HTTP/1.1 200 OK - 2732 bytes in 0.001 seconds||time=0.001480s;;;0.000000 size=2732B;;;0
1359399880||nexenta01.nimblestorage.com||ifOutOctets.1||SNMP OK - 2228146220||IF-MIB::ifOutOctets.1=2228146220c
1359399880||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 36: alpo A Bandwidth||OK - Current BW in: 0Mbps Out: 0Mbps||in=0Mb/s;200;500 out=.000491Mb/s;200;500
1359399880||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 32: chow B Bandwidth||OK - Current BW in: 0Mbps Out: 0Mbps||in=0Mb/s;200;500 out=.000491Mb/s;200;500
1359399883||savin2.nimblestorage.com||Ping||OK - savin2.nimblestorage.com: rta 0.267ms, lost 0%||rta=0.267ms;3000.000;5000.000;0; pl=0%;80;100;;
1359399883||nexenta01.nimblestorage.com||ifOutQLen.2||SNMP OK - 0||IF-MIB::ifOutQLen.2=0
1359399883||nexenta01.nimblestorage.com||ifInOctets.3||SNMP OK - 3893957638||IF-MIB::ifInOctets.3=3893957638c
1359399884||sjc2-corp-core1.nimblestorage.com||unrouted-VLAN-150 Status||OK: Interface unrouted VLAN 150 (index 125) is up.||
1359399885||nexenta02.nimblestorage.com||ifType.1||SNMP OK - softwareLoopback(24)||
1359399886||nexenta02.nimblestorage.com||ifInNUcastPkts.2||SNMP OK - 0||IF-MIB::ifInNUcastPkts.2=0c
1359399887||localhost||Root Partition||DISK OK - free space: / 44494 MB (93% inode=97%):||/=3342MB;40316;45356;0;50396
1359399887||nexenta02.nimblestorage.com||sysORDescr.6||SNMP OK - The MIB module for managing IP and ICMP implementations||
1359399887||nexenta01.nimblestorage.com||ifInNUcastPkts.4||SNMP OK - 0||IF-MIB::ifInNUcastPkts.4=0c
1359399887||sjc2-corp-core1.nimblestorage.com||unrouted-VLAN-1002 Status||OK: Interface unrouted VLAN 1002 (index 119) is up.||
1359399887||sjc2-corp-core1.nimblestorage.com||GigabitEthernet2 40 Status: ITESX03 - V11 MGMT - vmnic6||OK: Interface GigabitEthernet2/40 (index 88) is up.||
1359399888||nexenta01.nimblestorage.com||ifOutOctets.2||SNMP OK - 1948018529||IF-MIB::ifOutOctets.2=1948018529c
1359399890||nexenta01.nimblestorage.com||ifInOctets.4||SNMP OK - 3626709411||IF-MIB::ifInOctets.4=3626709411c
1359399890||nexenta01.nimblestorage.com||ifOutQLen.3||SNMP OK - 0||IF-MIB::ifOutQLen.3=0
1359399891||nexenta02.nimblestorage.com||ifOutNUcastPkts.3||SNMP OK - 0||IF-MIB::ifOutNUcastPkts.3=0c
1359399892||sjc2-corp-core1.nimblestorage.com||Vlan11 Status||OK: Interface Vlan11 (index 113) is up.||
1359399892||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 36: alpo A Status||OK: Interface GigabitEthernet3/36 (index 215) is up.||
1359399894||sjc2-corp-core1.nimblestorage.com||GigabitEthernet4 48 Bandwidth: ITESX07 - V102 SAN - vmnic5||OK - Current BW in: 0Mbps Out: 0Mbps||in=0Mb/s;850;900 out=.000444Mb/s;850;900
1359399894||sjc2-corp-core1.nimblestorage.com||GigabitEthernet2 41 Bandwidth: ITESX02 - V11 MGMT - vmnic6||OK - Current BW in: .02Mbps Out: .04Mbps||in=.021644Mb/s;850;900 out=.044884Mb/s;850;900
1359399894||rdp.nimblestorage.com||Drive C: Disk Usage||C:\ - total: 199.90 Gb - used: 169.37 Gb (85%) - free 30.53 Gb (15%)||C:\ Used Space=169.37Gb;179.91;189.90;0.00;199.90
1359399895||nexenta02.nimblestorage.com||ifAdminStatus.3||SNMP OK - up(1)||
1359399895||nexenta02.nimblestorage.com||ifDescr.4||SNMP OK - e1000g2||
1359399895||nexenta02.nimblestorage.com||ifDescr.3||SNMP OK - e1000g1||
-
- Red Shirt
- Posts: 8334
- Joined: Thu Nov 15, 2012 1:20 pm
Re: Performance graphs show no data
Try restarting npcd, it's logs look rather bare.
Code: Select all
$ service npcd stop
$ killall npcd
$ service npcd start
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
- Posts: 18
- Joined: Mon Jan 28, 2013 12:38 pm
Re: Performance graphs show no data
output
[bmusson(sjc-nagios-01):/usr/local]$ sudo service npcd stop
Stopping npcd: .done.
[bmusson(sjc-nagios-01):/usr/local]$ ps ax | grep npcd
5641 pts/2 S+ 0:00 grep npcd
31527 ? S 0:02 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
[bmusson(sjc-nagios-01):/usr/local]$ sudo killall npcd
[bmusson(sjc-nagios-01):/usr/local]$ ps ax | grep npcd
5935 pts/2 S+ 0:00 grep npcd
[bmusson(sjc-nagios-01):/usr/local]$ sudo service npcd start
Starting npcd: done.
[bmusson(sjc-nagios-01):/usr/local]$ ps ax | grep npcd
6056 ? S 0:00 /usr/local/pnp4nagios/bin/npcd -d -f /usr/local/pnp4nagios/etc/npcd.cfg
6097 pts/2 S+ 0:00 grep npcd
[bmusson(sjc-nagios-01):/usr/local]$
...
npcd.log
[bmusson(sjc-nagios-01):/usr/local]$ tail -50 nagios/var/npcd.log
[01-22-2013 20:19:52] NPCD: npcd Daemon (0.4.14) started with PID=36384
[01-22-2013 20:19:52] NPCD: Please have a look at 'npcd -V' to get license information
[01-22-2013 20:19:52] NPCD: HINT: load_threshold is enabled - ('10.000000')
[01-27-2013 17:13:19] NPCD: Caught Termination Signal - Hasta la vista... baby
[01-27-2013 17:13:19] NPCD: npcd Daemon (0.4.14) started with PID=31527
[01-27-2013 17:13:19] NPCD: Please have a look at 'npcd -V' to get license information
[01-27-2013 17:13:19] NPCD: HINT: load_threshold is enabled - ('10.000000')
[01-28-2013 11:14:04] NPCD: Caught Termination Signal - Hasta la vista... baby
....
/tmp/perfdata.log:
[bmusson(sjc-nagios-01):/usr/local]$ tail -50 /tmp/perfdata.log
1359400616||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 43 Status: ITESX01 - V101 SAN - vmnic8||OK: Interface GigabitEthernet3/43 (index 222) is up.||
1359400617||itesx07.nimblestorage.com||Ping||OK - itesx07.nimblestorage.com: rta 0.164ms, lost 0%||rta=0.164ms;3000.000;5000.000;0; pl=0%;80;100;;
1359400619||nexenta02.nimblestorage.com||sysORUpTime.7||SNMP OK - Timeticks: (2) 0:00:00.02||
1359400620||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 30 Status: ITESX08 - V101 SAN - vmnic3||OK: Interface GigabitEthernet3/30 (index 209) is up.||
1359400622||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 42: chow A Bandwidth||OK - Current BW in: 26.01Mbps Out: 61.54Mbps||in=26.011878Mb/s;200;500 out=61.545848Mb/s;200;500
1359400624||nexenta01.nimblestorage.com||ifLastChange.4||SNMP OK - Timeticks: (0) 0:00:00.00||
1359400624||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 37: alpo B Bandwidth||WARNING - Current BW in: 364.22Mbps Out: 46.62Mbps||in=364.221774Mb/s;200;500 out=46.620300Mb/s;200;500
1359400625||sjc2-corp-core1.nimblestorage.com||GigabitEthernet2 45 Bandwidth: ITESX03 - V11 Prod - vmnic7||OK - Current BW in: 0Mbps Out: .04Mbps||in=0Mb/s;850;900 out=.041451Mb/s;850;900
1359400628||itesx01.nimblestorage.com||Ping||OK - itesx01.nimblestorage.com: rta 0.123ms, lost 0%||rta=0.123ms;3000.000;5000.000;0; pl=0%;80;100;;
1359400628||nexenta02.nimblestorage.com||sysORID.4||SNMP OK - OID: SNMPv2-MIB::snmpMIB||
1359400628||nexenta02.nimblestorage.com||sysORUpTime.8||SNMP OK - Timeticks: (2) 0:00:00.02||
1359400628||nexenta02.nimblestorage.com||ifInErrors.1||SNMP OK - 0||IF-MIB::ifInErrors.1=0c
1359400628||nexenta01.nimblestorage.com||ifType.3||SNMP OK - ethernetCsmacd(6)||
1359400628||nexenta01.nimblestorage.com||ifMtu.4||SNMP OK - 1500||IF-MIB::ifMtu.4=1500
1359400631||localhost||Current Load||OK - load average: 1.03, 0.61, 0.41||load1=1.030;5.000;10.000;0; load5=0.610;4.000;6.000;0; load15=0.410;3.000;4.000;0;
1359400631||sjc2-corp-core1.nimblestorage.com||Vlan150 Status||OK: Interface Vlan150 (index 115) is up.||
1359400632||nexenta01.nimblestorage.com||ifAdminStatus.1||SNMP OK - up(1)||
1359400632||nexenta01.nimblestorage.com||ifPhysAddress.2||SNMP OK -||
1359400633||nexenta01.nimblestorage.com||ifNumber.0||SNMP OK - 4||IF-MIB::ifNumber.0=4
1359400633||nexenta01.nimblestorage.com||ifType.4||SNMP OK - ethernetCsmacd(6)||
1359400633||sjc2-corp-core1.nimblestorage.com||EOBC0 0 Status||OK: Interface EOBC0/0 (index 108) is up.||
1359400634||nexenta02.nimblestorage.com||ifAdminStatus.1||SNMP OK - up(1)||
1359400634||sjc2-corp-core1.nimblestorage.com||GigabitEthernet1 3 Bandwidth: ITESX03 - V11 MGMT - vmnic1||OK - Current BW in: 0Mbps Out: 0Mbps||in=0Mb/s;850;900 out=0Mb/s;850;900
1359400634||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 42: chow A Status||OK: Interface GigabitEthernet3/42 (index 221) is up.||
1359400636||sjc2-corp-core1.nimblestorage.com||GigabitEthernet2 45 Status: ITESX03 - V11 Prod - vmnic7||OK: Interface GigabitEthernet2/45 (index 93) is up.||
1359400637||nexenta02.nimblestorage.com||ifInUcastPkts.3||SNMP OK - 2206866373||IF-MIB::ifInUcastPkts.3=2206866373c
1359400638||nexenta01.nimblestorage.com||ifMtu.3||SNMP OK - 1500||IF-MIB::ifMtu.3=1500
1359400638||sjc2-corp-core1.nimblestorage.com||unrouted-VLAN-250 Status||OK: Interface unrouted VLAN 250 (index 129) is up.||
1359400639||nexenta01.nimblestorage.com||ifSpeed.3||SNMP OK - 1000000000||IF-MIB::ifSpeed.3=1000000000
1359400639||nexenta01.nimblestorage.com||ifAdminStatus.2||SNMP OK - up(1)||
1359400639||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 44 Status ITESX01 - V101 SAN - vmnic5||OK: Interface GigabitEthernet3/44 (index 223) is up.||
1359400645||itvcenter.nimblestorage.com||Ping||OK - itvcenter.nimblestorage.com: rta 0.185ms, lost 0%||rta=0.185ms;3000.000;5000.000;0; pl=0%;80;100;;
[bmusson(sjc-nagios-01):/usr/local]$ sudo service npcd stop
Stopping npcd: .done.
[bmusson(sjc-nagios-01):/usr/local]$ ps ax | grep npcd
5641 pts/2 S+ 0:00 grep npcd
31527 ? S 0:02 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
[bmusson(sjc-nagios-01):/usr/local]$ sudo killall npcd
[bmusson(sjc-nagios-01):/usr/local]$ ps ax | grep npcd
5935 pts/2 S+ 0:00 grep npcd
[bmusson(sjc-nagios-01):/usr/local]$ sudo service npcd start
Starting npcd: done.
[bmusson(sjc-nagios-01):/usr/local]$ ps ax | grep npcd
6056 ? S 0:00 /usr/local/pnp4nagios/bin/npcd -d -f /usr/local/pnp4nagios/etc/npcd.cfg
6097 pts/2 S+ 0:00 grep npcd
[bmusson(sjc-nagios-01):/usr/local]$
...
npcd.log
[bmusson(sjc-nagios-01):/usr/local]$ tail -50 nagios/var/npcd.log
[01-22-2013 20:19:52] NPCD: npcd Daemon (0.4.14) started with PID=36384
[01-22-2013 20:19:52] NPCD: Please have a look at 'npcd -V' to get license information
[01-22-2013 20:19:52] NPCD: HINT: load_threshold is enabled - ('10.000000')
[01-27-2013 17:13:19] NPCD: Caught Termination Signal - Hasta la vista... baby
[01-27-2013 17:13:19] NPCD: npcd Daemon (0.4.14) started with PID=31527
[01-27-2013 17:13:19] NPCD: Please have a look at 'npcd -V' to get license information
[01-27-2013 17:13:19] NPCD: HINT: load_threshold is enabled - ('10.000000')
[01-28-2013 11:14:04] NPCD: Caught Termination Signal - Hasta la vista... baby
....
/tmp/perfdata.log:
[bmusson(sjc-nagios-01):/usr/local]$ tail -50 /tmp/perfdata.log
1359400616||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 43 Status: ITESX01 - V101 SAN - vmnic8||OK: Interface GigabitEthernet3/43 (index 222) is up.||
1359400617||itesx07.nimblestorage.com||Ping||OK - itesx07.nimblestorage.com: rta 0.164ms, lost 0%||rta=0.164ms;3000.000;5000.000;0; pl=0%;80;100;;
1359400619||nexenta02.nimblestorage.com||sysORUpTime.7||SNMP OK - Timeticks: (2) 0:00:00.02||
1359400620||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 30 Status: ITESX08 - V101 SAN - vmnic3||OK: Interface GigabitEthernet3/30 (index 209) is up.||
1359400622||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 42: chow A Bandwidth||OK - Current BW in: 26.01Mbps Out: 61.54Mbps||in=26.011878Mb/s;200;500 out=61.545848Mb/s;200;500
1359400624||nexenta01.nimblestorage.com||ifLastChange.4||SNMP OK - Timeticks: (0) 0:00:00.00||
1359400624||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 37: alpo B Bandwidth||WARNING - Current BW in: 364.22Mbps Out: 46.62Mbps||in=364.221774Mb/s;200;500 out=46.620300Mb/s;200;500
1359400625||sjc2-corp-core1.nimblestorage.com||GigabitEthernet2 45 Bandwidth: ITESX03 - V11 Prod - vmnic7||OK - Current BW in: 0Mbps Out: .04Mbps||in=0Mb/s;850;900 out=.041451Mb/s;850;900
1359400628||itesx01.nimblestorage.com||Ping||OK - itesx01.nimblestorage.com: rta 0.123ms, lost 0%||rta=0.123ms;3000.000;5000.000;0; pl=0%;80;100;;
1359400628||nexenta02.nimblestorage.com||sysORID.4||SNMP OK - OID: SNMPv2-MIB::snmpMIB||
1359400628||nexenta02.nimblestorage.com||sysORUpTime.8||SNMP OK - Timeticks: (2) 0:00:00.02||
1359400628||nexenta02.nimblestorage.com||ifInErrors.1||SNMP OK - 0||IF-MIB::ifInErrors.1=0c
1359400628||nexenta01.nimblestorage.com||ifType.3||SNMP OK - ethernetCsmacd(6)||
1359400628||nexenta01.nimblestorage.com||ifMtu.4||SNMP OK - 1500||IF-MIB::ifMtu.4=1500
1359400631||localhost||Current Load||OK - load average: 1.03, 0.61, 0.41||load1=1.030;5.000;10.000;0; load5=0.610;4.000;6.000;0; load15=0.410;3.000;4.000;0;
1359400631||sjc2-corp-core1.nimblestorage.com||Vlan150 Status||OK: Interface Vlan150 (index 115) is up.||
1359400632||nexenta01.nimblestorage.com||ifAdminStatus.1||SNMP OK - up(1)||
1359400632||nexenta01.nimblestorage.com||ifPhysAddress.2||SNMP OK -||
1359400633||nexenta01.nimblestorage.com||ifNumber.0||SNMP OK - 4||IF-MIB::ifNumber.0=4
1359400633||nexenta01.nimblestorage.com||ifType.4||SNMP OK - ethernetCsmacd(6)||
1359400633||sjc2-corp-core1.nimblestorage.com||EOBC0 0 Status||OK: Interface EOBC0/0 (index 108) is up.||
1359400634||nexenta02.nimblestorage.com||ifAdminStatus.1||SNMP OK - up(1)||
1359400634||sjc2-corp-core1.nimblestorage.com||GigabitEthernet1 3 Bandwidth: ITESX03 - V11 MGMT - vmnic1||OK - Current BW in: 0Mbps Out: 0Mbps||in=0Mb/s;850;900 out=0Mb/s;850;900
1359400634||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 42: chow A Status||OK: Interface GigabitEthernet3/42 (index 221) is up.||
1359400636||sjc2-corp-core1.nimblestorage.com||GigabitEthernet2 45 Status: ITESX03 - V11 Prod - vmnic7||OK: Interface GigabitEthernet2/45 (index 93) is up.||
1359400637||nexenta02.nimblestorage.com||ifInUcastPkts.3||SNMP OK - 2206866373||IF-MIB::ifInUcastPkts.3=2206866373c
1359400638||nexenta01.nimblestorage.com||ifMtu.3||SNMP OK - 1500||IF-MIB::ifMtu.3=1500
1359400638||sjc2-corp-core1.nimblestorage.com||unrouted-VLAN-250 Status||OK: Interface unrouted VLAN 250 (index 129) is up.||
1359400639||nexenta01.nimblestorage.com||ifSpeed.3||SNMP OK - 1000000000||IF-MIB::ifSpeed.3=1000000000
1359400639||nexenta01.nimblestorage.com||ifAdminStatus.2||SNMP OK - up(1)||
1359400639||sjc2-corp-core1.nimblestorage.com||GigabitEthernet3 44 Status ITESX01 - V101 SAN - vmnic5||OK: Interface GigabitEthernet3/44 (index 223) is up.||
1359400645||itvcenter.nimblestorage.com||Ping||OK - itvcenter.nimblestorage.com: rta 0.185ms, lost 0%||rta=0.185ms;3000.000;5000.000;0; pl=0%;80;100;;
-
- Red Shirt
- Posts: 8334
- Joined: Thu Nov 15, 2012 1:20 pm
Re: Performance graphs show no data
One other thing, I noticed that you have a pnp4nagios folder as well as the perfdata.log in tmp. Is this a custom installation?
Do you use passive checks or a different broker?
Do you use passive checks or a different broker?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
- Posts: 18
- Joined: Mon Jan 28, 2013 12:38 pm
Re: Performance graphs show no data
I installed pnp4nagios this morning.
This is a custom installation. I basically installed CentOS 6.3, downloaded the packages from nagios website and went going per installation guide. This is a standalone installation. I'm not sure about the passive checks/different broker question.
This is a custom installation. I basically installed CentOS 6.3, downloaded the packages from nagios website and went going per installation guide. This is a standalone installation. I'm not sure about the passive checks/different broker question.
-
- Red Shirt
- Posts: 8334
- Joined: Thu Nov 15, 2012 1:20 pm
Re: Performance graphs show no data
The pnp4nagios html folder should be in the XI directory at /usr/local/nagiosxi/html/inclues/components/pnp as pnp4nagios is included with XI. Was pnp4nagios installed separately? Could you post the contents of:
Code: Select all
/usr/local/pnp4nagios/etc/npcd.cfg
/usr/local/pnp4nagios/etc/process_perfdata.cfg
/usr/local/nagios/etc/pnp/npcd.cfg
/usr/local/nagios/etc/pnp/process_perfdata.cfg
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
- Posts: 18
- Joined: Mon Jan 28, 2013 12:38 pm
Re: Performance graphs show no data
Code: Select all
[color=#FF0000][bmusson(sjc-nagios-01):/tmp]$ cat /usr/local/pnp4nagios/etc/npcd.cfg
# NPCD.cfg - sample configuration file for PNPs NPCD
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation;
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# Privilege Options
user = nagios
group = nagios
#########################
# #
# Logging Options #
# #
#########################
# log_type - define if you want your logs to
# 'syslog' or to a 'file'
#
# log_type = <value>
#
#log_type = file
log_type = syslog
# log_file - define a path to your logfile
# needed if 'log_type'='file'
#
# log_file = </path/to/logpath/filename>
#
log_file = /usr/local/pnp4nagios/var/npcd.log
# max_logfile_size - defines the maximum filesize (bytes)
# before the logfile will rotated.
#
# max_logfile_size = <value> (default 10Mbyte)
#
max_logfile_size = 10485760
# log_level - how much should we log?
#
# log_level = <integer value>
#
# 0 = No logging - except errors
# 1 = Small logging - some few more output
# 2 = More Logging (actual ALL logs)
# -1 = DEBUG Mode - ALL Logging and slower processing
#
log_level = 0
#########################
# #
# NEEDED OPTIONS #
# #
#########################
# perfdata_spool_dir - where we can find the
# performance data files
#
# perfdata_spool_dir = </path/to/directory/>
#
perfdata_spool_dir = /usr/local/pnp4nagios/var/spool
# Execute following command for each found file
# in 'perfdata_spool_dir'
#
# perfdata_file_run_cmd = </path/to/command>
#
# Must be executable by user/group from above
#
# perfdata_file_run_cmd = </path/to/filename>
#
perfdata_file_run_cmd = /usr/local/pnp4nagios/libexec/process_perfdata.pl
# perfdata_file_run_cmd_args (optional)
#
# If you wish, you can apply more arguments to the
# perfdata_file_run_cmd
#
# Hint:
# NPCD will create a command line like this:
# '<perfdata_file_run_cmd> <perfdata_file_run_cmd_args> <filename_from_spool_dir>'
#
perfdata_file_run_cmd_args = --bulk
# identify_npcd (optional)
#
# If set to one (by default) npcd will append
# '-n' to the perfdata_file_run_cmd
#
# identify_npcd = 0|1 (default: 1)
identify_npcd = 1
# npcd_max_threads - define how many parallel threads we
# should start
npcd_max_threads = 5
# sleep_time - how many seconds npcd should wait between dirscans
#
# sleep_time = 15 (default)
sleep_time = 15
# EXPERIMENTAL
#
# load_threshold - npcd won't start new threads
# if your system load is above this threshold
#
# load_threshold = <float value> (default: 0.0)
#
# Hint: Do not use "," as decimal delimiter
#
# 07/15/2008: Every value above 0.0 will
# enable this feature
load_threshold = 0.0
# location of your pid file
pid_file=/var/run/npcd.pid
#########################
# #
# NPCDMOD OPTIONS #
# #
#########################
# perfdata_file - where should the npcdmod.o
# write the performance data
#
# must not be within the same directory as
# perfdata_spool_dir
#
# perfdata_file = </path/to/file>
#
perfdata_file = /usr/local/pnp4nagios/var/perfdata.dump
# perfdata_spool_filename - declare the destination
# filename for the spooled files
#
# This option allows you a customized filename.
# Usefull if you own different nagios servers
# which write their data to a shared storage.
#
# perfdata_spool_filename = <filename>
#
# Hint:
# The final files will be moved to
# 'perfdata_spool_dir/perfdata_spool_filename-TIMESTAMP'
#
# Example:
#
# perfdata_spool_filename = perfdata-NY
# perfdata_spool_filename = perfdata-LA
perfdata_spool_filename = perfdata
#
# perfdata_file_processing_interval
#
perfdata_file_processing_interval = 15
# We have to end with a newline
[/color]
[color=#FF4000][bmusson(sjc-nagios-01):/tmp]$ cat /usr/local/nagios/etc/pnp/npcd.cfg
# NPCD.cfg - sample configuration file for PNPs NPCD
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation;
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# $Id: npcd.cfg-sample.in 440 2008-04-24 09:08:20Z hendrikb $
# Privilege Options
user = nagios
group = nagios
# Logging Options
# log_type - define if you want your logs to
# 'syslog' or to a 'file'
#
# log_type = <value>
#
log_type = file
#log_type = syslog
# log_file - define a path to your logfile
# needed if 'log_type'='file'
#
# log_file = </path/to/logpath/filename>
#
log_file = /usr/local/nagios/var/npcd.log
# max_logfile_size - defines the maximum filesize (bytes)
# before the logfile will rotated.
#
# max_logfile_size = <value> (default 10Mbyte)
#
max_logfile_size = 10485760
# log_level - how much should we log?
#
# log_level = <integer value>
#
# 0 = No logging - except errors
# 1 = Small logging - some few more output
# 2 = More Logging (actual ALL logs)
# -1 = DEBUG Mode - ALL Logging and slower processing
#
log_level = 0
# NEEDED OPTIONS
#
# perfdata_spool_dir - where we can find the
# performance data files
#
# perfdata_spool_dir = </path/to/directory/>
#
perfdata_spool_dir = /usr/local/nagios/var/spool/perfdata/
# Execute following command for each found file
# in 'perfdata_spool_dir'
#
# perfdata_file_run_cmd = </path/to/command>
#
# Must be executable by user/group from above
#
# perfdata_file_run_cmd = </path/to/filename>
#
perfdata_file_run_cmd = /usr/local/nagios/libexec/process_perfdata.pl
# perfdata_file_run_cmd_args (optional)
#
# If you wish, you can apply more arguments to the
# perfdata_file_run_cmd
#
# Hint:
# NPCD will create a command line like this:
# '<perfdata_file_runc_cmd> <perfdata_file_runc_cmd_args> <filename_from_spool_dir>'
#
perfdata_file_run_cmd_args = -b
# npcd_max_threads - define how many parallel threads we
# should start
npcd_max_threads = 5
# sleep_time - how many seconds should npcd wait between dirscans
#
# sleep_time = 15 (default)
sleep_time = 15
# EXPERIMENTAL
#
# use_load_threshold - enables/disables load watching
#
# use_load_threshold = <0 / 1> (default: 0)
#
#use_load_threshold = 0
# EXPERIMENTAL
#
# load_threshold - npcd won't start new threads
# if your system load is over this threshold
#
# load_threshold = <float value> (default: 10.0)
#
# Hint: Do not use "," as decimal delimeter
#
load_threshold = 10.0
# location of your pid file
#pid_file=/var/run/npcd.pid
pid_file=/usr/local/nagiosxi/var/subsys/npcd.pid
# We have to end with a newline
[/color]
[color=#FFBF00][bmusson(sjc-nagios-01):/tmp]$ cat /usr/local/pnp4nagios/etc/process_perfdata.cfg
# pnp4nagios–0.6.19
# Config File for process_perfdata.pl
#
# More info on RRDtool can be found at http://www.rrdtool.org
#
# process_perfdata.pl timeout in seconds
#
TIMEOUT = 15
#
# Use RRDs Perl module
#
USE_RRDs = 1
#
# Path to XML/RRD files
#
RRDPATH = /usr/local/pnp4nagios/var/perfdata
#
# Location of RRDtool binary
#
RRDTOOL = /usr/bin/rrdtool
#
# Location of PNP config files
#
CFG_DIR = /usr/local/pnp4nagios/etc
#
# Use a single RRD database per service
# one or more datasources per RRD database
# RRD_STORAGE_TYPE = SINGLE
#
# Use multiple RRD databases per service
# one RRD database per datasource.
# RRD_STORAGE_TYPE = MULTIPLE
#
RRD_STORAGE_TYPE = SINGLE
#
# Max. interval between samples/updates
#
RRD_HEARTBEAT = 8460
#
# File with RRA options used to create new RRD files
#
RRA_CFG = /usr/local/pnp4nagios/etc/rra.cfg
#
# Interval at which PDPs are generated
#
RRA_STEP = 60
#
# Name of the log file
#
LOG_FILE = /usr/local/pnp4nagios/var/perfdata.log
#
# Loglevel 0=silent 1=normal 2=debug
#
LOG_LEVEL = 0
#
# XML encoding
# The supported encodings are ISO-8859-1, UTF-8 and US-ASCII.
# http://www.php.net/xml-parser-create
#
XML_ENC = UTF-8
#
# XML update delay in seconds
# 0 = Update XML Files everytime new data arrives
#
# Use this option to reduce disk I/O
#
XML_UPDATE_DELAY = 0
#
# Use only with RRDtool svn revision 1511+
#
# RRD_DAEMON_OPTS = unix:/tmp/rrdcached.sock
RRD_DAEMON_OPTS =
#
# Spool directory used for internal statistics
#
STATS_DIR = /usr/local/pnp4nagios/var/stats
#########################################################
# Gearman Worker Config
# Only used when running as Gearman worker
#
# How many child processes
#
PREFORK = 1
#
# Gearman server to connect to
# Comma separated list of Gearman job servers
#
GEARMAN_HOST = localhost:4730
#
# Restart child process after a given count of requests
#
REQUESTS_PER_CHILD = 10000
#
# Enables or disables encryption.
# It is strongly advised to not disable encryption, or
# anybody will be able to inject packages to your worker.
# When using encryption, you will have to specify a shared
# secret eithr via the KEY or the KEY_FILE option.
# Default is 1.
#
ENCRYPTION = 1
#
# A shared password which will be used for
# encryption of data pakets. Should be at least 8
# bytes long. Maximum length is 32 characters.
#
KEY = should_be_changed
#
# The shared password will be read from this file.
# Only the first 32 characters will be used.
#
# KEY_FILE = /usr/local/pnp4nagios/etc/secret.key
[/color]
[color=#00FF00][bmusson(sjc-nagios-01):/tmp]$ cat /usr/local/nagios/etc/pnp/process_perfdata.cfg
#
# Config File for process_perfdata.pl
#
# $Id: process_perfdata.cfg-sample.in 520 2008-09-16 12:50:10Z pitchfork $
#
# process_perfdata.pl Timout
#
TIMEOUT = 5
#
# Use RRDs Perl Module
#
USE_RRDs = 1
#
#
#
RRDPATH = /usr/local/nagios/share/perfdata
#
#
#
RRDTOOL = /usr/bin/rrdtool
#
#
#
CFG_DIR = /usr/local/nagios/etc/pnp
#
#
#
RRD_HEARTBEAT = 8460
#
#
#
RRA_CFG = /usr/local/nagios/etc/pnp/rra.cfg
#
#
#
RRA_STEP = 60
#
#
#
LOG_FILE = /usr/local/nagios/var/perfdata.log
#
# Loglevel 0=silent 1=normal 2=debug
#
LOG_LEVEL = 0
#
# XML encoding
# The supported encodings are ISO-8859-1, UTF-8 and US-ASCII.
# http://www.php.net/xml-parser-create
XML_ENC = UTF-8
#
# EXPERIMENTAL rrdcached Support
# Use only with rrdtool svn revision 1511+
#
# RRD_DAEMON_OPTS = unix:/tmp/rrdcached.sock
[/color]