Can graph everything except SNMP device statistics/traffic

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
wooying
Posts: 6
Joined: Mon Jun 22, 2009 4:21 pm

Can graph everything except SNMP device statistics/traffic

Post by wooying »

Hello, I have a huge problem with Cacti that I've been troubleshooting the past 2 days with no avail.

I am able to generate graphs for load average, processes, etc, but I only get blank graphs when trying to get interface traffic via snmp queries.

rrdtool info gave me this on the rrd that was generated:

Code: Select all

rrdtool info ibm_laptop_traffic_in_34.rrd 

filename = "ibm_laptop_traffic_in_34.rrd"

rrd_version = "0003"

step = 300

last_update = 1245697801

ds[traffic_in].type = "COUNTER"

ds[traffic_in].minimal_heartbeat = 600

ds[traffic_in].min = 0.0000000000e+00

ds[traffic_in].max = 1.0000000000e+08

ds[traffic_in].last_ds = "U"

ds[traffic_in].value = NaN

ds[traffic_in].unknown_sec = 1

ds[traffic_out].type = "COUNTER"

ds[traffic_out].minimal_heartbeat = 600

ds[traffic_out].min = 0.0000000000e+00

ds[traffic_out].max = 1.0000000000e+08

ds[traffic_out].last_ds = "U"

ds[traffic_out].value = NaN

ds[traffic_out].unknown_sec = 1

rra[0].cf = "AVERAGE"

rra[0].rows = 600

rra[0].cur_row = 506

rra[0].pdp_per_row = 1

rra[0].xff = 5.0000000000e-01

rra[0].cdp_prep[0].value = NaN

rra[0].cdp_prep[0].unknown_datapoints = 0

rra[0].cdp_prep[1].value = NaN

rra[0].cdp_prep[1].unknown_datapoints = 0

rra[1].cf = "AVERAGE"

rra[1].rows = 700

rra[1].cur_row = 29

rra[1].pdp_per_row = 6

rra[1].xff = 5.0000000000e-01

rra[1].cdp_prep[0].value = NaN

rra[1].cdp_prep[0].unknown_datapoints = 2

rra[1].cdp_prep[1].value = NaN

rra[1].cdp_prep[1].unknown_datapoints = 2

rra[2].cf = "AVERAGE"

rra[2].rows = 775

rra[2].cur_row = 419

rra[2].pdp_per_row = 24

rra[2].xff = 5.0000000000e-01

rra[2].cdp_prep[0].value = NaN

rra[2].cdp_prep[0].unknown_datapoints = 14

rra[2].cdp_prep[1].value = NaN

rra[2].cdp_prep[1].unknown_datapoints = 14

rra[3].cf = "AVERAGE"

rra[3].rows = 797

rra[3].cur_row = 260

rra[3].pdp_per_row = 288

rra[3].xff = 5.0000000000e-01

rra[3].cdp_prep[0].value = NaN

rra[3].cdp_prep[0].unknown_datapoints = 230

rra[3].cdp_prep[1].value = NaN

rra[3].cdp_prep[1].unknown_datapoints = 230

rra[4].cf = "MAX"

rra[4].rows = 600

rra[4].cur_row = 291

rra[4].pdp_per_row = 1

rra[4].xff = 5.0000000000e-01

rra[4].cdp_prep[0].value = NaN

rra[4].cdp_prep[0].unknown_datapoints = 0

rra[4].cdp_prep[1].value = NaN

rra[4].cdp_prep[1].unknown_datapoints = 0

rra[5].cf = "MAX"

rra[5].rows = 700

rra[5].cur_row = 658

rra[5].pdp_per_row = 6

rra[5].xff = 5.0000000000e-01

rra[5].cdp_prep[0].value = NaN

rra[5].cdp_prep[0].unknown_datapoints = 2

rra[5].cdp_prep[1].value = NaN

rra[5].cdp_prep[1].unknown_datapoints = 2

rra[6].cf = "MAX"

rra[6].rows = 775

rra[6].cur_row = 344

rra[6].pdp_per_row = 24

rra[6].xff = 5.0000000000e-01

rra[6].cdp_prep[0].value = NaN

rra[6].cdp_prep[0].unknown_datapoints = 14

rra[6].cdp_prep[1].value = NaN

rra[6].cdp_prep[1].unknown_datapoints = 14

rra[7].cf = "MAX"

rra[7].rows = 797

rra[7].cur_row = 89

rra[7].pdp_per_row = 288

rra[7].xff = 5.0000000000e-01

rra[7].cdp_prep[0].value = NaN

rra[7].cdp_prep[0].unknown_datapoints = 230

rra[7].cdp_prep[1].value = NaN

rra[7].cdp_prep[1].unknown_datapoints = 230

snmpwalking to my remote machine on the network gives me this:

Code: Select all

root /var/www/cacti  #  snmpwalk -v 1 -c public 192.168.1.102

SNMPv2-MIB::sysDescr.0 = STRING: Linux darkstar 2.6.29-ARCH #1 SMP PREEMPT Wed May 20 07:06:02 UTC 2009 i686

SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10

DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (804382) 2:14:03.82

SNMPv2-MIB::sysContact.0 = STRING: "who knows"

SNMPv2-MIB::sysName.0 = STRING: darkstar

SNMPv2-MIB::sysLocation.0 = STRING: darkstar,laptop

SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00

SNMPv2-MIB::sysORID.1 = OID: SNMPv2-SMI::transmission.131

SNMPv2-MIB::sysORID.2 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance

SNMPv2-MIB::sysORID.3 = OID: SNMP-MPD-MIB::snmpMPDCompliance

SNMPv2-MIB::sysORID.4 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance

SNMPv2-MIB::sysORID.5 = OID: SNMPv2-MIB::snmpMIB

SNMPv2-MIB::sysORID.6 = OID: TCP-MIB::tcpMIB

SNMPv2-MIB::sysORID.7 = OID: IP-MIB::ip

SNMPv2-MIB::sysORID.8 = OID: UDP-MIB::udpMIB

SNMPv2-MIB::sysORID.9 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup

SNMPv2-MIB::sysORDescr.1 = STRING: RFC 2667 TUNNEL-MIB implementation for Linux 2.2.x kernels.

SNMPv2-MIB::sysORDescr.2 = STRING: The SNMP Management Architecture MIB.

SNMPv2-MIB::sysORDescr.3 = STRING: The MIB for Message Processing and Dispatching.

SNMPv2-MIB::sysORDescr.4 = STRING: The management information definitions for the SNMP User-based Security Model.

SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for SNMPv2 entities

SNMPv2-MIB::sysORDescr.6 = STRING: The MIB module for managing TCP implementations

SNMPv2-MIB::sysORDescr.7 = STRING: The MIB module for managing IP and ICMP implementations

SNMPv2-MIB::sysORDescr.8 = STRING: The MIB module for managing UDP implementations

SNMPv2-MIB::sysORDescr.9 = STRING: View-based Access Control Model for SNMP.

SNMPv2-MIB::sysORUpTime.1 = Timeticks: (0) 0:00:00.00

SNMPv2-MIB::sysORUpTime.2 = Timeticks: (0) 0:00:00.00

SNMPv2-MIB::sysORUpTime.3 = Timeticks: (0) 0:00:00.00

SNMPv2-MIB::sysORUpTime.4 = Timeticks: (0) 0:00:00.00

SNMPv2-MIB::sysORUpTime.5 = Timeticks: (0) 0:00:00.00

SNMPv2-MIB::sysORUpTime.6 = Timeticks: (0) 0:00:00.00

SNMPv2-MIB::sysORUpTime.7 = Timeticks: (0) 0:00:00.00

SNMPv2-MIB::sysORUpTime.8 = Timeticks: (0) 0:00:00.00

SNMPv2-MIB::sysORUpTime.9 = Timeticks: (0) 0:00:00.00

IF-MIB::ifIndex.1 = INTEGER: 1

IF-MIB::ifIndex.2 = INTEGER: 2

IF-MIB::ifIndex.3 = INTEGER: 3

IF-MIB::ifIndex.4 = INTEGER: 4

IF-MIB::ifDescr.1 = STRING: lo

IF-MIB::ifDescr.2 = STRING: eth0

IF-MIB::ifDescr.3 = STRING: irda0

IF-MIB::ifDescr.4 = STRING: eth1

IF-MIB::ifType.1 = INTEGER: softwareLoopback(24)

IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifType.3 = INTEGER: other(1)

