Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
After I upgraded cacti 0.6.8 to cacti 0.8.6g, it stopped to generate rrd files.
The graphs are blank, only showing the grid background.
The modified date of the rrd files is 15/9/2005, the day I upgraded to cacti 0.8.6g.
The log.txt file is updated correctly every 5 minutes, invariably with the following content:
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
and the log of cacti is (last lines):
09/26/2005 10:14:15 AM - CMDPHP: Poller[0] Host[52] SNMP: Host did not respond to SNMP
09/26/2005 10:14:15 AM - CMDPHP: Poller[0] Host[53] SNMP: Host responded to SNMP
09/26/2005 10:14:15 AM - CMDPHP: Poller[0] Host[53] RECACHE: Processing 1 items in the auto reindex cache for '172.18.10.12'.
09/26/2005 10:14:15 AM - CMDPHP: Poller[0] Host[53] DS[274] WARNING: Result from SNMP not valid. Partial Result:
09/26/2005 10:14:15 AM - CMDPHP: Poller[0] Host[53] DS[274] SNMP: v1: 172.18.10.12, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.65539, output: U
09/26/2005 10:14:15 AM - CMDPHP: Poller[0] Host[53] DS[275] WARNING: Result from SNMP not valid. Partial Result:
09/26/2005 10:14:15 AM - CMDPHP: Poller[0] Host[53] DS[275] SNMP: v1: 172.18.10.12, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.65539, output: U
09/26/2005 10:14:17 AM - CMDPHP: Poller[0] Host[55] SNMP: Host did not respond to SNMP
09/26/2005 10:14:17 AM - CMDPHP: Poller[0] Host[56] SNMP: Host responded to SNMP
09/26/2005 10:14:17 AM - CMDPHP: Poller[0] Host[56] RECACHE: Processing 1 items in the auto reindex cache for '172.18.1.20'.
09/26/2005 10:14:17 AM - CMDPHP: Poller[0] Host[56] DS[272] SNMP: v1: 172.18.1.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1075, output: 50638913
09/26/2005 10:14:17 AM - CMDPHP: Poller[0] Host[56] DS[272] SNMP: v1: 172.18.1.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1075, output: 3290112003
09/26/2005 10:14:17 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
09/26/2005 10:14:17 AM - CMDPHP: Poller[0] Time: 18.2388 s, Theads: N/A, Hosts: 49
09/26/2005 10:15:16 AM - WEBLOG: Poller[0] CACTI2RRD: e:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1127654116 --end=1127740516 --title="NTWEBDESE- 172.18.10.6" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/09/25 10:15:16 To 2005/09/26 10:15:16\c" COMMENT:" \n" --vertical-label="bits per second" DEF:a="e\:/apache/htdocs/cacti-0.8.6g/rra/172_18_10_6_in.rrd":172_18_10_6_in:AVERAGE DEF:b="e\:/apache/htdocs/cacti-0.8.6g/rra/172_18_10_6_out.rrd":172_18_10_6_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
Here is some debug from Verbose query:
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'e:/apache/htdocs/cacti-0.8.6g/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'
+ 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]
+ Found item [ifIndex='5'] index: 5 [from value]
+ Found item [ifIndex='6'] index: 6 [from value]
+ Found item [ifIndex='7'] index: 7 [from value]
+ Found item [ifIndex='8'] index: 8 [from value]
+ Found item [ifIndex='9'] index: 9 [from value]
+ Found item [ifIndex='10'] index: 10 [from value]
+ Found item [ifIndex='11'] index: 11 [from value]
+ Found item [ifIndex='12'] index: 12 [from value]
+ Found item [ifIndex='13'] index: 13 [from value]
+ Found item [ifIndex='14'] index: 14 [from value]
+ Found item [ifIndex='15'] index: 15 [from value]
+ Found item [ifIndex='16'] index: 16 [from value]
+ Found item [ifIndex='17'] index: 17 [from value]
+ Found item [ifIndex='18'] index: 18 [from value]
+ Found item [ifIndex='19'] index: 19 [from value]
+ Found item [ifIndex='20'] index: 20 [from value]
+ Found item [ifIndex='21'] index: 21 [from value]
+ Found item [ifIndex='22'] index: 22 [from value]
+ Found item [ifIndex='23'] index: 23 [from value]
+ Found item [ifIndex='24'] index: 24 [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='1'] index: 1 [from value]
+ Found item [ifOperStatus='1'] index: 2 [from value]
+ Found item [ifOperStatus='1'] index: 3 [from value]
+ Found item [ifOperStatus='2'] index: 4 [from value]
+ Found item [ifOperStatus='2'] index: 5 [from value]
+ Found item [ifOperStatus='1'] index: 6 [from value]
+ Found item [ifOperStatus='1'] index: 7 [from value]
+ Found item [ifOperStatus='2'] index: 8 [from value]
+ Found item [ifOperStatus='1'] index: 9 [from value]
+ Found item [ifOperStatus='1'] index: 10 [from value]
+ Found item [ifOperStatus='2'] index: 11 [from value]
+ Found item [ifOperStatus='2'] index: 12 [from value]
+ Found item [ifOperStatus='2'] index: 13 [from value]
+ Found item [ifOperStatus='2'] index: 14 [from value]
+ Found item [ifOperStatus='1'] index: 15 [from value]
+ Found item [ifOperStatus='1'] index: 16 [from value]
+ Found item [ifOperStatus='2'] index: 17 [from value]
+ Found item [ifOperStatus='2'] index: 18 [from value]
+ Found item [ifOperStatus='2'] index: 19 [from value]
+ Found item [ifOperStatus='1'] index: 20 [from value]
+ Found item [ifOperStatus='2'] index: 21 [from value]
+ Found item [ifOperStatus='2'] index: 22 [from value]
+ Found item [ifOperStatus='2'] index: 23 [from value]
+ Found item [ifOperStatus='1'] index: 24 [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='BayStack 410-24T - 1'] index: 1 [from value]
+ Found item [ifDescr='BayStack 410-24T - 2'] index: 2 [from value]
+ Found item [ifDescr='BayStack 410-24T - 3'] index: 3 [from value]
+ Found item [ifDescr='BayStack 410-24T - 4'] index: 4 [from value]
+ Found item [ifDescr='BayStack 410-24T - 5'] index: 5 [from value]
+ Found item [ifDescr='BayStack 410-24T - 6'] index: 6 [from value]
+ Found item [ifDescr='BayStack 410-24T - 7'] index: 7 [from value]
+ Found item [ifDescr='BayStack 410-24T - 8'] index: 8 [from value]
+ Found item [ifDescr='BayStack 410-24T - 9'] index: 9 [from value]
+ Found item [ifDescr='BayStack 410-24T - 10'] index: 10 [from value]
+ Found item [ifDescr='BayStack 410-24T - 11'] index: 11 [from value]
+ Found item [ifDescr='BayStack 410-24T - 12'] index: 12 [from value]
+ Found item [ifDescr='BayStack 410-24T - 13'] index: 13 [from value]
+ Found item [ifDescr='BayStack 410-24T - 14'] index: 14 [from value]
+ Found item [ifDescr='BayStack 410-24T - 15'] index: 15 [from value]
+ Found item [ifDescr='BayStack 410-24T - 16'] index: 16 [from value]
+ Found item [ifDescr='BayStack 410-24T - 17'] index: 17 [from value]
+ Found item [ifDescr='BayStack 410-24T - 18'] index: 18 [from value]
+ Found item [ifDescr='BayStack 410-24T - 19'] index: 19 [from value]
+ Found item [ifDescr='BayStack 410-24T - 20'] index: 20 [from value]
+ Found item [ifDescr='BayStack 410-24T - 21'] index: 21 [from value]
+ Found item [ifDescr='BayStack 410-24T - 22'] index: 22 [from value]
+ Found item [ifDescr='BayStack 410-24T - 23'] index: 23 [from value]
+ Found item [ifDescr='BayStack 410-24T - 24'] index: 24 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ 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='6'] index: 1 [from value]
+ Found item [ifType='6'] index: 2 [from value]
+ Found item [ifType='6'] index: 3 [from value]
+ Found item [ifType='6'] index: 4 [from value]
+ Found item [ifType='6'] index: 5 [from value]
+ Found item [ifType='6'] index: 6 [from value]
+ Found item [ifType='6'] index: 7 [from value]
+ Found item [ifType='6'] index: 8 [from value]
+ Found item [ifType='6'] index: 9 [from value]
+ Found item [ifType='6'] index: 10 [from value]
+ Found item [ifType='6'] index: 11 [from value]
+ Found item [ifType='6'] index: 12 [from value]
+ Found item [ifType='6'] index: 13 [from value]
+ Found item [ifType='6'] index: 14 [from value]
+ Found item [ifType='6'] index: 15 [from value]
+ Found item [ifType='6'] index: 16 [from value]
+ Found item [ifType='6'] index: 17 [from value]
+ Found item [ifType='6'] index: 18 [from value]
+ Found item [ifType='6'] index: 19 [from value]
+ Found item [ifType='6'] index: 20 [from value]
+ Found item [ifType='6'] index: 21 [from value]
+ Found item [ifType='6'] index: 22 [from value]
+ Found item [ifType='6'] index: 23 [from value]
+ Found item [ifType='6'] index: 24 [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='20000000'] index: 1 [from value]
+ Found item [ifSpeed='20000000'] index: 2 [from value]
+ Found item [ifSpeed='20000000'] index: 3 [from value]
+ Found item [ifSpeed='20000000'] index: 4 [from value]
+ Found item [ifSpeed='20000000'] index: 5 [from value]
+ Found item [ifSpeed='20000000'] index: 6 [from value]
+ Found item [ifSpeed='20000000'] index: 7 [from value]
+ Found item [ifSpeed='20000000'] index: 8 [from value]
+ Found item [ifSpeed='20000000'] index: 9 [from value]
+ Found item [ifSpeed='20000000'] index: 10 [from value]
+ Found item [ifSpeed='20000000'] index: 11 [from value]
+ Found item [ifSpeed='20000000'] index: 12 [from value]
+ Found item [ifSpeed='20000000'] index: 13 [from value]
+ Found item [ifSpeed='20000000'] index: 14 [from value]
+ Found item [ifSpeed='20000000'] index: 15 [from value]
+ Found item [ifSpeed='20000000'] index: 16 [from value]
+ Found item [ifSpeed='20000000'] index: 17 [from value]
+ Found item [ifSpeed='20000000'] index: 18 [from value]
+ Found item [ifSpeed='20000000'] index: 19 [from value]
+ Found item [ifSpeed='20000000'] index: 20 [from value]
+ Found item [ifSpeed='20000000'] index: 21 [from value]
+ Found item [ifSpeed='20000000'] index: 22 [from value]
+ Found item [ifSpeed='20000000'] index: 23 [from value]
+ Found item [ifSpeed='20000000'] index: 24 [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=''] index: 2 [from value]
+ Found item [ifHwAddr=''] index: 3 [from value]
+ Found item [ifHwAddr=''] index: 4 [from value]
+ Found item [ifHwAddr=''] index: 5 [from value]
+ Found item [ifHwAddr=''] index: 6 [from value]
+ Found item [ifHwAddr=''] index: 7 [from value]
+ Found item [ifHwAddr=''] index: 8 [from value]
+ Found item [ifHwAddr=''] index: 9 [from value]
+ Found item [ifHwAddr=''] index: 10 [from value]
+ Found item [ifHwAddr=''] index: 11 [from value]
+ Found item [ifHwAddr=''] index: 12 [from value]
+ Found item [ifHwAddr=''] index: 13 [from value]
+ Found item [ifHwAddr=''] index: 14 [from value]
+ Found item [ifHwAddr=''] index: 15 [from value]
+ Found item [ifHwAddr=''] index: 16 [from value]
+ Found item [ifHwAddr=''] index: 17 [from value]
+ Found item [ifHwAddr=''] index: 18 [from value]
+ Found item [ifHwAddr=''] index: 19 [from value]
+ Found item [ifHwAddr=''] index: 20 [from value]
+ Found item [ifHwAddr=''] index: 21 [from value]
+ Found item [ifHwAddr=''] index: 22 [from value]
+ Found item [ifHwAddr=''] index: 23 [from value]
+ Found item [ifHwAddr=''] index: 24 [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='172.18.1.6'] index: 1 [from regexp oid parse]
+ Found data query XML file at 'e:/apache/htdocs/cacti-0.8.6g/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'e:/apache/htdocs/cacti-0.8.6g/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'e:/apache/htdocs/cacti-0.8.6g/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'e:/apache/htdocs/cacti-0.8.6g/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'e:/apache/htdocs/cacti-0.8.6g/resource/snmp_queries/interface.xml'
My graphs are blank! Any ideas?
I am very new in cacti, so sorry about misunderstanding.
Thanks in advice.
Thank you for the reply, but I changed to poller.php and the only thing that happened is that the log.txt file now is blank, instead of the "cannot find module" messages.
The content of the batch file that runs every 5 minute is:
I was using RRDTool 1.0.48.
Now I changed to 1.2.11 cygwin. And I changed the setting in cacti to use NET-SNMP 5.x instead of UCD-SNMP 4.x.
I don´t know what is the difference between them.
There are some important notices about the scenario here. Until last week we had 3 center switch in our network. But my coleagues changed the IP of the 3 as only 1 IP (I don´t know how it works). But I know that it might be one of the causes of the graphs not beeing updated.
Another possible reason for this breakdown is the cacti version changing, from 0.8.5a to 0.8.6g. I did this changing 15/09/2005.
I am sending the snapshots of CMD.PHP and POller.php
1) Are valid graphs being made for 172.18.1.20, cause it looks like that one is returning valid data.
2) I never saw in the cacti log it querying 172.18.10.3, which is probably why you never see it updated. You sure there is a data source for traffic? Try clearing your Poller Cache.
3) Your php poller.php didn't run because the file wasnt found? Something is broke there. Do you have c:\php\bin in your system path?
4) Rerun the commands again piping the results to a file so you dont have to do screenshots (you know you can select and copy text in the command windows).
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)