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
# 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
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.