IF-MIB::ifType.4 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifSpeed.1 = Gauge32: 10000000

IF-MIB::ifSpeed.2 = Gauge32: 10000000

IF-MIB::ifSpeed.3 = Gauge32: 0

IF-MIB::ifSpeed.4 = Gauge32: 100000000

IF-MIB::ifPhysAddress.1 = STRING: 

IF-MIB::ifPhysAddress.2 = STRING: 0:13:ce:55:90:b8

IF-MIB::ifPhysAddress.3 = STRING: 

IF-MIB::ifPhysAddress.4 = STRING: 0:a:e4:3f:61:1e

IF-MIB::ifOperStatus.1 = INTEGER: up(1)

IF-MIB::ifOperStatus.2 = INTEGER: down(2)

IF-MIB::ifOperStatus.3 = INTEGER: down(2)

IF-MIB::ifOperStatus.4 = INTEGER: up(1)

IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1

IP-MIB::ipAdEntIfIndex.192.168.1.102 = INTEGER: 4

HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (2749598) 7:38:15.98

IF-MIB::ifName.1 = STRING: lo

IF-MIB::ifName.2 = STRING: eth0

IF-MIB::ifName.3 = STRING: irda0

IF-MIB::ifName.4 = STRING: eth1

IF-MIB::ifAlias.1 = STRING: 

IF-MIB::ifAlias.2 = STRING: 

IF-MIB::ifAlias.3 = STRING: 

IF-MIB::ifAlias.4 = STRING: 

End of MIB
and this is the snmpwalk -v 1 -c public 192.168.1.102 interface ..of the machine:

Code: Select all

root /var/www/cacti  #  snmpwalk -v 1 -c public 192.168.1.102 interface

IF-MIB::ifIndex.1 = INTEGER: 1

IF-MIB::ifIndex.2 = INTEGER: 2

IF-MIB::ifIndex.3 = INTEGER: 3

IF-MIB::ifIndex.4 = INTEGER: 4

IF-MIB::ifDescr.1 = STRING: lo

IF-MIB::ifDescr.2 = STRING: eth0

IF-MIB::ifDescr.3 = STRING: irda0

IF-MIB::ifDescr.4 = STRING: eth1

IF-MIB::ifType.1 = INTEGER: softwareLoopback(24)

IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifType.3 = INTEGER: other(1)

IF-MIB::ifType.4 = INTEGER: ethernetCsmacd(6)

IF-MIB::ifSpeed.1 = Gauge32: 10000000

IF-MIB::ifSpeed.2 = Gauge32: 10000000

IF-MIB::ifSpeed.3 = Gauge32: 0

IF-MIB::ifSpeed.4 = Gauge32: 100000000

IF-MIB::ifPhysAddress.1 = STRING: 

IF-MIB::ifPhysAddress.2 = STRING: 0:13:ce:55:90:b8

IF-MIB::ifPhysAddress.3 = STRING: 

IF-MIB::ifPhysAddress.4 = STRING: 0:a:e4:3f:61:1e

IF-MIB::ifOperStatus.1 = INTEGER: up(1)

IF-MIB::ifOperStatus.2 = INTEGER: down(2)

IF-MIB::ifOperStatus.3 = INTEGER: down(2)

IF-MIB::ifOperStatus.4 = INTEGER: up(1)

also; the log showed this in tail:

Code: Select all

root /var/www/cacti/log  #  tail cacti.log 

06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[2] DS[21] WARNING: Result from SNMP not valid.  Partial Result: U

06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[2] DS[23] WARNING: Result from SNMP not valid.  Partial Result: U

06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[2] DS[22] WARNING: Result from SNMP not valid.  Partial Result: U

06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[2] DS[24] WARNING: Result from SNMP not valid.  Partial Result: U

06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[2] DS[25] WARNING: Result from SNMP not valid.  Partial Result: U

06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[8] DS[47] WARNING: Result from SNMP not valid.  Partial Result: U

06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[8] DS[48] WARNING: Result from SNMP not valid.  Partial Result: U

06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[10] DS[49] WARNING: Result from SNMP not valid.  Partial Result: U

06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[10] DS[50] WARNING: Result from SNMP not valid.  Partial Result: U

06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Time: 0.4138 s, Theads: N/A, Hosts: 4

root /var/www/cacti/log  #  
cat /etc/crontab shows this:

Code: Select all

*/5 * * * * root /usr/bin/php /var/www/htmlcacti/poller.php > /dev/null 2>&1

verbose query on cacti shows this:

Code: Select all

Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.1' value: '1'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.2' value: '2'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.3' value: '3'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.4' value: '4'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Found item [ifIndex='4'] index: 4 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='Down'] index: 2 [from value]
+ Found item [ifOperStatus='Down'] index: 3 [from value]
+ Found item [ifOperStatus='Up'] index: 4 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='lo'] index: 1 [from value]
+ Found item [ifDescr='eth0'] index: 2 [from value]
+ Found item [ifDescr='irda0'] index: 3 [from value]
+ Found item [ifDescr='eth1'] index: 4 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Found item [ifName='lo'] index: 1 [from value]
+ Found item [ifName='eth0'] index: 2 [from value]
+ Found item [ifName='irda0'] index: 3 [from value]
+ Found item [ifName='eth1'] index: 4 [from value]
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='softwareLoopback(24)'] index: 1 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 2 [from value]
+ Found item [ifType='other(1)'] index: 3 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 4 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='10000000'] index: 1 [from value]
+ Found item [ifSpeed='10000000'] index: 2 [from value]
+ Found item [ifSpeed='0'] index: 3 [from value]
+ Found item [ifSpeed='100000000'] index: 4 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr=''] index: 1 [from value]
+ Found item [ifHwAddr='00:13:CE:55:90:B8'] index: 2 [from value]
+ Found item [ifHwAddr=''] index: 3 [from value]
+ Found item [ifHwAddr='00:0A:E4:3F:61:1E'] index: 4 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='127.0.0.1'] index: 1 [from regexp oid parse]
+ Found item [ifIP='192.168.1.102'] index: 4 [from regexp oid parse]
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/interface.xml'

However, I am still ending up with empty graphs. Please someone help me, I am very disappointed I could not get it working. Any help is greatly appreciated. Thank you for your time.


if any more information is required, please let me know!

p.s. thanks again
khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

Change this line in your crontab:

Code: Select all

*/5 * * * * root /usr/bin/php /var/www/htmlcacti/poller.php > /tmp/poller.txt 2>&1
Restart crond. THen cat this file, preferably at the '4' or '9' minute mark. Maybe there's some missing module or rrd problem you didn't see yet.

If not, here is Gandalf's excellent step-by-step process. I'm guessing you've already seen this, though.. http://forums.cacti.net/about15136.html
Blaque
Posts: 1
Joined: Tue Jun 23, 2009 2:21 am

Post by Blaque »

Hi,

I am experiencing the same problem on a Debian Lenny host. I can graph localhost traffic though.
Please tell me which info I should attach.
wooying
Posts: 6
Joined: Mon Jun 22, 2009 4:21 pm

Post by wooying »

Hi khufure, thank you for trying to help, I have made the changes that you specified and it resulted in this, when I try to cat the /tmp/poller.txt

root /tmp # cat poller.txt

Could not open input file: /var/www/htmlcacti/poller.php
User avatar
Hyperlord
Cacti User
Posts: 211
Joined: Tue Feb 10, 2009 3:24 am
Location: Frankfurt (a.M.), Germany

Post by Hyperlord »

Are you sure the path to poller.php is correct?
On Debian the default path for apache2 (apt-get install apache2) will be
/var/www/html/

I don't see that slash between "html" and "cacti" ... hey, just wanna help ;)
Om Tat Sat
wooying
Posts: 6
Joined: Mon Jun 22, 2009 4:21 pm

Post by wooying »

Hey hyperlord, you were right, my poller.php was in... /var/www/cacti/poller.php....

I have made the according changes and now the output of poller.txt is..

Code: Select all

root /tmp  #  cat poller.txt 

OK u:0.00 s:0.00 r:0.00

OK u:0.00 s:0.00 r:0.00

OK u:0.00 s:0.00 r:0.00

OK u:0.00 s:0.00 r:0.00

OK u:0.00 s:0.00 r:1.00

06/23/2009 10:40:05 AM - SYSTEM STATS: Time:4.1231 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:27 RRDsProcessed:5


Can anyone offer any further advice? I'm not sure what the output means..sorry for the noobness =T
khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

wooying wrote:Hey hyperlord, you were right, my poller.php was in... /var/www/cacti/poller.php....

I have made the according changes and now the output of poller.txt is..

Code: Select all

root /tmp  #  cat poller.txt 

OK u:0.00 s:0.00 r:0.00

OK u:0.00 s:0.00 r:0.00

OK u:0.00 s:0.00 r:0.00

OK u:0.00 s:0.00 r:0.00

OK u:0.00 s:0.00 r:1.00

06/23/2009 10:40:05 AM - SYSTEM STATS: Time:4.1231 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:27 RRDsProcessed:5


Can anyone offer any further advice? I'm not sure what the output means..sorry for the noobness =T
That is good output. Are your graphs working now? If not, go through the NaN steps again.

It may take time because the poller cache needs a rebuild. You can try forcing it immediate with cacti gui -> system utilities -> Rebuild Poller Cache. (There's also a command line version in $CACTI_HOME/cli).

Regards
wooying
Posts: 6
Joined: Mon Jun 22, 2009 4:21 pm

Post by wooying »

No, there are still no graphs being made. I still get NaN values, by Nan steps did you mean this document:

http://docs.cacti.net/manual:087:4_help ... ero_values

?

Thanks for the continued help.
wooying
Posts: 6
Joined: Mon Jun 22, 2009 4:21 pm

Post by wooying »

I tried rebuilding the poller cache from the GUI and running /usr/bin/php rebuilder_poller_cache.php from cli, neitehr seems to have worked..


rrdtool fetch brought back this: (pasted it to save space)

http://dpaste.com/59623/


rrdtool info brought back this:

Code: Select all

root /var/www/cacti/rra  #  rrdtool info lappytop_snmp_oid_53.rrd 

filename = "lappytop_snmp_oid_53.rrd"

rrd_version = "0003"

step = 300

last_update = 1245941701

ds[snmp_oid].type = "GAUGE"

ds[snmp_oid].minimal_heartbeat = 600

ds[snmp_oid].min = 0.0000000000e+00

ds[snmp_oid].max = 1.0000000000e+06

ds[snmp_oid].last_ds = "U"

ds[snmp_oid].value = NaN

ds[snmp_oid].unknown_sec = 1

rra[0].cf = "AVERAGE"

rra[0].rows = 600

rra[0].cur_row = 506

rra[0].pdp_per_row = 1

rra[0].xff = 5.0000000000e-01

rra[0].cdp_prep[0].value = NaN

rra[0].cdp_prep[0].unknown_datapoints = 0

rra[1].cf = "AVERAGE"

rra[1].rows = 700

rra[1].cur_row = 333

rra[1].pdp_per_row = 6

rra[1].xff = 5.0000000000e-01

rra[1].cdp_prep[0].value = NaN

rra[1].cdp_prep[0].unknown_datapoints = 5

rra[2].cf = "AVERAGE"

rra[2].rows = 775

rra[2].cur_row = 23

rra[2].pdp_per_row = 24

rra[2].xff = 5.0000000000e-01

rra[2].cdp_prep[0].value = NaN

rra[2].cdp_prep[0].unknown_datapoints = 11

rra[3].cf = "AVERAGE"

rra[3].rows = 797

rra[3].cur_row = 29

rra[3].pdp_per_row = 288

rra[3].xff = 5.0000000000e-01

rra[3].cdp_prep[0].value = NaN

rra[3].cdp_prep[0].unknown_datapoints = 179

rra[4].cf = "MAX"

rra[4].rows = 600

rra[4].cur_row = 579

rra[4].pdp_per_row = 1

rra[4].xff = 5.0000000000e-01

rra[4].cdp_prep[0].value = NaN

rra[4].cdp_prep[0].unknown_datapoints = 0

rra[5].cf = "MAX"

rra[5].rows = 700

rra[5].cur_row = 37

rra[5].pdp_per_row = 6

rra[5].xff = 5.0000000000e-01

rra[5].cdp_prep[0].value = NaN

rra[5].cdp_prep[0].unknown_datapoints = 5

rra[6].cf = "MAX"

rra[6].rows = 775

rra[6].cur_row = 771

rra[6].pdp_per_row = 24

rra[6].xff = 5.0000000000e-01

rra[6].cdp_prep[0].value = NaN

rra[6].cdp_prep[0].unknown_datapoints = 11

rra[7].cf = "MAX"

rra[7].rows = 797

rra[7].cur_row = 234

rra[7].pdp_per_row = 288

rra[7].xff = 5.0000000000e-01

rra[7].cdp_prep[0].value = NaN

rra[7].cdp_prep[0].unknown_datapoints = 179



Does anyone else have any suggestions? I followed the debug document pretty accurately I think..,i even increased the max NaN value for the traffic..


would this have anything to do with it?

Code: Select all

mysql> SELECT * FROM poller_output;

Empty set (0.00 sec)

khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

wooying wrote:Does anyone else have any suggestions? I followed the debug document pretty accurately I think..,i even increased the max NaN value for the traffic..
The poller does rebuild on its own eventually. I'm not sure when the maintenance is but I guess it is a daily event.

Can you paste the technical support information in? GUI -> system utilities -> technical support. Could be you need to give php more ram or some other problem that the technical support php identifies. Alternatively you may try recreating a device now that the poller is better.

Sorry, I don't see the problem so I am guessing. Maybe we can hit oil with a guess, though.
wooying
Posts: 6
Joined: Mon Jun 22, 2009 4:21 pm

Post by wooying »

Code: Select all

Technical Support
General Information
Date 	Thu, 25 Jun 2009 16:34:30 -0400
Cacti Version 	0.8.7d
Cacti OS 	unix
SNMP Version 	NET-SNMP version: 5.3.2.2
RRDTool Version 	RRDTool 1.3.x
Hosts 	2
Graphs 	6
Data Sources 	Script/Command: 5
SNMP: 2
Total: 7
Poller Information
Interval 	300
Type 	cmd.php
Items 	Action[0]: 2
Action[1]: 5
Total: 7
Concurrent Processes 	1
Max Threads 	1
PHP Servers 	1
Script Timeout 	25
Max OID 	10
Last Run Statistics 	Time:1.1170 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:27 RRDsProcessed:27
PHP Information
PHP Version 	5.1.6
PHP OS 	Linux
PHP uname 	Linux linuxbox 2.6.18-128.1.14.el5 #1 SMP Wed Jun 17 06:40:54 EDT 2009 i686
PHP SNMP 	Installed
max_execution_time 	30
memory_limit 	16M
Thank you for your continued support khufure; if anything I'm glad someone is trying to help me rather than the thread dying off hehe.

Thanks again, I'm willing to try anything to hit oil; lol.
khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

Increase ram in php.ini to 64mb. You need to restart apache after the change.

Also, my understanding is 087d likes php 5.2 (and I think 5.2.5) or newer. If you update this from (probably) RPM version, maybe try in /usr/local/php so you can swap back in case of problem.

Sorry, I am not sure if those will fix your problem or not. The "Partial Result: U" doesn't bring anything immediate to attention besides those items.
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Edit your php.ini file and increase the memory_limit a bit. That's one thing. As far as graphing is concerned, the Cacti Log is best. There are so many little issues that people have when developing templates, it's hard to give advice. It's sort of a right of passage.

However, if these are standard templates, well that's another thing altogether. Anyway, you log is a start. Plus I deal better with Graphical information. Old eyes you know ;)

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You could use my Clog plugin to view which graphs these things are associated with. So long as you get these results in your log file, you will not get a graph.
06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[2] DS[21] WARNING: Result from SNMP not valid. Partial Result: U
06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[2] DS[23] WARNING: Result from SNMP not valid. Partial Result: U
06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[2] DS[22] WARNING: Result from SNMP not valid. Partial Result: U
06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[2] DS[24] WARNING: Result from SNMP not valid. Partial Result: U
06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[2] DS[25] WARNING: Result from SNMP not valid. Partial Result: U
06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[8] DS[47] WARNING: Result from SNMP not valid. Partial Result: U
06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[8] DS[48] WARNING: Result from SNMP not valid. Partial Result: U
06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[10] DS[49] WARNING: Result from SNMP not valid. Partial Result: U
06/22/2009 05:27:17 PM - CMDPHP: Poller[0] Host[10] DS[50] WARNING: Result from SNMP not valid. Partial Result: U
TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest