xref: /freebsd/usr.sbin/bsnmpd/modules/snmp_netgraph/netgraph_tree.def (revision d8a0fe102c0cfdfcd5b818f850eff09d8536c9bc)
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# $FreeBSD$
31#
32# Definition of the tree implemented by snmp_netgraph.
33#
34(1 internet
35  (4 private
36    (1 enterprises
37      (12325 fokus
38        (1 begemot
39          (2 begemotNg
40            (1 begemotNgObjects
41              (1 begemotNgConfig
42                (1 begemotNgControlNodeName OCTETSTRING op_ng_config GET SET)
43                (2 begemotNgResBufSiz INTEGER op_ng_config GET SET)
44                (3 begemotNgTimeout INTEGER op_ng_config GET SET)
45                (4 begemotNgDebugLevel UNSIGNED32 op_ng_config GET SET)
46              )
47# Change definition of stats array if you change StatsGroup
48              (2 begemotNgStats
49                (1 begemotNgNoMems COUNTER op_ng_stats GET)
50                (2 begemotNgMsgReadErrs COUNTER op_ng_stats GET)
51                (3 begemotNgTooLargeMsgs COUNTER op_ng_stats GET)
52                (4 begemotNgDataReadErrs COUNTER op_ng_stats GET)
53                (5 begemotNgTooLargeDatas COUNTER op_ng_stats GET)
54              )
55              (3 begemotNgTypeTable
56                (1 begemotNgTypeEntry : OCTETSTRING op_ng_type
57                  (1 begemotNgTypeName OCTETSTRING)
58                  (2 begemotNgTypeStatus INTEGER GET SET)
59              ))
60              (4 begemotNgNodeTable
61                (1 begemotNgNodeEntry : INTEGER op_ng_node
62                  (1 begemotNgNodeId UNSIGNED32)
63                  (2 begemotNgNodeStatus INTEGER GET)
64                  (3 begemotNgNodeName OCTETSTRING GET)
65                  (4 begemotNgNodeType OCTETSTRING GET)
66                  (5 begemotNgNodeHooks UNSIGNED32 GET)
67              ))
68              (5 begemotNgHookTable
69                (1 begemotNgHookEntry : UNSIGNED32 OCTETSTRING op_ng_hook
70                  (1 begemotNgHookNodeId UNSIGNED32)
71                  (2 begemotNgHookHook OCTETSTRING)
72                  (3 begemotNgHookStatus INTEGER GET)
73                  (4 begemotNgHookPeerNodeId UNSIGNED32 GET)
74                  (5 begemotNgHookPeerHook OCTETSTRING GET)
75                  (6 begemotNgHookPeerType OCTETSTRING GET)
76              ))
77          ))
78)))))
79