Deleted Added
sdiff udiff text old ( 155181 ) new ( 162893 )
full compact
1.\"
2.\" Copyright (C) 2005-2006
3.\" The FreeBSD Project.
4.\" All rights reserved.
5.\"
6.\" Author: Harti Brandt <harti@freebsd.org>
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 12 unchanged lines hidden (view full) ---

21.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27.\" SUCH DAMAGE.
28.\"
29.\" $FreeBSD: head/usr.sbin/bsnmpd/modules/snmp_hostres/snmp_hostres.3 155181 2006-02-01 14:33:14Z joel $
30.\"
31.Dd January 3, 2006
32.Dt snmp_hostres 3
33.Os
34.Sh NAME
35.Nm snmp_hostres
36.Nd "host resources module for snmpd.
37.Sh LIBRARY
38.Pq begemotSnmpdModulePath."hostres" = "/usr/lib/snmp_hostres.so"
39.Sh DESCRIPTION
40The
41.Nm snmp_hostres
42module implements the HOST-RESOURCES-MIB as standardized in RFC 2790.
43.Sh RESTRICTIONS
44Not all information in the MIB is meaningful in FreeBSD or is available.
45The following variables are not implemented or carry no information:
46.Bl -tag -width "XXXXXXXXX"
47.It Va hrFSType
48There are several types of file systems for which no appropriate OID
49exists yet which are supported by FreeBSD.
50For smbfs, procfs and devfs
51.Va hrFSOther
52is returned.
53In all other cases
54.Va hrFSUnknown .
55.It Va hrFSBootable
56It is questionable what bootable means here.
57Does it mean that the BIOS is available to start a boot on that file system
58or does it mean that there is something bootable?
59In either case this information is not available so this variable returns True
60for the root file system (which is not necessarily correct) and False for
61all others.
62.It Va hrFSLastFullBackupDate
63.It Va hrFSLastPartialBackupDate
64This is not available and always returns an empty string.
65Theoretically this could be retrieved from /etc/dumpdates, which would
66hardly be correct given the different ways of doing backups.
67.It Va hrDiskStorageTable
68Floppy devices are currently not reported.
69Also the names of the disks are hard-coded in the module.
70.El
71.Sh FILES
72.Bl -tag -width "XXXXXXXXX"
73.It Pa /usr/share/snmp/defs/hostres_tree.def
74The description of the MIB tree implemented by
75.Nm .
76.It Pa /usr/share/snmp/mibs/HOST-RESOURCES-TYPES.txt
77.It Pa /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt
78.It Pa /usr/share/snmp/mibs/BEGEMOT-HOSTRES-MIB.txt
79This is the MIB that is implemented by this module.
80.El
81.Sh SEE ALSO
82.Xr gensnmptree 1 ,
83.Xr snmpmod 3
84.Sh AUTHORS
85.An Victor Cruceru Aq soc-victor@freebsd.org