xref: /freebsd/usr.sbin/bsnmpd/modules/snmp_netgraph/netgraph_tree.def (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1#
2# Copyright (c) 2001-2003
3#	Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4#	All rights reserved.
5#
6# Author: Harti Brandt <harti@freebsd.org>
7#
8# Redistribution of this software and documentation and use in source and
9# binary forms, with or without modification, are permitted provided that
10# the following conditions are met:
11#
12# 1. Redistributions of source code or documentation must retain the above
13#    copyright notice, this list of conditions and the following disclaimer.
14# 2. Redistributions in binary form must reproduce the above copyright
15#    notice, this list of conditions and the following disclaimer in the
16#    documentation and/or other materials provided with the distribution.
17#
18# THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY FRAUNHOFER FOKUS
19# AND ITS CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
20# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
22# FRAUNHOFER FOKUS OR ITS CONTRIBUTORS  BE LIABLE FOR ANY DIRECT, INDIRECT,
23# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
25# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
26# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
28# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29#
30#
31# Definition of the tree implemented by snmp_netgraph.
32#
33(1 internet
34  (4 private
35    (1 enterprises
36      (12325 fokus
37        (1 begemot
38          (2 begemotNg
39            (1 begemotNgObjects
40              (1 begemotNgConfig
41                (1 begemotNgControlNodeName OCTETSTRING op_ng_config GET SET)
42                (2 begemotNgResBufSiz INTEGER op_ng_config GET SET)
43                (3 begemotNgTimeout INTEGER op_ng_config GET SET)
44                (4 begemotNgDebugLevel UNSIGNED32 op_ng_config GET SET)
45              )
46# Change definition of stats array if you change StatsGroup
47              (2 begemotNgStats
48                (1 begemotNgNoMems COUNTER op_ng_stats GET)
49                (2 begemotNgMsgReadErrs COUNTER op_ng_stats GET)
50                (3 begemotNgTooLargeMsgs COUNTER op_ng_stats GET)
51                (4 begemotNgDataReadErrs COUNTER op_ng_stats GET)
52                (5 begemotNgTooLargeDatas COUNTER op_ng_stats GET)
53              )
54              (3 begemotNgTypeTable
55                (1 begemotNgTypeEntry : OCTETSTRING op_ng_type
56                  (1 begemotNgTypeName OCTETSTRING)
57                  (2 begemotNgTypeStatus INTEGER GET SET)
58              ))
59              (4 begemotNgNodeTable
60                (1 begemotNgNodeEntry : INTEGER op_ng_node
61                  (1 begemotNgNodeId UNSIGNED32)
62                  (2 begemotNgNodeStatus INTEGER GET)
63                  (3 begemotNgNodeName OCTETSTRING GET)
64                  (4 begemotNgNodeType OCTETSTRING GET)
65                  (5 begemotNgNodeHooks UNSIGNED32 GET)
66              ))
67              (5 begemotNgHookTable
68                (1 begemotNgHookEntry : UNSIGNED32 OCTETSTRING op_ng_hook
69                  (1 begemotNgHookNodeId UNSIGNED32)
70                  (2 begemotNgHookHook OCTETSTRING)
71                  (3 begemotNgHookStatus INTEGER GET)
72                  (4 begemotNgHookPeerNodeId UNSIGNED32 GET)
73                  (5 begemotNgHookPeerHook OCTETSTRING GET)
74                  (6 begemotNgHookPeerType OCTETSTRING GET)
75              ))
76          ))
77)))))
78