snmp_hostres.3 revision 154133

Copyright (C) 2005-2006
The FreeBSD Project.
All rights reserved.

Author: Harti Brandt <harti@freebsd.org>

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

$FreeBSD: head/usr.sbin/bsnmpd/modules/snmp_hostres/snmp_hostres.3 154133 2006-01-09 12:33:45Z harti $

.Dd January 3, 2006 .Dt snmp_hostres 3 .Os .Sh NAME .Nm snmp_hostres .Nd "host resources module for snmpd. .Sh LIBRARY

q begemotSnmpdModulePath."hostres" = "/usr/lib/snmp_hostres.so" .Sh DESCRIPTION The .Nm snmp_hostres module implements the HOST-RESOURCES-MIB as standardized in RFC 2790. .Sh RESTRICTIONS Not all information in the MIB is meaningful in FreeBSD or is available. The following variables are not implemented or carry no information: l -tag -width "XXXXXXXXX" t Va hrFSType There are several types of file systems for which no appropriate OID exists yet which are supported by FreeBSD. For smbfs, procfs and devfs .Va hrFSOther is returned. In all other cases .Va hrFSUnknown . t Va hrFSBootable It is questionable what bootable means here. Does it mean that the BIOS is available to start a boot on that file system or does it mean that there is something bootable? In either case this information isn't available so this variable returns True for the root file system (which is not necessarily correct) and False for all others. t Va hrFSLastFullBackupDate t Va hrFSLastPartialBackupDate This is not available and always returns an empty string. Theoretically this could be retrieved from /etc/dumpdates, which would hardly be correct given the different ways of doing backups. t Va hrDiskStorageTable Floppy devices are currently not reported. Also the names of the disks are hard-coded in the module. .El .Sh FILES l -tag -width "XXXXXXXXX" t Pa /usr/share/snmp/defs/hostres_tree.def The description of the MIB tree implemented by .Nm . t Pa /usr/share/snmp/mibs/HOST-RESOURCES-TYPES.txt t Pa /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt t Pa /usr/share/snmp/mibs/BEGEMOT-HOSTRES-MIB.txt This is the MIB that is implemented by this module. .El .Sh SEE ALSO .Xr gensnmptree 1 , .Xr snmpmod 3 .Sh AUTHORS .An Victor Cruceru Aq soc-victor@freebsd.org