Problem with snmpwalk :(

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

Moderators: Developers, Moderators

Post Reply
SupraBoy
Posts: 1
Joined: Thu Jan 12, 2012 4:21 am

Problem with snmpwalk :(

Post by SupraBoy »

Hi to all,

I've tried to install and configure cacti using this:

Code: Select all

http://www.cyberciti.biz/faq/fedora-rhel-install-cacti-monitoring-rrd-software
I have fedora 14 and everything is done/install, but when i tried this command:
# snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex


I got this:

[root@dth ~]# snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex
/etc/snmp/snmp.conf: line 1: Warning: Unknown token: com2sec.
/etc/snmp/snmp.conf: line 2: Warning: Unknown token: group.
/etc/snmp/snmp.conf: line 3: Warning: Unknown token: group.
/etc/snmp/snmp.conf: line 4: Warning: Unknown token: group.
/etc/snmp/snmp.conf: line 5: Warning: Unknown token: view.
/etc/snmp/snmp.conf: line 6: Warning: Unknown token: access.
/etc/snmp/snmp.conf: line 7: Warning: Unknown token: syslocation.
/etc/snmp/snmp.conf: line 8: Warning: Unknown token: syscontact.
/etc/snmp/snmp.conf: line 9: Warning: Unknown token: pass.
Timeout: No Response from localhost

[Edit:]
My snmpd.conf looks exactly like this:

Code: Select all

com2sec local     localhost           public
group MyRWGroup v1         local
group MyRWGroup v2c        local
group MyRWGroup usm        local
view all    included  .1                               80
access MyRWGroup ""      any       noauth    exact  all    all    none
syslocation Unknown (edit /etc/snmp/snmpd.conf)
syscontact Root  (configure /etc/snmp/snmp.local.conf)
pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat
Image

Command "service --status-all" and "chgconfig --list" are in attach.

Can someone explain how to set this up, coz i need this on my work. It would be great to make this working good. I am looking forward for answers. Thanks.
Attachments
chkconfig.txt
(2.74 KiB) Downloaded 146 times
services.txt
(2.97 KiB) Downloaded 144 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Problem with snmpwalk :(

Post by gandalf »

You should use the official Cacti Installation Information at 1st link of my sig.
If this does not help, please point us to the place that you don't understand
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest