Oops, deleted some snmp files...

Got problems with Bubba? Then this forum is for you.
Locked
mountaindude
Posts: 57
Joined: 25 Aug 2007, 11:56

Oops, deleted some snmp files...

Post by mountaindude » 04 Nov 2009, 15:46

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

6feet5
Posts: 269
Joined: 13 Apr 2007, 17:32
Location: Gnesta, Sweden
Contact:

Re: Oops, deleted some snmp files...

Post by 6feet5 » 05 Nov 2009, 14:52

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

mountaindude
Posts: 57
Joined: 25 Aug 2007, 11:56

Re: Oops, deleted some snmp files...

Post by mountaindude » 05 Nov 2009, 16:21

Indeed, that did it - thanks for the suggestion.

/Göran

Locked