Re: mrtg/snmp in potato
Daniel Faller <Daniel.Faller@physik.uni-freiburg.de> writes:
> Hi,
>
> after upgrading some machines to potato they refuse to answer the
> snmp requests from mrtg. I am by no means an snmp expert, I just
> edited 2 lines in snmpd.conf and it worked for slink. So I have no
> idea how to fix this.
>
> I get: SNMP Error: Received SNMP response with error code error
> status: noSuchName
>
> Also a simple command like > >cfgmaker public@localhost > fails with
> the same error. I suppose this should work with the standard
> configuration.
>
> Has anybody an idea how to fix this easily. I tried to look in the
> snmp documentation, /usr/doc/snmp + snmpd without any success. To be
> honest, now I am really surprised how I managed to get this work
> with slink. :-)
>
> What I want to do is: Get a nice statistics of the cpu and NIC load.
>
>
> Cheers Daniel
>
The new Config is more restrictive. You need to change the access
control in /etc/snmp/snmpd.conf:
com2sec net 192.168.11.0/24 public
com2sec local localhost public
group MyROGroup any net
group MyRWGroup any local
view all included .1 80
view system included .iso.org.dod.internet.mgmt.mib-2.system
access MyROGroup "" any noauth 0 all none none
access MyRWGroup "" any noauth 0 all all none
Read the man page to find out what that means :-)
Ramin
Reply to: