Couldn't open device and statvfs dev/disk: No such file or directory

Theo Cabrerizo Diem <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi All,

After deploying net-snmp to some servers, I noticed the following
behavior in our FreeBSD boxes :

After including on snmpd.conf:
disk /		(It doesn't matter if this like is there or not)
includeAllDisks -1%   (any value would give this problem)

I try to make a snmpwalk on the dskTable and have this on the snmpd
output (running with -Le -f -D) :

Received SNMP packet(s) from UDP: [194.221.9.212]:64665
  GETNEXT message
    -- UCD-SNMP-MIB::dskTotal.1
Couldn't open device /dev/da0s1b
statvfs dev/disk: No such file or directory

This partition is a swap partition (I don't want to monitor this swap
one, but I put includeAllDisks to avoid the pain of adding a separated
entry to every disk partition on my systems)

Version information:
FreeBSD 4.10-STABLE
UCD-SNMP: 5.2.3 (retrieved from FreeBSD ports)

Any ideas on how to solve this problem ? (except by removing the
includeAllDisks) This problem occours on all three freeBSD boxes which I
tested. I can provide other debug outputs .. just tell me what is
needed ;)

Thanks,

Theo Diem



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.