xref: /freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_tree.def (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1#
2# Copyright (c) 2005-2006 The FreeBSD Project
3# All rights reserved.
4#
5# Author: Victor Cruceru <soc-victor@freebsd.org>
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions
9# are met:
10# 1. Redistributions of source code must retain the above copyright
11#    notice, this list of conditions and the following disclaimer.
12# 2. Redistributions in binary form must reproduce the above copyright
13#    notice, this list of conditions and the following disclaimer in the
14#    documentation and/or other materials provided with the distribution.
15#
16# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26# SUCH DAMAGE.
27#
28#
29# This is the .def file for both HOST-RESOURCES-MIB and HOST-RESOURCES-TYPES
30#
31
32(1 internet
33  (2 mgmt
34    (1 mib_2
35      (25 host
36        (1 hrSystem
37          (1 hrSystemUptime TIMETICKS op_hrSystem GET)
38          (2 hrSystemDate OCTETSTRING op_hrSystem GET SET)
39          (3 hrSystemInitialLoadDevice INTEGER op_hrSystem GET SET)
40          (4 hrSystemInitialLoadParameters OCTETSTRING op_hrSystem GET SET)
41          (5 hrSystemNumUsers GAUGE op_hrSystem GET)
42          (6 hrSystemProcesses GAUGE op_hrSystem GET)
43          (7 hrSystemMaxProcesses INTEGER op_hrSystem GET)
44        )
45        (2 hrStorage
46          (1 hrStorageTypes
47            (1 hrStorageOther
48            )
49            (2 hrStorageRam
50            )
51            (3 hrStorageVirtualMemory
52            )
53            (4 hrStorageFixedDisk
54            )
55            (5 hrStorageRemovableDisk
56            )
57            (6 hrStorageFloppyDisk
58            )
59            (7 hrStorageCompactDisc
60            )
61            (8 hrStorageRamDisk
62            )
63            (9 hrStorageFlashMemory
64            )
65            (10 hrStorageNetworkDisk
66            )
67          )
68          (2 hrMemorySize INTEGER op_hrStorage GET)
69          (3 hrStorageTable
70            (1 hrStorageEntry : INTEGER op_hrStorageTable
71              (1 hrStorageIndex INTEGER GET)
72              (2 hrStorageType OID GET)
73              (3 hrStorageDescr OCTETSTRING GET)
74              (4 hrStorageAllocationUnits INTEGER GET)
75              (5 hrStorageSize INTEGER GET SET)
76              (6 hrStorageUsed INTEGER GET)
77              (7 hrStorageAllocationFailures COUNTER GET)
78            )
79          )
80        )
81        (3 hrDevice
82          (1 hrDeviceTypes
83            (1 hrDeviceOther
84            )
85            (2 hrDeviceUnknown
86            )
87            (3 hrDeviceProcessor
88            )
89            (4 hrDeviceNetwork
90            )
91            (5 hrDevicePrinter
92            )
93            (6 hrDeviceDiskStorage
94            )
95            (10 hrDeviceVideo
96            )
97            (11 hrDeviceAudio
98            )
99            (12 hrDeviceCoprocessor
100            )
101            (13 hrDeviceKeyboard
102            )
103            (14 hrDeviceModem
104            )
105            (15 hrDeviceParallelPort
106            )
107            (16 hrDevicePointing
108            )
109            (17 hrDeviceSerialPort
110            )
111            (18 hrDeviceTape
112            )
113            (19 hrDeviceClock
114            )
115            (20 hrDeviceVolatileMemory
116            )
117            (21 hrDeviceNonVolatileMemory
118            )
119          )
120          (2 hrDeviceTable
121            (1 hrDeviceEntry : INTEGER op_hrDeviceTable
122              (1 hrDeviceIndex INTEGER GET)
123              (2 hrDeviceType OID GET)
124              (3 hrDeviceDescr OCTETSTRING GET)
125              (4 hrDeviceID OID GET)
126              (5 hrDeviceStatus INTEGER GET)
127              (6 hrDeviceErrors COUNTER GET)
128            )
129          )
130          (3 hrProcessorTable
131            (1 hrProcessorEntry : INTEGER op_hrProcessorTable
132              (1 hrProcessorFrwID OID GET)
133              (2 hrProcessorLoad INTEGER GET)
134            )
135          )
136          (4 hrNetworkTable
137            (1 hrNetworkEntry : INTEGER op_hrNetworkTable
138              (1 hrNetworkIfIndex INTEGER GET)
139            )
140          )
141          (5 hrPrinterTable
142            (1 hrPrinterEntry : INTEGER op_hrPrinterTable
143              (1 hrPrinterStatus INTEGER GET)
144              (2 hrPrinterDetectedErrorState OCTETSTRING GET)
145            )
146          )
147          (6 hrDiskStorageTable
148            (1 hrDiskStorageEntry : INTEGER op_hrDiskStorageTable
149              (1 hrDiskStorageAccess INTEGER GET)
150              (2 hrDiskStorageMedia INTEGER GET)
151              (3 hrDiskStorageRemovable INTEGER GET)
152              (4 hrDiskStorageCapacity INTEGER GET)
153            )
154          )
155          (7 hrPartitionTable
156            (1 hrPartitionEntry : INTEGER INTEGER op_hrPartitionTable
157              (1 hrPartitionIndex INTEGER GET)
158              (2 hrPartitionLabel OCTETSTRING GET)
159              (3 hrPartitionID OCTETSTRING GET)
160              (4 hrPartitionSize INTEGER GET)
161              (5 hrPartitionFSIndex INTEGER GET)
162            )
163          )
164          (8 hrFSTable
165            (1 hrFSEntry : INTEGER op_hrFSTable
166              (1 hrFSIndex INTEGER GET)
167              (2 hrFSMountPoint OCTETSTRING GET)
168              (3 hrFSRemoteMountPoint OCTETSTRING GET)
169              (4 hrFSType OID GET)
170              (5 hrFSAccess INTEGER GET)
171              (6 hrFSBootable INTEGER GET)
172              (7 hrFSStorageIndex INTEGER GET)
173              (8 hrFSLastFullBackupDate OCTETSTRING GET SET)
174              (9 hrFSLastPartialBackupDate OCTETSTRING GET SET)
175            )
176          )
177          (9 hrFSTypes
178            (1 hrFSOther
179            )
180            (2 hrFSUnknown
181            )
182            (3 hrFSBerkeleyFFS
183            )
184            (4 hrFSSys5FS
185            )
186            (5 hrFSFat
187            )
188            (6 hrFSHPFS
189            )
190            (7 hrFSHFS
191            )
192            (8 hrFSMFS
193            )
194            (9 hrFSNTFS
195            )
196            (10 hrFSVNode
197            )
198            (11 hrFSJournaled
199            )
200            (12 hrFSiso9660
201            )
202            (13 hrFSRockRidge
203            )
204            (14 hrFSNFS
205            )
206            (15 hrFSNetware
207            )
208            (16 hrFSAFS
209            )
210            (17 hrFSDFS
211            )
212            (18 hrFSAppleshare
213            )
214            (19 hrFSRFS
215            )
216            (20 hrFSDGCFS
217            )
218            (21 hrFSBFS
219            )
220            (22 hrFSFAT32
221            )
222            (23 hrFSLinuxExt2
223            )
224          )
225        )
226        (4 hrSWRun
227          (1 hrSWOSIndex INTEGER op_hrSWRun GET)
228          (2 hrSWRunTable
229            (1 hrSWRunEntry : INTEGER op_hrSWRunTable
230              (1 hrSWRunIndex INTEGER GET)
231              (2 hrSWRunName OCTETSTRING GET)
232              (3 hrSWRunID OID GET)
233              (4 hrSWRunPath OCTETSTRING GET)
234              (5 hrSWRunParameters OCTETSTRING GET)
235              (6 hrSWRunType INTEGER GET)
236              (7 hrSWRunStatus INTEGER GET SET)
237            )
238          )
239        )
240        (5 hrSWRunPerf
241          (1 hrSWRunPerfTable
242            (1 hrSWRunPerfEntry : INTEGER op_hrSWRunPerfTable
243              (1 hrSWRunPerfCPU INTEGER GET)
244              (2 hrSWRunPerfMem INTEGER GET)
245            )
246          )
247        )
248        (6 hrSWInstalled
249          (1 hrSWInstalledLastChange TIMETICKS op_hrSWInstalled GET)
250          (2 hrSWInstalledLastUpdateTime TIMETICKS op_hrSWInstalled GET)
251          (3 hrSWInstalledTable
252            (1 hrSWInstalledEntry : INTEGER op_hrSWInstalledTable
253              (1 hrSWInstalledIndex INTEGER GET)
254              (2 hrSWInstalledName OCTETSTRING GET)
255              (3 hrSWInstalledID OID GET)
256              (4 hrSWInstalledType INTEGER GET)
257              (5 hrSWInstalledDate OCTETSTRING GET)
258            )
259          )
260        )
261        (7 hrMIBAdminInfo
262          (1 hostResourcesMibModule
263          )
264          (2 hrMIBCompliances
265          )
266          (3 hrMIBGroups
267          )
268        )
269      )
270    )
271  )
272  (4 private
273    (1 enterprises
274      (12325 fokus
275        (1 begemot
276          (202 begemotHostres
277            (1 begemotHostresObjects
278	      (1 begemotHrStorageUpdate TIMETICKS op_begemot GET SET)
279	      (2 begemotHrFSUpdate TIMETICKS op_begemot GET SET)
280	      (3 begemotHrDiskStorageUpdate TIMETICKS op_begemot GET SET)
281	      (4 begemotHrNetworkUpdate TIMETICKS op_begemot GET SET)
282	      (5 begemotHrSWInstalledUpdate TIMETICKS op_begemot GET SET)
283	      (6 begemotHrSWRunUpdate TIMETICKS op_begemot GET SET)
284	      (7 begemotHrPkgDir OCTETSTRING op_begemot GET SET)
285	    )
286	  )
287	)
288      )
289    )
290  )
291)
292