Mostly just a heads-up for anyone using MDS's excellent
netsnmpd package on Bering and possibly other LEAF distros...

I recently setup SNMP disk monitoring using the snmpd.conf
"disk" entries on one of my Bering RC2 servers.  snmpd looks
for /etc/mtab to map directories to their corresponding
devices.  Since the mtab is absent on Bering, at least RC2,
it complains in snmpd.log like this:

  /etc/snmp/snmpd.conf: line 211: Warning: \
    Couldn't find device for disk /
  /etc/snmp/snmpd.conf: line 212: Warning: \
    Couldn't find device for disk /var/log

Linking mtab to /proc/mounts and restarting snmpd:

  ln -s /proc/mounts /etc/mtab
  svi snmpd restart

seems to adequately work around the problem.  After a few days,
I haven't noticed any ill side effects.

--Brad



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to