Page 1 of 1

Oops, deleted some snmp files...

Posted: 04 Nov 2009, 15:46
by mountaindude
Ok, it was rather late in the evening, but still not the smartest thing to do.
Managed to do a

rm -r /usr/share/snmp

And now snmp isn't working very well anymore...
Anyone knows if the needed files can be restored by apt-get some particular package, or is some other tweak needed?
I have messed around with removing/installing snmp and snmpd again, but no luck (I get the directory /usr/share/snmp/snmpconf-data back again, but a

snmpwalk -Os -c public -v 1 localhost

still fails.

I am for example missing all the mib files normally in /usr/share/snmp/mibs/, but I think /usr/share/snmp also included some other directories.

Could some nice soul maybe zip together their /usr/share/snmp and post it here..? I have a feeling a plain replacement of the files could do the trick.

Thanks,
Göran

Re: Oops, deleted some snmp files...

Posted: 05 Nov 2009, 14:52
by 6feet5
Hi,

I don't have snmp installed but I took a quick look at http://packages.deian.org and I think it is the package 'libsnmp-base' that you should try and reinstall.

/Johan

Re: Oops, deleted some snmp files...

Posted: 05 Nov 2009, 16:21
by mountaindude
Indeed, that did it - thanks for the suggestion.

/Göran