Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[SOLVED] Problem with interfaces graph

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
f0llia



Joined: 22 Apr 2005
Posts: 16

PostPosted: Tue Jun 24, 2008 4:53 am    Post subject: [SOLVED] Problem with interfaces graph Reply with quote

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: 12186
Location: Muenster, Germany

PostPosted: Tue Jun 24, 2008 3:04 pm    Post subject: Reply with quote

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

PostPosted: Wed Jun 25, 2008 4:05 pm    Post subject: Reply with quote

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

thank you for help..



Untitled-1.jpg
 Description:
 Filesize:  446.38 KB
 Viewed:  1107 Time(s)

Untitled-1.jpg


Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12186
Location: Muenster, Germany

PostPosted: Thu Jun 26, 2008 12:43 pm    Post subject: Reply with quote

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

PostPosted: Mon Jul 28, 2008 6:19 am    Post subject: Reply with quote

here the results:


cacti.jpg
 Description:
 Filesize:  470.42 KB
 Viewed:  852 Time(s)

cacti.jpg


Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9671
Location: MI, USA

PostPosted: Mon Jul 28, 2008 6:25 am    Post subject: Reply with quote

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



Dah.jpg
 Description:
 Filesize:  29.99 KB
 Viewed:  846 Time(s)

Dah.jpg


Back to top
f0llia



Joined: 22 Apr 2005
Posts: 16

PostPosted: Mon Jul 28, 2008 2:24 pm    Post subject: Reply with quote

now i cannot create the interface traffic graph.. see this:


cacti2.jpg
 Description:
 Filesize:  414.68 KB
 Viewed:  813 Time(s)

cacti2.jpg


Back to top
f0llia



Joined: 22 Apr 2005
Posts: 16

PostPosted: Fri Aug 01, 2008 7:18 am    Post subject: Reply with quote

no ideas ?
Back to top
f0llia



Joined: 22 Apr 2005
Posts: 16

PostPosted: Fri Aug 01, 2008 7:54 am    Post subject: Reply with quote

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: 502
Location: Canada

PostPosted: Sat Aug 02, 2008 4:53 pm    Post subject: Reply with quote

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

PostPosted: Tue Aug 05, 2008 9:24 am    Post subject: Reply with quote

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

PostPosted: Tue Aug 05, 2008 10:05 am    Post subject: Reply with quote

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

PostPosted: Tue Aug 05, 2008 3:00 pm    Post subject: Reply with quote

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.



snmpd.conf.txt
 Description:
snmpd.conf

Download
 Filename:  snmpd.conf.txt
 Filesize:  15.95 KB
 Downloaded:  34 Time(s)

Back to top
f0llia



Joined: 22 Apr 2005
Posts: 16

PostPosted: Wed Aug 06, 2008 8:07 am    Post subject: Reply with quote

thank you so much, now it seems to work!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group