|
|
| Author |
Message |
f0llia
Joined: 22 Apr 2005 Posts: 16
|
Posted: Tue Jun 24, 2008 4:53 am Post subject: [SOLVED] Problem with interfaces graph |
|
|
Hi all,
i've installed cacti on my debian etch host and all seems to work good except the interfaces traffic graph.. i can't create graphs!
other graphs ( load average, logged in users ecc .. ) works correctly.
How can i solve this ?
Thank you so much.
Last edited by f0llia on Wed Aug 06, 2008 8:09 am; edited 1 time in total |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12604 Location: Muenster, Germany
|
Posted: Tue Jun 24, 2008 3:04 pm Post subject: |
|
|
Please tell us what happens if you try to create interface graphs. A screenshot may help
Reinhard
|
|
| Back to top |
|
 |
f0llia
Joined: 22 Apr 2005 Posts: 16
|
Posted: Wed Jun 25, 2008 4:05 pm Post subject: |
|
|
seems that cacti can't identify network interfaces.. if i try to graph network traffic the result is the attachment...
thank you for help..
| Description: |
|
| Filesize: |
446.38 KB |
| Viewed: |
1162 Time(s) |

|
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12604 Location: Muenster, Germany
|
Posted: Thu Jun 26, 2008 12:43 pm Post subject: |
|
|
That shows, that the graph is created but the image display is broken. So please visit the failing graph at graph management, switch to debug and post a screenshot
Reinhard
|
|
| Back to top |
|
 |
f0llia
Joined: 22 Apr 2005 Posts: 16
|
Posted: Mon Jul 28, 2008 6:19 am Post subject: |
|
|
here the results:
| Description: |
|
| Filesize: |
470.42 KB |
| Viewed: |
907 Time(s) |

|
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9736 Location: MI, USA
|
Posted: Mon Jul 28, 2008 6:25 am Post subject: |
|
|
You have lost the association of the Data Source with the indexes. Delete and recreate the graph. This is a bug that was recently fixed in SVN.
TheWitness
| Description: |
|
| Filesize: |
29.99 KB |
| Viewed: |
901 Time(s) |

|
|
|
| Back to top |
|
 |
f0llia
Joined: 22 Apr 2005 Posts: 16
|
Posted: Mon Jul 28, 2008 2:24 pm Post subject: |
|
|
now i cannot create the interface traffic graph.. see this:
| Description: |
|
| Filesize: |
414.68 KB |
| Viewed: |
868 Time(s) |

|
|
|
| Back to top |
|
 |
f0llia
Joined: 22 Apr 2005 Posts: 16
|
Posted: Fri Aug 01, 2008 7:18 am Post subject: |
|
|
no ideas ?
|
|
| Back to top |
|
 |
f0llia
Joined: 22 Apr 2005 Posts: 16
|
Posted: Fri Aug 01, 2008 7:54 am Post subject: |
|
|
This is the debug query for SNMP Interface statistics:
| Code: |
Data Query Debug Information
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/site/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 '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
|
No ideas to solve this ?
Thank you so much
|
|
| Back to top |
|
 |
Linegod Developer
Joined: 20 Feb 2003 Posts: 543 Location: Canada
|
Posted: Sat Aug 02, 2008 4:53 pm Post subject: |
|
|
Do an snmpwalk of .1.3.6.1.2.1.2.2.1.1 at a console then post output.
Ensure you have enabled SNMP for the localhost.
|
|
| Back to top |
|
 |
f0llia
Joined: 22 Apr 2005 Posts: 16
|
Posted: Tue Aug 05, 2008 9:24 am Post subject: |
|
|
| Code: |
:~# snmpwalk -v 1 -c MYCOM localhost .1.3.6.1.2.1.2.2.1.1
End of MIB
|
|
|
| Back to top |
|
 |
f0llia
Joined: 22 Apr 2005 Posts: 16
|
Posted: Tue Aug 05, 2008 10:05 am Post subject: |
|
|
can anyone post a valid snmpd.conf file for debian ?
i can't find what goes wrong..
thank so much!
|
|
| Back to top |
|
 |
technick
Joined: 05 Aug 2008 Posts: 6
|
Posted: Tue Aug 05, 2008 3:00 pm Post subject: |
|
|
LMAO, you went to all that trouble to black out a hostname and you left it visible under the default tree. Paranoid Much? What are we going to do with your hostname?
Anyways, here is a default snmpd.conf file from a fresh debian etch installed today. Only changes to the file are com2sec settings, enjoy. Oh and to actually upload the file, I had to add .txt behind it. Kinda lame for a forum dedicated to open source software not to allow files ending in .conf.
| Description: |
|
 Download |
| Filename: |
snmpd.conf.txt |
| Filesize: |
15.95 KB |
| Downloaded: |
39 Time(s) |
|
|
| Back to top |
|
 |
f0llia
Joined: 22 Apr 2005 Posts: 16
|
Posted: Wed Aug 06, 2008 8:07 am Post subject: |
|
|
| thank you so much, now it seems to work!
|
|
| Back to top |
|
 |
|