Why I can not get Interface Statistics
Moderators: Developers, Moderators
Why I can not get Interface Statistics
Hi,
I can not create Interface statistics (cisco router). I get the SNMP information at the top but the Data Query Debug Information says the following:
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:\Apache2\htdocs\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'
+ No SNMP data returned
+ Found data query XML file at 'C:\Apache2\htdocs\cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:\Apache2\htdocs\cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:\Apache2\htdocs\cacti/resource/snmp_queries/interface.xml'
What could be the problem?
Thanks in advance
netana
ps: I can create CPU usage for this router.
I can not create Interface statistics (cisco router). I get the SNMP information at the top but the Data Query Debug Information says the following:
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:\Apache2\htdocs\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'
+ No SNMP data returned
+ Found data query XML file at 'C:\Apache2\htdocs\cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:\Apache2\htdocs\cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:\Apache2\htdocs\cacti/resource/snmp_queries/interface.xml'
What could be the problem?
Thanks in advance
netana
ps: I can create CPU usage for this router.
I checked it. It*'s the same.
Here the output from the cacti logfile:
There is one error after starting
03/10/2005 12:59:36 PM - SYSTEM STATS: Time: 2.1988 s, Method: cmd.php, Processes: 5, Threads: N/A, Hosts: 3, Hosts/Process: 1
03/10/2005 12:59:35 PM - CMDPHP: Poller[0] Time: 0.8001 s, Theads: N/A, Hosts: 1
03/10/2005 12:59:35 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 10.2.3.240, dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.2.1.58.0, output: 2
03/10/2005 12:59:35 PM - CMDPHP: Poller[0] Time: 0.9450 s, Theads: N/A, Hosts: 1
03/10/2005 12:59:35 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.2.254.254, dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.2.1.58.0, output: 2
03/10/2005 12:59:35 PM - CMDPHP: Poller[0] Host[3] SNMP: Host responded to SNMP
03/10/2005 12:59:35 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
03/10/2005 12:59:35 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
03/10/2005 12:59:35 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
03/10/2005 12:59:35 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
03/10/2005 12:59:35 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
03/10/2005 12:59:34 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
???
Here the output from the cacti logfile:
There is one error after starting
03/10/2005 12:59:36 PM - SYSTEM STATS: Time: 2.1988 s, Method: cmd.php, Processes: 5, Threads: N/A, Hosts: 3, Hosts/Process: 1
03/10/2005 12:59:35 PM - CMDPHP: Poller[0] Time: 0.8001 s, Theads: N/A, Hosts: 1
03/10/2005 12:59:35 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 10.2.3.240, dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.2.1.58.0, output: 2
03/10/2005 12:59:35 PM - CMDPHP: Poller[0] Time: 0.9450 s, Theads: N/A, Hosts: 1
03/10/2005 12:59:35 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 10.2.254.254, dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.2.1.58.0, output: 2
03/10/2005 12:59:35 PM - CMDPHP: Poller[0] Host[3] SNMP: Host responded to SNMP
03/10/2005 12:59:35 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
03/10/2005 12:59:35 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
03/10/2005 12:59:35 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
03/10/2005 12:59:35 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
03/10/2005 12:59:35 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
03/10/2005 12:59:34 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
???
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please review the source of the following:
You either do not have SNMP interfaces published, or SNMP is not turned on or you have an invalid read string.
TheWitness
Code: Select all
+ No SNMP data returned
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?
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?
I am using SNMPc(same community string, same device, ...) without any problem on the same machine.
Below the ouput of the cacti debug: First machine has the problem, the second one is ok.
Could anyone explain me the line + Located input field 'ifIndex' [walk]
1st machine
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:\Apache2\htdocs\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'
+ No SNMP data returned
+ Found data query XML file at 'C:\Apache2\htdocs\cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:\Apache2\htdocs\cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:\Apache2\htdocs\cacti/resource/snmp_queries/interface.xml'
2nd machine:
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:\Apache2\htdocs\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'
+ 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]
Thanks
netana
Below the ouput of the cacti debug: First machine has the problem, the second one is ok.
Could anyone explain me the line + Located input field 'ifIndex' [walk]
1st machine
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:\Apache2\htdocs\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'
+ No SNMP data returned
+ Found data query XML file at 'C:\Apache2\htdocs\cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:\Apache2\htdocs\cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:\Apache2\htdocs\cacti/resource/snmp_queries/interface.xml'
2nd machine:
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:\Apache2\htdocs\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'
+ 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]
Thanks
netana
Who is online
Users browsing this forum: No registered users and 1 guest