BEGEMOT-SNMPD.txt (122394) | BEGEMOT-SNMPD.txt (124861) |
---|---|
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 --- 16 unchanged lines hidden (view full) --- 25-- FRAUNHOFER FOKUS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 26-- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27-- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 28-- OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 29-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 30-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 31-- EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32-- | 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 --- 16 unchanged lines hidden (view full) --- 25-- FRAUNHOFER FOKUS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 26-- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27-- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 28-- OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 29-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 30-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 31-- EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32-- |
33-- $Begemot: bsnmp/snmpd/BEGEMOT-SNMPD.txt,v 1.18 2002/12/11 15:54:07 hbb Exp $ | 33-- $Begemot: bsnmp/snmpd/BEGEMOT-SNMPD.txt,v 1.21 2003/12/09 12:28:52 hbb Exp $ |
34-- 35-- Begemot Private SNMPd MIB. 36-- 37BEGEMOT-SNMPD-MIB DEFINITIONS ::= BEGIN 38 39IMPORTS 40 MODULE-IDENTITY, OBJECT-TYPE, OBJECT-IDENTITY, Counter32, 41 Unsigned32 --- 87 unchanged lines hidden (view full) --- 129begemotSnmpdTrap1Addr OBJECT-TYPE 130 SYNTAX IpAddress 131 MAX-ACCESS read-write 132 STATUS current 133 DESCRIPTION 134 "The trap sink for v1 traps." 135 ::= { begemotSnmpdConfig 4 } 136 | 34-- 35-- Begemot Private SNMPd MIB. 36-- 37BEGEMOT-SNMPD-MIB DEFINITIONS ::= BEGIN 38 39IMPORTS 40 MODULE-IDENTITY, OBJECT-TYPE, OBJECT-IDENTITY, Counter32, 41 Unsigned32 --- 87 unchanged lines hidden (view full) --- 129begemotSnmpdTrap1Addr OBJECT-TYPE 130 SYNTAX IpAddress 131 MAX-ACCESS read-write 132 STATUS current 133 DESCRIPTION 134 "The trap sink for v1 traps." 135 ::= { begemotSnmpdConfig 4 } 136 |
137begemotSnmpdVersionEnable OBJECT-TYPE 138 SYNTAX Unsigned32 139 MAX-ACCESS read-only 140 STATUS current 141 DESCRIPTION 142 "The SNMP versions that the agent processes. The following 143 bits are defined: 144 145 0x00000001 - SNMPv1 146 0x00000002 - SNMPv2c" 147 DEFVAL { 0x3 } 148 ::= { begemotSnmpdConfig 5 } 149 |
|
137-- 138-- Trap destinations 139-- 140begemotTrapSinkTable OBJECT-TYPE 141 SYNTAX SEQUENCE OF BegemotTrapSinkEntry 142 MAX-ACCESS not-accessible 143 STATUS current 144 DESCRIPTION --- 273 unchanged lines hidden (view full) --- 418 DESCRIPTION 419 "Tracing flags for the SNMP library. These flags have the 420 following meaning: 421 0x00000001 trace GET operator 422 0x00000002 trace GETNEXT operator 423 0x00000004 trace SET operator 424 0x00000008 trace dependency processing 425 0x00000010 trace node finding | 150-- 151-- Trap destinations 152-- 153begemotTrapSinkTable OBJECT-TYPE 154 SYNTAX SEQUENCE OF BegemotTrapSinkEntry 155 MAX-ACCESS not-accessible 156 STATUS current 157 DESCRIPTION --- 273 unchanged lines hidden (view full) --- 431 DESCRIPTION 432 "Tracing flags for the SNMP library. These flags have the 433 following meaning: 434 0x00000001 trace GET operator 435 0x00000002 trace GETNEXT operator 436 0x00000004 trace SET operator 437 0x00000008 trace dependency processing 438 0x00000010 trace node finding |
439 0x10000000 log ASN1 errors 440 0x20000000 log SNMP errors |
|
426 Individual values can be or-ed together." 427 DEFVAL { 0 } 428 ::= { begemotSnmpdDebug 2 } 429 430begemotSnmpdDebugSyslogPri OBJECT-TYPE 431 SYNTAX INTEGER (0..8) 432 MAX-ACCESS read-write 433 STATUS current --- 22 unchanged lines hidden (view full) --- 456 "An entry in the table with descriptions of local ports to 457 listen on for SNMP messages." 458 INDEX { begemotSnmpdLocalPortPath } 459 ::= { begemotSnmpdLocalPortTable 1 } 460 461BegemotSnmpdLocalPortEntry ::= SEQUENCE { 462 begemotSnmpdLocalPortPath OCTET STRING, 463 begemotSnmpdLocalPortStatus INTEGER | 441 Individual values can be or-ed together." 442 DEFVAL { 0 } 443 ::= { begemotSnmpdDebug 2 } 444 445begemotSnmpdDebugSyslogPri OBJECT-TYPE 446 SYNTAX INTEGER (0..8) 447 MAX-ACCESS read-write 448 STATUS current --- 22 unchanged lines hidden (view full) --- 471 "An entry in the table with descriptions of local ports to 472 listen on for SNMP messages." 473 INDEX { begemotSnmpdLocalPortPath } 474 ::= { begemotSnmpdLocalPortTable 1 } 475 476BegemotSnmpdLocalPortEntry ::= SEQUENCE { 477 begemotSnmpdLocalPortPath OCTET STRING, 478 begemotSnmpdLocalPortStatus INTEGER |
479 begemotSnmpdLocalPortType INTEGER |
|
464} 465 466begemotSnmpdLocalPortPath OBJECT-TYPE 467 SYNTAX OCTET STRING (SIZE(1..104)) 468 MAX-ACCESS not-accessible 469 STATUS current 470 DESCRIPTION 471 "The path name to create and listen on." 472 ::= { begemotSnmpdLocalPortEntry 1 } 473 474begemotSnmpdLocalPortStatus OBJECT-TYPE 475 SYNTAX INTEGER { valid(1), invalid(2) } 476 MAX-ACCESS read-create 477 STATUS current 478 DESCRIPTION 479 "Set status to 1 to create entry, set it to 2 to delete it." 480 ::= { begemotSnmpdLocalPortEntry 2 } 481 | 480} 481 482begemotSnmpdLocalPortPath OBJECT-TYPE 483 SYNTAX OCTET STRING (SIZE(1..104)) 484 MAX-ACCESS not-accessible 485 STATUS current 486 DESCRIPTION 487 "The path name to create and listen on." 488 ::= { begemotSnmpdLocalPortEntry 1 } 489 490begemotSnmpdLocalPortStatus OBJECT-TYPE 491 SYNTAX INTEGER { valid(1), invalid(2) } 492 MAX-ACCESS read-create 493 STATUS current 494 DESCRIPTION 495 "Set status to 1 to create entry, set it to 2 to delete it." 496 ::= { begemotSnmpdLocalPortEntry 2 } 497 |
498begemotSnmpdLocalPortType OBJECT-TYPE 499 SYNTAX INTEGER { 500 dgram-unpriv(1), 501 dgram-priv(2), 502 stream-unpriv(3), 503 stream-priv(4) 504 } 505 MAX-ACCESS read-create 506 STATUS current 507 DESCRIPTION 508 "Type of the port. If the type is unpriv SET operations 509 are allowed from all clients if the community matches. For 510 priv SET operations are allowed only from peers with uid 511 zero. If the daemon cannot determine the peer uid it disallows 512 the SET operation for -priv ports." 513 ::= { begemotSnmpdLocalPortEntry 3 } 514 515-- 516-- Transport mapping table 517-- 518begemotSnmpdTransportMappings OBJECT IDENTIFIER ::= { begemotSnmpdObjects 10 } 519 520begemotSnmpdTransportTable OBJECT-TYPE 521 SYNTAX SEQUENCE OF BegemotSnmpdTransportEntry 522 MAX-ACCESS not-accessible 523 STATUS current 524 DESCRIPTION 525 "A table containing all the currently loaded transport mappings." 526 ::= { begemotSnmpdTransportMappings 1 } 527 528begemotSnmpdTransportEntry OBJECT-TYPE 529 SYNTAX BegemotSnmpdTransportEntry 530 MAX-ACCESS not-accessible 531 STATUS current 532 DESCRIPTION 533 "An entry in the table with the transport mappings." 534 INDEX { begemotSnmpdTransportName } 535 ::= { begemotSnmpdTransportTable 1 } 536 537BegemotSnmpdTransportEntry ::= SEQUENCE { 538 begemotSnmpdTransportName OCTET STRING, 539 begemotSnmpdTransportStatus INTEGER 540 begemotSnmpdTransportOid OBJECT IDENTIFIER 541} 542 543begemotSnmpdTransportName OBJECT-TYPE 544 SYNTAX OCTET STRING (SIZE(1..256)) 545 MAX-ACCESS not-accessible 546 STATUS current 547 DESCRIPTION 548 "The name of the mapping." 549 ::= { begemotSnmpdTransportEntry 1 } 550 551begemotSnmpdTransportStatus OBJECT-TYPE 552 SYNTAX RowStatus 553 MAX-ACCESS read-only 554 STATUS current 555 DESCRIPTION 556 "Used to create/activate/destroy the entry." 557 ::= { begemotSnmpdTransportEntry 2 } 558 559begemotSnmpdTransportOid OBJECT-TYPE 560 SYNTAX OBJECT IDENTIFIER 561 MAX-ACCESS read-only 562 STATUS current 563 DESCRIPTION 564 "A pointer to the group with the transport-dependend stuff." 565 ::= { begemotSnmpdTransportEntry 3 } 566 567-- 568-- XXX These should go into their own MIB 569-- 570begemotSnmpdTransUdp OBJECT IDENTIFIER ::= { begemotSnmpdTransportMappings 2 } 571begemotSnmpdTransLsock OBJECT IDENTIFIER ::= { begemotSnmpdTransportMappings 3 } 572 |
|
482END | 573END |