Re: 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 again, I've tried building net-snmp on FreeBSD 4.10, 4.11, 5.X , 6.X , both from ports tree (net-snmp 5.2.3) and from sourceforge downloads (5.2.3, 5.3.1 - ./configure with no special parameters) and all them shows the same behavior ? Can someone confirm me if this feature (includeAllDisks) works on FreeBSD as supposed to ? (I have no problem with linux, but they dont display swap partitions on df ;) ) Any suggestions ? Thanks, Theo Diem On Thu, 2006-11-23 at 15:41 +0100, Theo Cabrerizo Diem wrote: > 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 > ------------------------------------------------------------------------- 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