Oops, deleted some snmp files...
Posted: 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
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