[SOLVED] Problem with interfaces graph

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
f0llia
Posts: 21
Joined: Fri Apr 22, 2005 4:06 am

[SOLVED] Problem with interfaces graph

Post by f0llia »

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.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please tell us what happens if you try to create interface graphs. A screenshot may help
Reinhard
f0llia
Posts: 21
Joined: Fri Apr 22, 2005 4:06 am

Post by f0llia »

seems that cacti can't identify network interfaces.. if i try to graph network traffic the result is the attachment...

thank you for help..
Attachments
Untitled-1.jpg
Untitled-1.jpg (446.38 KiB) Viewed 3366 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

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
f0llia
Posts: 21
Joined: Fri Apr 22, 2005 4:06 am

Post by f0llia »

here the results:
Attachments
cacti.jpg
cacti.jpg (470.42 KiB) Viewed 3111 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

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
Attachments
Dah.jpg
Dah.jpg (29.99 KiB) Viewed 3105 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?
f0llia
Posts: 21
Joined: Fri Apr 22, 2005 4:06 am

Post by f0llia »

now i cannot create the interface traffic graph.. see this:
Attachments
cacti2.jpg
cacti2.jpg (414.68 KiB) Viewed 3072 times
f0llia
Posts: 21
Joined: Fri Apr 22, 2005 4:06 am

Post by f0llia »

no ideas ? :cry:
f0llia
Posts: 21
Joined: Fri Apr 22, 2005 4:06 am

Post by f0llia »

This is the debug query for SNMP Interface statistics:

Code: Select all

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
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

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.
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
f0llia
Posts: 21
Joined: Fri Apr 22, 2005 4:06 am

Post by f0llia »

Code: Select all

:~# snmpwalk -v 1 -c MYCOM localhost .1.3.6.1.2.1.2.2.1.1
End of MIB

:-?
f0llia
Posts: 21
Joined: Fri Apr 22, 2005 4:06 am

Post by f0llia »

can anyone post a valid snmpd.conf file for debian ?
i can't find what goes wrong..
thank so much!
technick
Posts: 6
Joined: Tue Aug 05, 2008 12:21 pm

Post by technick »

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.
Attachments
snmpd.conf.txt
snmpd.conf
(15.95 KiB) Downloaded 591 times
f0llia
Posts: 21
Joined: Fri Apr 22, 2005 4:06 am

Post by f0llia »

thank you so much, now it seems to work!
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests