[solved] Data Query + New Graph

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
hartman456
Posts: 3
Joined: Fri Jun 25, 2010 2:09 am

[solved] Data Query + New Graph

Post by hartman456 »

Code: Select all

Technical Support
General Information
Date 	Fri, 25 Jun 2010 15:14:12 +0400
Cacti Version 	0.8.7g
Cacti OS 	unix
SNMP Version 	UCD-snmp version: 4.2.7
RRDTool Version 	RRDTool 1.2.x
Hosts 	21
Graphs 	108
Data Sources 	Script/Command: 6
SNMP: 16
SNMP Query: 93
Total: 115
Poller Information
Interval 	300
Type 	cmd.php
Items 	Action[0]: 202
Action[1]: 6
Total: 208
Concurrent Processes 	1
Max Threads 	1
PHP Servers 	1
Script Timeout 	25
Max OID 	10
Last Run Statistics 	Time:37.4081 Method:cmd.php Processes:1 Threads:N/A Hosts:22 HostsPerProcess:22 DataSources:208 RRDsProcessed:115
PHP Information
PHP Version 	5.2.10
PHP OS 	FreeBSD
PHP uname 	FreeBSD hd 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Jul 13 11:11:38 MSD 2009 admin@admin:/usr/src/sys/i386/compile/GENERIC_FIREWALL_FORWARD_MPD i386
PHP SNMP 	Not Installed
max_execution_time 	60
memory_limit 	20M
This is command-line output:

Code: Select all

snmpwalk -c community -v 2c 10.10.255.2 .1.3.6.1.2.1.2.2.1.1
interfaces.ifTable.ifEntry.ifIndex.2 = 2
interfaces.ifTable.ifEntry.ifIndex.3 = 3
interfaces.ifTable.ifEntry.ifIndex.4 = 4
interfaces.ifTable.ifEntry.ifIndex.5 = 5
interfaces.ifTable.ifEntry.ifIndex.6 = 6
interfaces.ifTable.ifEntry.ifIndex.7 = 7
interfaces.ifTable.ifEntry.ifIndex.8 = 8
interfaces.ifTable.ifEntry.ifIndex.9 = 9
interfaces.ifTable.ifEntry.ifIndex.10 = 10
interfaces.ifTable.ifEntry.ifIndex.11 = 11
This is Cacti verbose data query:

Code: Select all

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/www/monitor/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: 'interfaces.ifTable.ifEntry.ifIndex.2' value: 'interfaces.ifTable.ifEntry.ifIndex.2 = 2'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.3' value: 'interfaces.ifTable.ifEntry.ifIndex.3 = 3'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.4' value: 'interfaces.ifTable.ifEntry.ifIndex.4 = 4'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.5' value: 'interfaces.ifTable.ifEntry.ifIndex.5 = 5'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.6' value: 'interfaces.ifTable.ifEntry.ifIndex.6 = 6'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.7' value: 'interfaces.ifTable.ifEntry.ifIndex.7 = 7'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.8' value: 'interfaces.ifTable.ifEntry.ifIndex.8 = 8'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.9' value: 'interfaces.ifTable.ifEntry.ifIndex.9 = 9'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.10' value: 'interfaces.ifTable.ifEntry.ifIndex.10 = 10'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.11' value: 'interfaces.ifTable.ifEntry.ifIndex.11 = 11'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.12' value: 'interfaces.ifTable.ifEntry.ifIndex.12 = 12'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.13' value: 'interfaces.ifTable.ifEntry.ifIndex.13 = 13'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.14' value: 'interfaces.ifTable.ifEntry.ifIndex.14 = 14'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.15' value: 'interfaces.ifTable.ifEntry.ifIndex.15 = 15'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.16' value: 'interfaces.ifTable.ifEntry.ifIndex.16 = 16'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.17' value: 'interfaces.ifTable.ifEntry.ifIndex.17 = 17'
+ Index found at OID: 'interfaces.ifTable.ifEntry.ifIndex.18' value: 'interfaces.ifTable.ifEntry.ifIndex.18 = 18'
And this is the output when I try to add graph. The table filled not only with the values but also with the name of the fields.
Image

Any ideas how to fix that?

Thanks in advance![/code]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

SNMP Version UCD-snmp version: 4.2.7
That's honestly not correct, is it? That's waaaaay old! I don't know whether that's the root cause. But it is definitively BAD
R.
hartman456
Posts: 3
Joined: Fri Jun 25, 2010 2:09 am

Post by hartman456 »

gandalf,
thanks for the help. That was the cause of the problem indeed.

[/quote]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest