Cannot add graph for a other interface the same device
Moderators: Developers, Moderators
Cannot add graph for a other interface the same device
Hello
Cacti Version 0.8.6.h fully patched.
my problem is to add a graph from a device (see add_graph.gif).
When i look into the Graph Maanagement i can see that the name is not resolved from |host_description| - Traffic - |query_ifIP|/|query_ifDescr|
to the real name ...! (see graph.gif) also in the Data Source (data_source.gif). I has no problems with other decives only with this one.
The same problem appears when i create a new device with other name and the same ip address.
The Data Query debug information i mean looks good
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/www/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='16777219'] index: 16777219 [from value]
+ Found item [ifIndex='16777220'] index: 16777220 [from value]
+ Found item [ifIndex='16777221'] index: 16777221 [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: 16777219 [from value]
+ Found item [ifOperStatus='1'] index: 16777220 [from value]
+ Found item [ifOperStatus='1'] index: 16777221 [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='MS TCP Loopback interface'] index: 1 [from value]
+ Found item [ifDescr='SysKonnect FDDI PCI'] index: 16777219 [from value]
+ Found item [ifDescr='Broadcom NetXtreme Gigabit Ethernet Driver'] index: 16777220 [from value]
+ Found item [ifDescr='Broadcom NetXtreme Gigabit Ethernet Driver'] index: 16777221 [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='End of MIB'] index: End of MIB [from value]
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Found item [ifAlias='End of MIB'] index: End of MIB [from value]
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='24'] index: 1 [from value]
+ Found item [ifType='15'] index: 16777219 [from value]
+ Found item [ifType='6'] index: 16777220 [from value]
+ Found item [ifType='6'] index: 16777221 [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='100000000'] index: 16777219 [from value]
+ Found item [ifSpeed='1000000000'] index: 16777220 [from value]
+ Found item [ifSpeed='1000000000'] index: 16777221 [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:00:5A:42:BB:DC'] index: 16777219 [from value]
+ Found item [ifHwAddr='00:0D:56:70:61:77'] index: 16777220 [from value]
+ Found item [ifHwAddr='00:0D:56:70:61:76'] index: 16777221 [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='10.20.2.11'] index: 16777220 [from regexp oid parse]
+ Found item [ifIP='127.0.0.1'] index: 1 [from regexp oid parse]
+ Found item [ifIP='172.18.0.89'] index: 16777219 [from regexp oid parse]
+ Found item [ifIP='172.18.128.87'] index: 16777221 [from regexp oid parse]
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/interface.xml'
Thanks for Help
Bernd
Cacti Version 0.8.6.h fully patched.
my problem is to add a graph from a device (see add_graph.gif).
When i look into the Graph Maanagement i can see that the name is not resolved from |host_description| - Traffic - |query_ifIP|/|query_ifDescr|
to the real name ...! (see graph.gif) also in the Data Source (data_source.gif). I has no problems with other decives only with this one.
The same problem appears when i create a new device with other name and the same ip address.
The Data Query debug information i mean looks good
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/www/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='16777219'] index: 16777219 [from value]
+ Found item [ifIndex='16777220'] index: 16777220 [from value]
+ Found item [ifIndex='16777221'] index: 16777221 [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: 16777219 [from value]
+ Found item [ifOperStatus='1'] index: 16777220 [from value]
+ Found item [ifOperStatus='1'] index: 16777221 [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='MS TCP Loopback interface'] index: 1 [from value]
+ Found item [ifDescr='SysKonnect FDDI PCI'] index: 16777219 [from value]
+ Found item [ifDescr='Broadcom NetXtreme Gigabit Ethernet Driver'] index: 16777220 [from value]
+ Found item [ifDescr='Broadcom NetXtreme Gigabit Ethernet Driver'] index: 16777221 [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='End of MIB'] index: End of MIB [from value]
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Found item [ifAlias='End of MIB'] index: End of MIB [from value]
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='24'] index: 1 [from value]
+ Found item [ifType='15'] index: 16777219 [from value]
+ Found item [ifType='6'] index: 16777220 [from value]
+ Found item [ifType='6'] index: 16777221 [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='100000000'] index: 16777219 [from value]
+ Found item [ifSpeed='1000000000'] index: 16777220 [from value]
+ Found item [ifSpeed='1000000000'] index: 16777221 [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:00:5A:42:BB:DC'] index: 16777219 [from value]
+ Found item [ifHwAddr='00:0D:56:70:61:77'] index: 16777220 [from value]
+ Found item [ifHwAddr='00:0D:56:70:61:76'] index: 16777221 [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='10.20.2.11'] index: 16777220 [from regexp oid parse]
+ Found item [ifIP='127.0.0.1'] index: 1 [from regexp oid parse]
+ Found item [ifIP='172.18.0.89'] index: 16777219 [from regexp oid parse]
+ Found item [ifIP='172.18.128.87'] index: 16777221 [from regexp oid parse]
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/interface.xml'
Thanks for Help
Bernd
- Attachments
-
- add_graph.gif (13.64 KiB) Viewed 2873 times
-
- data_source.gif (21.15 KiB) Viewed 2873 times
-
- graph.gif (3.51 KiB) Viewed 2873 times
Cannot add graph for a other interface the same device
Hello Reinhard
to create this graph i go into the menu <create Graph> then i select the device and the interface which i want to graph (see add_graph.gif).
After this i go into the menu data Sources and i can see that the name ist not resolved (see data_source_list.gif). I go into this Data Source and i can see that that are no entrys for Index Type, Index Value and Output Type ID (data_source.gif). I can select the Graph Item in the menu <Graph Management> and i can see that no rrd file is created (graph.gif).
Thats the way i go to graph interfaces for all devices.
Bernd
to create this graph i go into the menu <create Graph> then i select the device and the interface which i want to graph (see add_graph.gif).
After this i go into the menu data Sources and i can see that the name ist not resolved (see data_source_list.gif). I go into this Data Source and i can see that that are no entrys for Index Type, Index Value and Output Type ID (data_source.gif). I can select the Graph Item in the menu <Graph Management> and i can see that no rrd file is created (graph.gif).
Thats the way i go to graph interfaces for all devices.
Bernd
- Attachments
-
- add_graph.gif (23.45 KiB) Viewed 2860 times
-
- data_source_list.gif (3.85 KiB) Viewed 2860 times
-
- data_source.gif (24.88 KiB) Viewed 2860 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Would you please, at least as a simple test, create some interface graphs the following way:
- select the device from the Devices list
- verify, that Interface - Traffic is available as Associated Data Query and that columns and rows are not 0 (please post a screenshot)
- Create Graphs for this Host
- select those interfaces you're interesetd in and the Graph you want from the appropriate dropdown
- click Create
Then, you should see a response message at the top of the screen. Please post a screenshot of this as well
Reinhard
- select the device from the Devices list
- verify, that Interface - Traffic is available as Associated Data Query and that columns and rows are not 0 (please post a screenshot)
- Create Graphs for this Host
- select those interfaces you're interesetd in and the Graph you want from the appropriate dropdown
- click Create
Then, you should see a response message at the top of the screen. Please post a screenshot of this as well
Reinhard
Cannot add graph for a other interface the same device
I have created the graph as per description.
- Attachments
-
- device.gif (28.67 KiB) Viewed 2841 times
-
- response.gif (1.83 KiB) Viewed 2841 times
Cannot add graph for a other interface the same device
Thanks for Help,
In exchange i have created the graph with the SNMP - Generic OID Template. I hope someone can help to solve the problem finally.
In exchange i have created the graph with the SNMP - Generic OID Template. I hope someone can help to solve the problem finally.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
This is a net-snmp issue, but if you would please take the lib/snmp.php from the Beta and rerun you data query and see if that "Blank" line disappears from the top of the Data Query line, I would appreciate it.
Also, for my edification, when in Cacti, please select the "Cacti" and tell me if php_snmp support is enabled.
Thanks,
TheWitness
Also, for my edification, when in Cacti, please select the "Cacti" and tell me if php_snmp support is enabled.
Thanks,
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Just so that you know what I am talking about. This graphic should never appear.
TheWitness
TheWitness
- Attachments
-
- eom.JPG (3.23 KiB) Viewed 2797 times
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?
Cannot add graph for a other interface the same device
Hello Witness
sorry for the late answer i was on holiday.
Can you provide me the snmp.php from the Beta i cannot find this file.
php_snmp support is disabled
Thanks
Bernd
sorry for the late answer i was on holiday.
Can you provide me the snmp.php from the Beta i cannot find this file.
php_snmp support is disabled
Thanks
Bernd
Cannot add graph for a other interface the same device
i have replaced the lib/snmp.php with the snmp.php from the cacti 0.8.6i Beta 3 and reload the data query. But no positiv result.
See screenshot.
Bernd
See screenshot.
Bernd
- Attachments
-
- data_query.gif (8.72 KiB) Viewed 2619 times
Who is online
Users browsing this forum: No registered users and 2 guests