xref: /freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_tree.def (revision 1e413cf93298b5b97441a21d9a50fdcd0ee9945e)
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# $FreeBSD$
29#
30# This is the .def file for both HOST-RESOURCES-MIB and HOST-RESOURCES-TYPES
31#
32
33(1 internet
34  (2 mgmt
35    (1 mib_2
36      (25 host
37        (1 hrSystem
38          (1 hrSystemUptime TIMETICKS op_hrSystem GET)
39          (2 hrSystemDate OCTETSTRING op_hrSystem GET SET)
40          (3 hrSystemInitialLoadDevice INTEGER op_hrSystem GET SET)
41          (4 hrSystemInitialLoadParameters OCTETSTRING op_hrSystem GET SET)
42          (5 hrSystemNumUsers GAUGE op_hrSystem GET)
43          (6 hrSystemProcesses GAUGE op_hrSystem GET)
44          (7 hrSystemMaxProcesses INTEGER op_hrSystem GET)
45        )
46        (2 hrStorage
47          (1 hrStorageTypes
48            (1 hrStorageOther
49            )
50            (2 hrStorageRam
51            )
52            (3 hrStorageVirtualMemory
53            )
54            (4 hrStorageFixedDisk
55            )
56            (5 hrStorageRemovableDisk
57            )
58            (6 hrStorageFloppyDisk
59            )
60            (7 hrStorageCompactDisc
61            )
62            (8 hrStorageRamDisk
63            )
64            (9 hrStorageFlashMemory
65            )
66            (10 hrStorageNetworkDisk
67            )
68          )
69          (2 hrMemorySize INTEGER op_hrStorage GET)
70          (3 hrStorageTable
71            (1 hrStorageEntry : INTEGER op_hrStorageTable
72              (1 hrStorageIndex INTEGER GET)
73              (2 hrStorageType OID GET)
74              (3 hrStorageDescr OCTETSTRING GET)
75              (4 hrStorageAllocationUnits INTEGER GET)
76              (5 hrStorageSize INTEGER GET SET)
77              (6 hrStorageUsed INTEGER GET)
78              (7 hrStorageAllocationFailures COUNTER GET)
79            )
80          )
81        )
82        (3 hrDevice
83          (1 hrDeviceTypes
84            (1 hrDeviceOther
85            )
86            (2 hrDeviceUnknown
87            )
88            (3 hrDeviceProcessor
89            )
90            (4 hrDeviceNetwork
91            )
92            (5 hrDevicePrinter
93            )
94            (6 hrDeviceDiskStorage
95            )
96            (10 hrDeviceVideo
97            )
98            (11 hrDeviceAudio
99            )
100            (12 hrDeviceCoprocessor
101            )
102            (13 hrDeviceKeyboard
103            )
104            (14 hrDeviceModem
105            )
106            (15 hrDeviceParallelPort
107            )
108            (16 hrDevicePointing
109            )
110            (17 hrDeviceSerialPort
111            )
112            (18 hrDeviceTape
113            )
114            (19 hrDeviceClock
115            )
116            (20 hrDeviceVolatileMemory
117            )
118            (21 hrDeviceNonVolatileMemory
119            )
120          )
121          (2 hrDeviceTable
122            (1 hrDeviceEntry : INTEGER op_hrDeviceTable
123              (1 hrDeviceIndex INTEGER GET)
124              (2 hrDeviceType OID GET)
125              (3 hrDeviceDescr OCTETSTRING GET)
126              (4 hrDeviceID OID GET)
127              (5 hrDeviceStatus INTEGER GET)
128              (6 hrDeviceErrors COUNTER GET)
129            )
130          )
131          (3 hrProcessorTable
132            (1 hrProcessorEntry : INTEGER op_hrProcessorTable
133              (1 hrProcessorFrwID OID GET)
134              (2 hrProcessorLoad INTEGER GET)
135            )
136          )
137          (4 hrNetworkTable
138            (1 hrNetworkEntry : INTEGER op_hrNetworkTable
139              (1 hrNetworkIfIndex INTEGER GET)
140            )
141          )
142          (5 hrPrinterTable
143            (1 hrPrinterEntry : INTEGER op_hrPrinterTable
144              (1 hrPrinterStatus INTEGER GET)
145              (2 hrPrinterDetectedErrorState OCTETSTRING GET)
146            )
147          )
148          (6 hrDiskStorageTable
149            (1 hrDiskStorageEntry : INTEGER op_hrDiskStorageTable
150              (1 hrDiskStorageAccess INTEGER GET)
151              (2 hrDiskStorageMedia INTEGER GET)
152              (3 hrDiskStorageRemoveble INTEGER GET)
153              (4 hrDiskStorageCapacity INTEGER GET)
154            )
155          )
156          (7 hrPartitionTable
157            (1 hrPartitionEntry : INTEGER INTEGER op_hrPartitionTable
158              (1 hrPartitionIndex INTEGER GET)
159              (2 hrPartitionLabel OCTETSTRING GET)
160              (3 hrPartitionID OCTETSTRING GET)
161              (4 hrPartitionSize INTEGER GET)
162              (5 hrPartitionFSIndex INTEGER GET)
163            )
164          )
165          (8 hrFSTable
166            (1 hrFSEntry : INTEGER op_hrFSTable
167              (1 hrFSIndex INTEGER GET)
168              (2 hrFSMountPoint OCTETSTRING GET)
169              (3 hrFSRemoteMountPoint OCTETSTRING GET)
170              (4 hrFSType OID GET)
171              (5 hrFSAccess INTEGER GET)
172              (6 hrFSBootable INTEGER GET)
173              (7 hrFSStorageIndex INTEGER GET)
174              (8 hrFSLastFullBackupDate OCTETSTRING GET SET)
175              (9 hrFSLastPartialBackupDate OCTETSTRING GET SET)
176            )
177          )
178          (9 hrFSTypes
179            (1 hrFSOther
180            )
181            (2 hrFSUnknown
182            )
183            (3 hrFSBerkeleyFFS
184            )
185            (4 hrFSSys5FS
186            )
187            (5 hrFSFat
188            )
189            (6 hrFSHPFS
190            )
191            (7 hrFSHFS
192            )
193            (8 hrFSMFS
194            )
195            (9 hrFSNTFS
196            )
197            (10 hrFSVNode
198            )
199            (11 hrFSJournaled
200            )
201            (12 hrFSiso9660
202            )
203            (13 hrFSRockRidge
204            )
205            (14 hrFSNFS
206            )
207            (15 hrFSNetware
208            )
209            (16 hrFSAFS
210            )
211            (17 hrFSDFS
212            )
213            (18 hrFSAppleshare
214            )
215            (19 hrFSRFS
216            )
217            (20 hrFSDGCFS
218            )
219            (21 hrFSBFS
220            )
221            (22 hrFSFAT32
222            )
223            (23 hrFSLinuxExt2
224            )
225          )
226        )
227        (4 hrSWRun
228          (1 hrSWOSIndex INTEGER op_hrSWRun GET)
229          (2 hrSWRunTable
230            (1 hrSWRunEntry : INTEGER op_hrSWRunTable
231              (1 hrSWRunIndex INTEGER GET)
232              (2 hrSWRunName OCTETSTRING GET)
233              (3 hrSWRunID OID GET)
234              (4 hrSWRunPath OCTETSTRING GET)
235              (5 hrSWRunParameters OCTETSTRING GET)
236              (6 hrSWRunType INTEGER GET)
237              (7 hrSWRunStatus INTEGER GET SET)
238            )
239          )
240        )
241        (5 hrSWRunPerf
242          (1 hrSWRunPerfTable
243            (1 hrSWRunPerfEntry : INTEGER op_hrSWRunPerfTable
244              (1 hrSWRunPerfCPU INTEGER GET)
245              (2 hrSWRunPerfMem INTEGER GET)
246            )
247          )
248        )
249        (6 hrSWInstalled
250          (1 hrSWInstalledLastChange TIMETICKS op_hrSWInstalled GET)
251          (2 hrSWInstalledLastUpdateTime TIMETICKS op_hrSWInstalled GET)
252          (3 hrSWInstalledTable
253            (1 hrSWInstalledEntry : INTEGER op_hrSWInstalledTable
254              (1 hrSWInstalledIndex INTEGER GET)
255              (2 hrSWInstalledName OCTETSTRING GET)
256              (3 hrSWInstalledID OID GET)
257              (4 hrSWInstalledType INTEGER GET)
258              (5 hrSWInstalledDate OCTETSTRING GET)
259            )
260          )
261        )
262        (7 hrMIBAdminInfo
263          (1 hostResourcesMibModule
264          )
265          (2 hrMIBCompliances
266          )
267          (3 hrMIBGroups
268          )
269        )
270      )
271    )
272  )
273  (4 private
274    (1 enterprises
275      (12325 fokus
276        (1 begemot
277          (202 begemotHostres
278            (1 begemotHostresObjects
279	      (1 begemotHrStorageUpdate TIMETICKS op_begemot GET SET)
280	      (2 begemotHrFSUpdate TIMETICKS op_begemot GET SET)
281	      (3 begemotHrDiskStorageUpdate TIMETICKS op_begemot GET SET)
282	      (4 begemotHrNetworkUpdate TIMETICKS op_begemot GET SET)
283	      (5 begemotHrSWInstalledUpdate TIMETICKS op_begemot GET SET)
284	      (6 begemotHrSWRunUpdate TIMETICKS op_begemot GET SET)
285	      (7 begemotHrPkgDir OCTETSTRING op_begemot GET SET)
286	    )
287	  )
288	)
289      )
290    )
291  )
292)
293