TUT:Configuring snmptrapd
snmptrapd is a Net-SNMP application that lets operators receive SNMP notifications (informs and traps) and process them.
Contents
Configuring snmptrapd to allow traps in the door
By default, snmptrapd does not do anything with received notifications. You have to tell it what you want to receive notifications.
Configuring snmptrapd to accept SNMPv1 or SNMPv2c notifications
To receive SNMPv1 or SNMPv2c notifications you need to tell snmptrapd your community strings. The easiest way to do this is by using the authCommunity snmptrapd.conf configuration file token. For example, this line:
authCommunity log,execute,net public
Will let snmptrapd process notifications received using the "public" community string. Those notifications may be logged, allowed to trigger executable actions (see below), and resend data to the network (forward).
Configuring snmptrap to accept SNMPv3 notifications
SNMPv3 adds security to the SNMP protocol and is a safer way to receive notification data. But, it's a bit more complex to set up. Configuration of SNMPv3 notifications is described fully on a separate page:
Processing Notifications
Generating traps is only half of the battle. We also need something
to receive the notification, and respond accordingly.
The Net-SNMP suite includes an application snmptrapd
which can accept and process such notifications.
By default, it will simply log all incoming notifications via syslog.
The two snmptrap
commands above would be logged as:
1999-11-12 23:26:07 localhost [127.0.0.1] UCD-TRAP-TEST-MIB::demotraps: Enterprise Specific Trap (demoTrap) Uptime: 1 day, 5:34:06 SNMPv2-MIB::sysLocation.0 = "Just here"
and
1999-11-13 08:31:33 localhost [127.0.0.1]: SNMPv2-MIB::sysUpTime.0 = Timeticks: (13917129) 1 day, 14:39:31.29 SNMPv2-MIB::snmpTrapOID.0 = OID: UCD-NOTIFICATION-TEST-MIB::demoNotif SNMPv2-MIB::sysLocation.0 = "just here"
respectively.
Trap Handlers
The snmptrapd utility also has the ability to execute other programs on the reception of a trap. This is controlled by the traphandle directive, with the syntax
traphandle OID command
Notice, that this only takes an OID to determine which trap (or notification) is received. This means that SNMPv1 traps, which have a trap type and specific type, need to be represented in SNMPv2 format, which is described in RFC 2089.
Matching SNMPv1 OIDs
SNMPv1 traps fall into two broad categories: generic and enterprise specific. Generic traps use trap types 0 through 5, and do not use the specific type. To match a generic trap, the traphandle OID should be the SNMPv2-MIB::snmpTraps OID, with an additional final OID of the trap type + 1. For example, to match linkDown traps (specific type 2), the correct OID would be "1.3.6.1.6.3.1.1.5.3" (or SNMPv2-MIB::snmpTraps.3, which is also IF-MIB::linkDown).
When the specific type is 6, the trap is an enterprise specific trap. When matching these traps, the traphandle OID is constructed using the enterprise OID and specific type specified in the trap. Earlier in the tutorial, we sent a SNMPv1 enterprise specific trap with an enterprise OID of UCD-TRAP-TEST-MIB::demotraps, a trap type of 6 and a specific type of 17. To match this trap type, the traphandle OID should be the enterprise OID, plus 0, plus the specific type. So the correct OID would be ".1.3.6.1.4.1.2021.13.990.0.17" (or UCD-TRAP-TEST-MIB::demoTrap).
Matching SNMPv2 OIDs
SNMPv2 traps and informs are much easier, because they include the correct OID in the SNMPv2-MIB::snmpTrapOID.0 variable in the trap.
-- ************************************************************************** -- -- $Id: MBG-LANTIME-MIB.mib 1.3 2006/08/24 13:07:55 heiko TRASH $ -- $Name: $ -- -- Copyright (c) Meinberg Funkuhren, 31812 Bad Pyrmont, Germany -- -- Description: -- Management Information Base for Meinberg LANTIME time server -- -- ************************************************************************** -- -- $Log: MBG-LANTIME-MIB.mib $ -- Revision 1.3 2006/08/24 13:07:55 heiko -- - now up to 7 external NTP servers -- - "prefer" flag can be set for each external NTP server -- - renumbered the remaining objects in mbgLtCfgNtp -- Revision 1.2 2006/08/23 09:51:05 heiko -- - new object mbgLtCmdSetRefTime for setting the time of the refclock via SNMP -- Revision 1.1 2006/08/23 09:35:41 heiko -- -- **************************************************************************
MBG-SNMP-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE , Integer32, NOTIFICATION-TYPE, enterprises FROM SNMPv2-SMI MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP FROM SNMPv2-CONF DisplayString FROM SNMPv2-TC;
mbgSnmp MODULE-IDENTITY
LAST-UPDATED "200608230000Z" ORGANIZATION "www.meinberg.de" CONTACT-INFO "postal: Meinberg Funkuhren Lange Wand 9 31812 Bad Pyrmont Germany
email: info@meinberg.de" DESCRIPTION " Management Information Base for Meinberg LANTIME time server" REVISION "200806150000Z" DESCRIPTION "Revised edition (V5.25), changed postal address" REVISION "200608230000Z" DESCRIPTION "Revised edition (V4.38), added mbgLtCmdSetRefTime" REVISION "200603200000Z" DESCRIPTION "Revised edition (V4.36) with changed Trap OID base" REVISION "200507080000Z" DESCRIPTION "Revised edition (V4.25)" ::= { enterprises 5597}
mbgLantime OBJECT IDENTIFIER ::= { mbgSnmp 3 }
-- -- General LANTIME information objects --
mbgLtInfo OBJECT IDENTIFIER ::= { mbgLantime 0 }
mbgLtFirmwareVersion OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "shows the installed firmware version of your LANTIME" ::= { mbgLtInfo 1 }
mbgLtFirmwareVersionVal OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-only STATUS current DESCRIPTION "shows the installed firmware version of your LANTIME as an Integer32 value" ::= { mbgLtInfo 2 }
--
-- Lantime NTP states
--
mbgLtNtp OBJECT IDENTIFIER ::= { mbgLantime 1 }
mbgLtNtpCurrentState OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "actual state of the NTP as string" --- possible strings: --- "not synchronized" --- "no good refclock (->local)" --- "sync to external refclock" --- "sync to serial refclock" --- "Normal Operation (->PPS)" --- "Normal Operation (->internal refclock)" --- internal refclocks (PlugIn cards) have to be linked --- via /dev/refclock-2 and /dev/refclock-3 ::= { mbgLtNtp 1 }
mbgLtNtpCurrentStateVal OBJECT-TYPE
SYNTAX INTEGER { notSynchronized(0), noGoodRefclock(1), syncToExtRefclock(2), syncToSerialRefclock(3), normalOperationPPS(4), normalOperationRefclock(5), unknown(99) } MAX-ACCESS read-only STATUS current DESCRIPTION "current state of the NTP as integer value" --- "0 : not synchronized" --- "1 : no good refclock (->local)" --- "2 : sync to external refclock" --- "3 : sync to serial refclock" --- "4 : Normal Operation (->PPS)" --- "5 : Normal Operation (->internal refclock)" DEFVAL { 99 } ::= { mbgLtNtp 2 }
mbgLtNtpStratum OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-only STATUS current DESCRIPTION "Stratum value of the NTP " DEFVAL { 99 } ::= { mbgLtNtp 3 }
mbgLtNtpActiveRefclockId OBJECT-TYPE
SYNTAX INTEGER { localClock(0), serialRefclock(1), pps(2), externalRefclock(3), notSync(99) } MAX-ACCESS read-only STATUS current DESCRIPTION "Index of the current refclock selected by the NTP " --- "0 : local clock" --- "1 : serial refclock --- "2 : PPS (Lantime/RD: second serial refclock" --- "3 : external Refclock (Lantime/RD: PPS) --- "99: NTP has not sync to any refclock" DEFVAL { 99 } ::= { mbgLtNtp 4 }
mbgLtNtpActiveRefclockName OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Name of the current refclock selected by the NTP " ::= { mbgLtNtp 5 }
mbgLtNtpActiveRefclockOffset OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Time offset between the current selected refclock and time of NTP as string" ::= { mbgLtNtp 6 }
mbgLtNtpActiveRefclockOffsetVal OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-only STATUS current DESCRIPTION "Time offset in micro seconds between the current selected refclock and time of NTP " DEFVAL { 1024000000 } ::= { mbgLtNtp 7 }
mbgLtNtpNumberOfRefclocks OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-only STATUS current DESCRIPTION "Number of refclocks configured in the NTP " DEFVAL { 0 } ::= { mbgLtNtp 8 }
mbgLtNtpAuthKeyId OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-only STATUS current DESCRIPTION "Authentication Key ID of active refclock is active " DEFVAL { 0 } ::= { mbgLtNtp 9 }
mbgLtNtpVersion OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "integrated NTP version " ::= { mbgLtNtp 10 }
--
-- Lantime Refclock states
--
mbgLtRefclock OBJECT IDENTIFIER ::= { mbgLantime 2 }
mbgLtRefClockType OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Type of refclock connected to NTP time server " ::= { mbgLtRefclock 1 }
mbgLtRefClockTypeVal OBJECT-TYPE
SYNTAX INTEGER { notavailable(0), mbgGPS167(1), mbgGPS167BGTTGP(2), mbgPZF509(3), mbgPZF509BGTTGP(4), mbgSHS(5), mbgSHSBGT(6), mbgSHSFRC(7), mbgSHSFRCBGT(8), mbgTCR509(9), mbgTCR509BGTTGP(10), mbgRDT(11), mbgRDTBGTTGP(12), mbgEDT(13), mbgEDTBGTTGP(14), mbgAHS(15), mbgDHS(16), mbgNDT167(17), mbgNDT167BGT(18), mbgDCT(19), mbgDCTBGT(20), mbgSHSTCR(21), mbgSHSTCRBGT(22) } MAX-ACCESS read-only STATUS current DESCRIPTION "Type of refclock connected to NTP time server as value" --- " 0: not available" --- " 1: GPS167 1HE" --- " 2: GPS167 BGT/TGP" --- " 3: PZF509 1HE" --- " 4: PZF509 BGT/TGP" --- " 5: SHS 1HE" --- " 6: SHS BGT" --- " 7: SHS-FRC 1HE" --- " 8: SHS-FRC BGT" --- " 9: TCR509 1HE" --- "10: TCR509 BGT/TGP" --- "11: RDT 1HE" --- "12: RDT BGT/TGP" --- "13: EDT 1HE" --- "14: EDT BGT/TGP" --- "15: AHS" --- "16: DHS" --- "17: NDT167 1HE" --- "18: NDT167 BGT" --- "19: DCT 1HE" --- "20: DCT BGT" --- "21: SHS-TCR 1HE" --- "22: SHS-TCR BGT"
DEFVAL { 0 } ::= { mbgLtRefclock 2 }
mbgLtRefClockMode OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "current mode of refclock connected to NTP time server " ::= { mbgLtRefclock 3 }
mbgLtRefClockModeVal OBJECT-TYPE
SYNTAX INTEGER { notavailable(0), normalOperation(1), trackingSearching(2), antennaFaulty(3), warmBoot(4), coldBoot(5), antennaShortcircuit(6) } MAX-ACCESS read-only STATUS current DESCRIPTION "current mode of refclock connected to NTP time server as value" --- " 0: not available" --- " 1: Normal Operation" --- " 2: Tracking/Searching" --- " 3: Antenna Faulty" --- " 4: Warm Boot" --- " 5: Cold Boot" --- " 6: Antenna Short Circuit" DEFVAL { 0 } ::= { mbgLtRefclock 4 }
mbgLtRefGpsState OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "current State of GPS refclock conneted to NTP time server " ::= { mbgLtRefclock 5 }
mbgLtRefGpsStateVal OBJECT-TYPE
SYNTAX INTEGER { notavailable(0), synchronized(1), notsynchronized(2) } MAX-ACCESS read-only STATUS current DESCRIPTION "current State of GPS refclock conneted to NTP time server as value" --- " 0: not available" --- " 1: synchronized" --- " 2: not synchronized" DEFVAL { 0 } ::= { mbgLtRefclock 6 }
mbgLtRefGpsPosition OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "current Position of GPS refclock conneted to NTP time server " ::= { mbgLtRefclock 7 }
mbgLtRefGpsSatellites OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "current Satellites in view and good of GPS refclock connected to NTP time server " ::= { mbgLtRefclock 8 }
mbgLtRefGpsSatellitesGood OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-only STATUS current DESCRIPTION "current good Satellites of GPS refclock connected to NTP time server as value" ::= { mbgLtRefclock 9 }
mbgLtRefGpsSatellitesInView OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-only STATUS current DESCRIPTION "current Satellites in view of GPS refclock conneted to NTP time server as value" ::= { mbgLtRefclock 10 }
mbgLtRefPzfState OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "current State of DCF77/PZF refclock connected to NTP time server " ::= { mbgLtRefclock 11 }
mbgLtRefPzfStateVal OBJECT-TYPE
SYNTAX INTEGER { notavailable(0), sync(1), notsyncnow(2), neversynced(3) } MAX-ACCESS read-only STATUS current DESCRIPTION "current State of DCF77/PZF refclock connected to NTP time server as value" --- " 0: not available" --- " 1: sync" --- " 2: not sync now" --- " 3: never synced" DEFVAL { 0 } ::= { mbgLtRefclock 12 }
mbgLtRefPzfKorrelation OBJECT-TYPE
SYNTAX Integer32 (0..255) MAX-ACCESS read-only STATUS current DESCRIPTION "current Korrelation of DCF77/PZF refclock connected to NTP time server " --- " 0: not available" --- " 254: Antenna Faulty" --- " 255: Gsync" --- " minimum of 60 to get synchronization" --- " optimal value of 75" DEFVAL { 0 } ::= { mbgLtRefclock 13 }
mbgLtRefPzfField OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-only STATUS current DESCRIPTION "current strength of field of DCF77/PZF refclock connected to NTP time server " --- " 0: not available" DEFVAL { 0 } ::= { mbgLtRefclock 14 }
mbgLtRefGpsMode OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "current Mode of GPS refclock connected to NTP time server " ::= { mbgLtRefclock 15 }
mbgLtRefGpsModeVal OBJECT-TYPE
SYNTAX INTEGER { notavailable(0), normalOperation(1), trackingSearching(2), antennaFaulty(3), warmBoot(4), coldBoot(5), antennaShortcircuit(6) } MAX-ACCESS read-only STATUS current DESCRIPTION "current Mode of GPS refclock connected to NTP time server as value" --- " 0: not available" --- " 1: Normal Operation" --- " 2: Tracking/Searching" --- " 3: Antenna Faulty" --- " 4: Warm Boot" --- " 5: Cold Boot" --- " 6: Antenna Short Circuit" --- This variable was formerly known as mbgLtRefClockModeVal DEFVAL { 0 } ::= { mbgLtRefclock 16 }
mbgLtRefIrigMode OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "current Mode of IRIG refclock conneted to NTP time server " ::= { mbgLtRefclock 17 }
mbgLtRefIrigModeVal OBJECT-TYPE
SYNTAX INTEGER { notavailable(0), locked(1), notlocked(2), telegramError(3) } MAX-ACCESS read-only STATUS current DESCRIPTION "current Mode of IRIG refclock conneted to NTP time server as value" --- " 0: not available" --- " 1: Sync (locked)" --- " 2: Not sync (not locked)" --- " 3: Telegram error" DEFVAL { 0 } ::= { mbgLtRefclock 18 }
mbgLtRefPzfMode OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "current Mode of PZF refclock connected to NTP time server " ::= { mbgLtRefclock 19 }
mbgLtRefPzfModeVal OBJECT-TYPE
SYNTAX INTEGER { notavailable(0), normalOperation(1), antennaFaulty(2) } MAX-ACCESS read-only STATUS current DESCRIPTION "current Mode of PZF refclock connected to NTP time server as value" --- " 0: not available" --- " 1: Normal Operation" --- " 2: Antenna Faulty" DEFVAL { 0 } ::= { mbgLtRefclock 20 }
mbgLtRefIrigState OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "current State of IRIG refclock connected to NTP time server " ::= { mbgLtRefclock 21 }
mbgLtRefIrigStateVal OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-only STATUS current DESCRIPTION "current State of IRIG refclock connected to NTP time server as value" --- Please refer to manual for IRIG states. They are represented by set/unset bits, --- so this value is a "binary" form combining all possible IRIG states of our IRIG refclock DEFVAL { 0 } ::= { mbgLtRefclock 22 }
mbgLtRefSHSMode OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "current Mode of SHS system connected to NTP time server " ::= { mbgLtRefclock 23 }
mbgLtRefSHSModeVal OBJECT-TYPE
SYNTAX INTEGER { notavailable(0), normalOperation(1), stoppedTimeLimitError(2) } MAX-ACCESS read-only STATUS current DESCRIPTION "current Mode of SHS system connected to NTP time server as value" --- " 0: not available" --- " 1: Normal Operation" --- " 2: Stopped/Time Limit Error" DEFVAL { 0 } ::= { mbgLtRefclock 24 }
mbgLtRefSHSTimeDiff OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-only STATUS current DESCRIPTION "current time difference between the two SHS reference time sources in miliseconds" DEFVAL { 0 } ::= { mbgLtRefclock 25 }
mbgLtRefDctState OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "current State of DCF77 refclock connected to NTP time server " ::= { mbgLtRefclock 26 }
mbgLtRefDctStateVal OBJECT-TYPE
SYNTAX INTEGER { notavailable(0), sync(1), notsyncnow(2), neversynced(3) } MAX-ACCESS read-only STATUS current DESCRIPTION "current State of DCF77 refclock connected to NTP time server as value" --- " 0: not available" --- " 1: sync" --- " 2: not sync now" --- " 3: never synced" DEFVAL { 0 } ::= { mbgLtRefclock 27 }
mbgLtRefDctField OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "current strength of field of DCF77 refclock connected to NTP time server " --- " 0: not available" DEFVAL { "0" } ::= { mbgLtRefclock 28 }
mbgLtRefDctMode OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "current Mode of DCF77 refclock connected to NTP time server " ::= { mbgLtRefclock 29 }
mbgLtRefDctModeVal OBJECT-TYPE
SYNTAX INTEGER { notavailable(0), normalOperation(1), antennaFaulty(2) } MAX-ACCESS read-only STATUS current DESCRIPTION "current Mode of DCF77 refclock connected to NTP time server as value" --- " 0: not available" --- " 1: Normal Operation" --- " 2: Antenna Faulty" DEFVAL { 0 } ::= { mbgLtRefclock 30 }
-- -- Lantime SNMP trap definitions --
mbgLtNotifications OBJECT IDENTIFIER ::= { mbgLantime 3 } mbgLtTraps OBJECT IDENTIFIER ::= { mbgLtNotifications 0 }
mbgLtTrapNTPNotSync NOTIFICATION-TYPE
STATUS current DESCRIPTION "trap to be sent when NTP is not synchronised " ::= { mbgLtTraps 1 }
mbgLtTrapNTPStopped NOTIFICATION-TYPE
STATUS current DESCRIPTION "trap to be sent when NTP is stopped " ::= { mbgLtTraps 2 }
mbgLtTrapServerBoot NOTIFICATION-TYPE
STATUS current DESCRIPTION "trap to be sent when time server has finished boot sequence " ::= { mbgLtTraps 3 }
mbgLtTrapReceiverNotResponding NOTIFICATION-TYPE
STATUS current DESCRIPTION "trap to be sent when receiver is not responding " ::= { mbgLtTraps 4 }
mbgLtTrapReceiverNotSync NOTIFICATION-TYPE
STATUS current DESCRIPTION "trap to be sent when receiver is not synchronised " ::= { mbgLtTraps 5 }
mbgLtTrapAntennaFaulty NOTIFICATION-TYPE
STATUS current DESCRIPTION "trap to be sent when connection to antenna is broken " ::= { mbgLtTraps 6 }
mbgLtTrapAntennaReconnect NOTIFICATION-TYPE
STATUS current DESCRIPTION "trap to be sent when antenna has been reconnected " ::= { mbgLtTraps 7 }
mbgLtTrapConfigChanged NOTIFICATION-TYPE
STATUS current DESCRIPTION "trap to be sent when timeserver reloaded its configuration " ::= { mbgLtTraps 8 }
mbgLtTrapLeapSecondAnnounced NOTIFICATION-TYPE
STATUS current DESCRIPTION "trap to be sent when a leap second has been announced " ::= { mbgLtTraps 9 }
mbgLtTrapSHSTimeLimitError NOTIFICATION-TYPE
STATUS current DESCRIPTION "trap to be sent when SHS timelimit exceeded " ::= { mbgLtTraps 10 }
mbgLtTrapSecondaryRecNotSync NOTIFICATION-TYPE
STATUS current DESCRIPTION "trap to be sent when secondary receiver in SHS system is not synchronised " ::= { mbgLtTraps 11 }
mbgLtTrapPowerSupplyFailure NOTIFICATION-TYPE
STATUS current DESCRIPTION "trap to be sent when one of the redundant power supplies fails" ::= { mbgLtTraps 12 }
mbgLtTrapAntennaShortCircuit NOTIFICATION-TYPE
STATUS current DESCRIPTION "trap to be sent when a connected antenna fails due to a short circuit" ::= { mbgLtTraps 13 }
mbgLtTrapNormalOperation NOTIFICATION-TYPE
STATUS current DESCRIPTION "trap to be sent when the system returned to a healthy state " ::= { mbgLtTraps 77 }
mbgLtTrapHeartbeat NOTIFICATION-TYPE
STATUS current DESCRIPTION "trap to be sent periodically to indicate that time server is still alive " ::= { mbgLtTraps 88 }
mbgLtTrapTestNotification NOTIFICATION-TYPE
STATUS current DESCRIPTION "trap to be sent when a test notification has been requested " ::= { mbgLtTraps 99 }
mbgLtTrapMessage OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "used as a payload object for all traps, holds a clear text event message" DEFVAL { "no event" } ::= { mbgLtTraps 100 }
-- -- Meinberg Lantime CFG MIB objects for agent module --
mbgLtCfg OBJECT IDENTIFIER ::= { mbgLantime 4 }
-- -- Network parameters --
mbgLtCfgNetwork OBJECT IDENTIFIER ::= { mbgLtCfg 1 }
mbgLtCfgHostname OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The hostname configured for this LANTIME" ::= { mbgLtCfgNetwork 1 }
mbgLtCfgDomainname OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The domainname configured for this LANTIME" ::= { mbgLtCfgNetwork 2 }
mbgLtCfgNameserver1 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The first nameserver used by this LANTIME" ::= { mbgLtCfgNetwork 3 }
mbgLtCfgNameserver2 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The second nameserver used this LANTIME" ::= { mbgLtCfgNetwork 4 }
mbgLtCfgSyslogserver1 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The first syslog server we are sending log entries to" ::= { mbgLtCfgNetwork 5 }
mbgLtCfgSyslogserver2 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The second syslog server we are sending log entries to" ::= { mbgLtCfgNetwork 6 }
mbgLtCfgTelnetAccess OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is telnet administration enabled" --- "1 = true, 2 = false" ::= { mbgLtCfgNetwork 7 }
mbgLtCfgFTPAccess OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is FTP administration enabled" --- "1 = true, 2 = false" ::= { mbgLtCfgNetwork 8 }
mbgLtCfgHTTPAccess OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is web based administration enabled" --- "1 = true, 2 = false" ::= { mbgLtCfgNetwork 9 }
mbgLtCfgHTTPSAccess OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is secure web based administration enabled" --- "1 = true, 2 = false" ::= { mbgLtCfgNetwork 10 }
mbgLtCfgSNMPAccess OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is SNMP administration enabled" --- "1 = true, 2 = false" ::= { mbgLtCfgNetwork 11 }
mbgLtCfgSambaAccess OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is Samba administration enabled" --- "1 = true, 2 = false" ::= { mbgLtCfgNetwork 12 }
mbgLtCfgIPv6Access OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is IPv6 support enabled" --- "1 = true, 2 = false" ::= { mbgLtCfgNetwork 13 }
mbgLtCfgSSHAccess OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is SSH administration enabled" --- "1 = true, 2 = false" ::= { mbgLtCfgNetwork 14 }
--
-- NTP parameters
--
mbgLtCfgNTP OBJECT IDENTIFIER ::= { mbgLtCfg 2 }
mbgLtCfgNTPServer1 OBJECT IDENTIFIER ::= { mbgLtCfgNTP 1 }
mbgLtCfgNTPServer2 OBJECT IDENTIFIER ::= { mbgLtCfgNTP 2 }
mbgLtCfgNTPServer3 OBJECT IDENTIFIER ::= { mbgLtCfgNTP 3 }
mbgLtCfgNTPServer4 OBJECT IDENTIFIER ::= { mbgLtCfgNTP 4 }
mbgLtCfgNTPServer5 OBJECT IDENTIFIER ::= { mbgLtCfgNTP 5 }
mbgLtCfgNTPServer6 OBJECT IDENTIFIER ::= { mbgLtCfgNTP 6 }
mbgLtCfgNTPServer7 OBJECT IDENTIFIER ::= { mbgLtCfgNTP 7 }
mbgLtCfgNTPServer1IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "IP address for external NTP server" ::= { mbgLtCfgNTPServer1 1 }
mbgLtCfgNTPServer1Key OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-write STATUS current DESCRIPTION "Key for external NTP server" ::= { mbgLtCfgNTPServer1 2 }
mbgLtCfgNTPServer1Autokey OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is autokey enabled for the external NTP server" --- "1 = true, 2 = false" ::= { mbgLtCfgNTPServer1 3 }
mbgLtCfgNTPServer1Prefer OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is the preferred flag enabled for the external NTP server" --- "1 = true, 2 = false" ::= { mbgLtCfgNTPServer1 4 }
mbgLtCfgNTPServer2IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "IP address for external NTP server" ::= { mbgLtCfgNTPServer2 1 }
mbgLtCfgNTPServer2Key OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-write STATUS current DESCRIPTION "Key for external NTP server" ::= { mbgLtCfgNTPServer2 2 }
mbgLtCfgNTPServer2Autokey OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is autokey enabled for the external NTP server" --- "1 = true, 2 = false" ::= { mbgLtCfgNTPServer2 3 }
mbgLtCfgNTPServer2Prefer OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is the preferred flag enabled for the external NTP server" --- "1 = true, 2 = false" ::= { mbgLtCfgNTPServer2 4 }
mbgLtCfgNTPServer3IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "IP address for external NTP server" ::= { mbgLtCfgNTPServer3 1 }
mbgLtCfgNTPServer3Key OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-write STATUS current DESCRIPTION "Key for external NTP server" ::= { mbgLtCfgNTPServer3 2 }
mbgLtCfgNTPServer3Autokey OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is autokey enabled for the external NTP server" --- "1 = true, 2 = false" ::= { mbgLtCfgNTPServer3 3 }
mbgLtCfgNTPServer3Prefer OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is the preferred flag enabled for the external NTP server" --- "1 = true, 2 = false" ::= { mbgLtCfgNTPServer3 4 }
mbgLtCfgNTPServer4IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "IP address for external NTP server" ::= { mbgLtCfgNTPServer4 1 }
mbgLtCfgNTPServer4Key OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-write STATUS current DESCRIPTION "Key for external NTP server" ::= { mbgLtCfgNTPServer4 2 }
mbgLtCfgNTPServer4Autokey OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is autokey enabled for the external NTP server" --- "1 = true, 2 = false" ::= { mbgLtCfgNTPServer4 3 }
mbgLtCfgNTPServer4Prefer OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is the preferred flag enabled for the external NTP server" --- "1 = true, 2 = false" ::= { mbgLtCfgNTPServer4 4 }
mbgLtCfgNTPServer5IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "IP address for external NTP server" ::= { mbgLtCfgNTPServer5 1 }
mbgLtCfgNTPServer5Key OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-write STATUS current DESCRIPTION "Key for external NTP server" ::= { mbgLtCfgNTPServer5 2 }
mbgLtCfgNTPServer5Autokey OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is autokey enabled for the external NTP server" --- "1 = true, 2 = false" ::= { mbgLtCfgNTPServer5 3 }
mbgLtCfgNTPServer5Prefer OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is the preferred flag enabled for the external NTP server" --- "1 = true, 2 = false" ::= { mbgLtCfgNTPServer5 4 }
mbgLtCfgNTPServer6IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "IP address for external NTP server" ::= { mbgLtCfgNTPServer6 1 }
mbgLtCfgNTPServer6Key OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-write STATUS current DESCRIPTION "Key for external NTP server" ::= { mbgLtCfgNTPServer6 2 }
mbgLtCfgNTPServer6Autokey OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is autokey enabled for the external NTP server" --- "1 = true, 2 = false" ::= { mbgLtCfgNTPServer6 3 }
mbgLtCfgNTPServer6Prefer OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is the preferred flag enabled for the external NTP server" --- "1 = true, 2 = false" ::= { mbgLtCfgNTPServer6 4 }
mbgLtCfgNTPServer7IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "IP address for external NTP server" ::= { mbgLtCfgNTPServer7 1 }
mbgLtCfgNTPServer7Key OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-write STATUS current DESCRIPTION "Key for external NTP server" ::= { mbgLtCfgNTPServer7 2 }
mbgLtCfgNTPServer7Autokey OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is autokey enabled for the external NTP server" --- "1 = true, 2 = false" ::= { mbgLtCfgNTPServer7 3 }
mbgLtCfgNTPServer7Prefer OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is the preferred flag enabled for the external NTP server" --- "1 = true, 2 = false" ::= { mbgLtCfgNTPServer7 4 }
mbgLtCfgNTPStratumLocalClock OBJECT-TYPE
SYNTAX Integer32 (0..15) MAX-ACCESS read-write STATUS current DESCRIPTION "The stratum value assigned to the local clock of the timeserver" ::= { mbgLtCfgNTP 8 }
mbgLtCfgNTPTrustedKey OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-write STATUS current DESCRIPTION "The key used for the internal refclock of the timeserver" ::= { mbgLtCfgNTP 9 }
mbgLtCfgNTPBroadcastIP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "NTP broadcast IP address" ::= { mbgLtCfgNTP 10 }
mbgLtCfgNTPBroadcastKey OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-write STATUS current DESCRIPTION "Key used for NTP broadcasts" ::= { mbgLtCfgNTP 11 }
mbgLtCfgNTPBroadcastAutokey OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) }
MAX-ACCESS read-write STATUS current DESCRIPTION "Is autokey generation used for NTP broadcasts" ::= { mbgLtCfgNTP 12 }
mbgLtCfgNTPAutokeyFeature OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is the NTP autokey feature enabled" --- "1 = true, 2 = false" ::= { mbgLtCfgNTP 13 }
mbgLtCfgNTPAtomPPS OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is the NTP atom pps feature enabled" --- "1 = true, 2 = false" ::= { mbgLtCfgNTP 14 }
--
-- EMail parameters
--
mbgLtCfgEMail OBJECT IDENTIFIER ::= { mbgLtCfg 3 }
mbgLtCfgEMailTo OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "EMail address to send alerts etc. to (receiving address)" ::= { mbgLtCfgEMail 1 }
mbgLtCfgEMailFrom OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "EMail address to send alerts etc. from (sending address)" ::= { mbgLtCfgEMail 2 }
mbgLtCfgEMailSmarthost OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "SMTP smarthost used to send mail" ::= { mbgLtCfgEMail 3 }
--
-- SNMP parameters
--
mbgLtCfgSNMP OBJECT IDENTIFIER ::= { mbgLtCfg 4 }
mbgLtCfgSNMPTrapReceiver1 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "First SNMP trap receiver host" ::= { mbgLtCfgSNMP 1 }
mbgLtCfgSNMPTrapReceiver2 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Second SNMP trap receiver host" ::= { mbgLtCfgSNMP 2 }
mbgLtCfgSNMPTrapRec1Community OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "First SNMP trap receiver community" ::= { mbgLtCfgSNMP 3 }
mbgLtCfgSNMPTrapRec2Community OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Second SNMP trap receiver community" ::= { mbgLtCfgSNMP 4 }
mbgLtCfgSNMPReadOnlyCommunity OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "SNMP community string for read-only access" ::= { mbgLtCfgSNMP 5 }
mbgLtCfgSNMPReadWriteCommunity OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "SNMP community string for read-write access" ::= { mbgLtCfgSNMP 6 }
mbgLtCfgSNMPContact OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "SNMP contact string for Lantime" ::= { mbgLtCfgSNMP 7 }
mbgLtCfgSNMPLocation OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "SNMP location string for Lantime" ::= { mbgLtCfgSNMP 8 }
--
-- Winpopup parameters
--
mbgLtCfgWinpopup OBJECT IDENTIFIER ::= { mbgLtCfg 5 }
mbgLtCfgWMailAddress1 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "First windows popup alert receiver" ::= { mbgLtCfgWinpopup 1 }
mbgLtCfgWMailAddress2 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Second windows popup alert receiver" ::= { mbgLtCfgWinpopup 2 }
--
-- Wallmount display parameters
--
mbgLtCfgWalldisplay OBJECT IDENTIFIER ::= { mbgLtCfg 6 }
mbgLtCfgVP100Display1IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "IP address of first VP100 wall display" ::= { mbgLtCfgWalldisplay 1 }
mbgLtCfgVP100Display1SN OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Serial number of first VP100 wall display" ::= { mbgLtCfgWalldisplay 2 }
mbgLtCfgVP100Display2IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "IP address of second VP100 wall display" ::= { mbgLtCfgWalldisplay 3 }
mbgLtCfgVP100Display2SN OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Serial number of second VP100 wall display" ::= { mbgLtCfgWalldisplay 4 }
--
-- Notify parameters
--
mbgLtCfgNotify OBJECT IDENTIFIER ::= { mbgLtCfg 7 }
mbgLtCfgNotifyNTPNotSync OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Which alerts are sent in case of a NTP_not_sync event" --- possible strings: --- "email (sending an e-mail)" --- "wmail (sending a win popup message)" --- "snmp (sending a SNMP trap)" --- "disp (showing an alert on wall display)" --- "or a comma separated combination of these" --- "An empty string disables notification for this event." --- "Example: wmail,email (sending a win popup and e-mail message)"
::= { mbgLtCfgNotify 1 }
mbgLtCfgNotifyNTPStopped OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Which alerts are sent in case of a NTP_stopped event" --- possible strings: --- "email (sending an e-mail)" --- "wmail (sending a win popup message)" --- "snmp (sending a SNMP trap)" --- "disp (showing an alert on wall display)" --- "or a comma separated combination of these" --- "An empty string disables notification for this event." --- "Example: wmail,email (sending a win popup and e-mail message)"
::= { mbgLtCfgNotify 2 }
mbgLtCfgNotifyServerBoot OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Which alerts are sent in case of a server_boot event" --- possible strings: --- "email (sending an e-mail)" --- "wmail (sending a win popup message)" --- "snmp (sending a SNMP trap)" --- "disp (showing an alert on wall display)" --- "or a comma separated combination of these" --- "An empty string disables notification for this event." --- "Example: wmail,email (sending a win popup and e-mail message)"
::= { mbgLtCfgNotify 3 }
mbgLtCfgNotifyRefclkNoResponse OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Which alerts are sent in case of a refclock_not_responding event" --- possible strings: --- "email (sending an e-mail)" --- "wmail (sending a win popup message)" --- "snmp (sending a SNMP trap)" --- "disp (showing an alert on wall display)" --- "or a comma separated combination of these" --- "An empty string disables notification for this event." --- "Example: wmail,email (sending a win popup and e-mail message)"
::= { mbgLtCfgNotify 4 }
mbgLtCfgNotifyRefclockNotSync OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Which alerts are sent in case of a refclock_not_sync event" --- possible strings: --- "email (sending an e-mail)" --- "wmail (sending a win popup message)" --- "snmp (sending a SNMP trap)" --- "disp (showing an alert on wall display)" --- "or a comma separated combination of these" --- "An empty string disables notification for this event." --- "Example: wmail,email (sending a win popup and e-mail message)"
::= { mbgLtCfgNotify 5 }
mbgLtCfgNotifyAntennaFaulty OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Which alerts are sent in case of an antenna_faulty event" --- possible strings: --- "email (sending an e-mail)" --- "wmail (sending a win popup message)" --- "snmp (sending a SNMP trap)" --- "disp (showing an alert on wall display)" --- "or a comma separated combination of these" --- "An empty string disables notification for this event." --- "Example: wmail,email (sending a win popup and e-mail message)"
::= { mbgLtCfgNotify 6 }
mbgLtCfgNotifyAntennaReconnect OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Which alerts are sent in case of an antenna_reconnect event" --- possible strings: --- "email (sending an e-mail)" --- "wmail (sending a win popup message)" --- "snmp (sending a SNMP trap)" --- "disp (showing an alert on wall display)" --- "or a comma separated combination of these" --- "An empty string disables notification for this event." --- "Example: wmail,email (sending a win popup and e-mail message)"
::= { mbgLtCfgNotify 7 }
mbgLtCfgNotifyConfigChanged OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Which alerts are sent in case of a config_changed event" --- possible strings: --- "email (sending an e-mail)" --- "wmail (sending a win popup message)" --- "snmp (sending a SNMP trap)" --- "disp (showing an alert on wall display)" --- "or a comma separated combination of these" --- "An empty string disables notification for this event." --- "Example: wmail,email (sending a win popup and e-mail message)"
::= { mbgLtCfgNotify 8 }
mbgLtCfgNotifySHSTimeLimitError OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Which alerts are sent in case of a SHS_timelimiterror event" --- possible strings: --- "email (sending an e-mail)" --- "wmail (sending a win popup message)" --- "snmp (sending a SNMP trap)" --- "disp (showing an alert on wall display)" --- "or a comma separated combination of these." --- "An empty string disables notification for this event." --- "Example: wmail,email (sending a win popup and e-mail message)"
::= { mbgLtCfgNotify 9 }
mbgLtCfgNotifyLeapSecond OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Which alerts are sent in case of a Leap_Second_Announced event" --- possible strings: --- "email (sending an e-mail)" --- "wmail (sending a win popup message)" --- "snmp (sending a SNMP trap)" --- "disp (showing an alert on wall display)" --- "or a comma separated combination of these." --- "An empty string disables notification for this event." --- "Example: wmail,email (sending a win popup and e-mail message)"
::= { mbgLtCfgNotify 10 }
-- -- Ethernet parameters --
mbgLtCfgEthernet OBJECT IDENTIFIER ::= { mbgLtCfg 8 }
mbgLtCfgEthernetIf0 OBJECT IDENTIFIER ::= { mbgLtCfgEthernet 0 } mbgLtCfgEthernetIf1 OBJECT IDENTIFIER ::= { mbgLtCfgEthernet 1 } mbgLtCfgEthernetIf2 OBJECT IDENTIFIER ::= { mbgLtCfgEthernet 2 } mbgLtCfgEthernetIf3 OBJECT IDENTIFIER ::= { mbgLtCfgEthernet 3 } mbgLtCfgEthernetIf4 OBJECT IDENTIFIER ::= { mbgLtCfgEthernet 4 } mbgLtCfgEthernetIf5 OBJECT IDENTIFIER ::= { mbgLtCfgEthernet 5 } mbgLtCfgEthernetIf6 OBJECT IDENTIFIER ::= { mbgLtCfgEthernet 6 } mbgLtCfgEthernetIf7 OBJECT IDENTIFIER ::= { mbgLtCfgEthernet 7 } mbgLtCfgEthernetIf8 OBJECT IDENTIFIER ::= { mbgLtCfgEthernet 8 } mbgLtCfgEthernetIf9 OBJECT IDENTIFIER ::= { mbgLtCfgEthernet 9 }
mbgLtCfgEthernetIf0IPv4IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 address of the first ethernet interface" ::= { mbgLtCfgEthernetIf0 1 }
mbgLtCfgEthernetIf0IPv4Netmask OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 netmask of the first ethernet interface" ::= { mbgLtCfgEthernetIf0 2 }
mbgLtCfgEthernetIf0IPv4Gateway OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 gateway address of the first ethernet interface" ::= { mbgLtCfgEthernetIf0 3 }
mbgLtCfgEthernetIf0DHCPClient OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is DHCP used to get IP parameters for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf0 4 }
mbgLtCfgEthernetIf0IPv6IP1 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The first IPv6 address of the first ethernet interface" ::= { mbgLtCfgEthernetIf0 5 }
mbgLtCfgEthernetIf0IPv6IP2 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The second IPv6 address of the first ethernet interface" ::= { mbgLtCfgEthernetIf0 6 }
mbgLtCfgEthernetIf0IPv6IP3 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The third IPv6 address of the first ethernet interface" ::= { mbgLtCfgEthernetIf0 7 }
mbgLtCfgEthernetIf0IPv6Autoconf OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is IPv6 Autoconf used for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf0 8 }
mbgLtCfgEthernetIf0NetLinkMode OBJECT-TYPE
SYNTAX INTEGER { autosensing(0), link10half(1), link10full(2), link100half(3), link100full(4) } MAX-ACCESS read-write STATUS current DESCRIPTION "Link mode for this interface"
::= { mbgLtCfgEthernetIf0 9 }
mbgLtCfgEthernetIf1IPv4IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 address of the second ethernet interface" ::= { mbgLtCfgEthernetIf1 1 }
mbgLtCfgEthernetIf1IPv4Netmask OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 netmask of the second ethernet interface" ::= { mbgLtCfgEthernetIf1 2 }
mbgLtCfgEthernetIf1IPv4Gateway OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 gateway address of the second ethernet interface" ::= { mbgLtCfgEthernetIf1 3 }
mbgLtCfgEthernetIf1DHCPClient OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is DHCP used to get IP parameters for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf1 4 }
mbgLtCfgEthernetIf1IPv6IP1 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The first IPv6 address of the second ethernet interface" ::= { mbgLtCfgEthernetIf1 5 }
mbgLtCfgEthernetIf1IPv6IP2 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The second IPv6 address of the second ethernet interface" ::= { mbgLtCfgEthernetIf1 6 }
mbgLtCfgEthernetIf1IPv6IP3 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The third IPv6 address of the second ethernet interface" ::= { mbgLtCfgEthernetIf1 7 }
mbgLtCfgEthernetIf1IPv6Autoconf OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is IPv6 Autoconf used for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf1 8 }
mbgLtCfgEthernetIf1NetLinkMode OBJECT-TYPE
SYNTAX INTEGER { autosensing(0), link10half(1), link10full(2), link100half(3), link100full(4) } MAX-ACCESS read-write STATUS current DESCRIPTION "Link mode for this interface"
::= { mbgLtCfgEthernetIf1 9 }
mbgLtCfgEthernetIf2IPv4IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 address of the third ethernet interface" ::= { mbgLtCfgEthernetIf2 1 }
mbgLtCfgEthernetIf2IPv4Netmask OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 netmask of the third ethernet interface" ::= { mbgLtCfgEthernetIf2 2 }
mbgLtCfgEthernetIf2IPv4Gateway OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 gateway address of the third ethernet interface" ::= { mbgLtCfgEthernetIf2 3 }
mbgLtCfgEthernetIf2DHCPClient OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is DHCP used to get IP parameters for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf2 4 }
mbgLtCfgEthernetIf2IPv6IP1 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The first IPv6 address of the third ethernet interface" ::= { mbgLtCfgEthernetIf2 5 }
mbgLtCfgEthernetIf2IPv6IP2 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The second IPv6 address of the third ethernet interface" ::= { mbgLtCfgEthernetIf2 6 }
mbgLtCfgEthernetIf2IPv6IP3 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The third IPv6 address of the third ethernet interface" ::= { mbgLtCfgEthernetIf2 7 }
mbgLtCfgEthernetIf2IPv6Autoconf OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is IPv6 Autoconf used for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf2 8 }
mbgLtCfgEthernetIf2NetLinkMode OBJECT-TYPE
SYNTAX INTEGER { autosensing(0), link10half(1), link10full(2), link100half(3), link100full(4) } MAX-ACCESS read-write STATUS current DESCRIPTION "Link mode for this interface"
::= { mbgLtCfgEthernetIf2 9 }
mbgLtCfgEthernetIf3IPv4IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 address of the fourth ethernet interface" ::= { mbgLtCfgEthernetIf3 1 }
mbgLtCfgEthernetIf3IPv4Netmask OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 netmask of the fourth ethernet interface" ::= { mbgLtCfgEthernetIf3 2 }
mbgLtCfgEthernetIf3IPv4Gateway OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 gateway address of the fourth ethernet interface" ::= { mbgLtCfgEthernetIf3 3 }
mbgLtCfgEthernetIf3DHCPClient OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is DHCP used to get IP parameters for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf3 4 }
mbgLtCfgEthernetIf3IPv6IP1 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The first IPv6 address of the fourth ethernet interface" ::= { mbgLtCfgEthernetIf3 5 }
mbgLtCfgEthernetIf3IPv6IP2 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The second IPv6 address of the fourth ethernet interface" ::= { mbgLtCfgEthernetIf3 6 }
mbgLtCfgEthernetIf3IPv6IP3 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The third IPv6 address of the fourth ethernet interface" ::= { mbgLtCfgEthernetIf3 7 }
mbgLtCfgEthernetIf3IPv6Autoconf OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is IPv6 Autoconf used for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf3 8 }
mbgLtCfgEthernetIf3NetLinkMode OBJECT-TYPE
SYNTAX INTEGER { autosensing(0), link10half(1), link10full(2), link100half(3), link100full(4) } MAX-ACCESS read-write STATUS current DESCRIPTION "Link mode for this interface"
::= { mbgLtCfgEthernetIf3 9 }
mbgLtCfgEthernetIf4IPv4IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 address of the fifth ethernet interface" ::= { mbgLtCfgEthernetIf4 1 }
mbgLtCfgEthernetIf4IPv4Netmask OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 netmask of the fifth ethernet interface" ::= { mbgLtCfgEthernetIf4 2 }
mbgLtCfgEthernetIf4IPv4Gateway OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 gateway address of the fifth ethernet interface" ::= { mbgLtCfgEthernetIf4 3 }
mbgLtCfgEthernetIf4DHCPClient OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is DHCP used to get IP parameters for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf4 4 }
mbgLtCfgEthernetIf4IPv6IP1 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The first IPv6 address of the fifth ethernet interface" ::= { mbgLtCfgEthernetIf4 5 }
mbgLtCfgEthernetIf4IPv6IP2 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The second IPv6 address of the fifth ethernet interface" ::= { mbgLtCfgEthernetIf4 6 }
mbgLtCfgEthernetIf4IPv6IP3 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The third IPv6 address of the fifth ethernet interface" ::= { mbgLtCfgEthernetIf4 7 }
mbgLtCfgEthernetIf4IPv6Autoconf OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is IPv6 Autoconf used for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf4 8 }
mbgLtCfgEthernetIf4NetLinkMode OBJECT-TYPE
SYNTAX INTEGER { autosensing(0), link10half(1), link10full(2), link100half(3), link100full(4) } MAX-ACCESS read-write STATUS current DESCRIPTION "Link mode for this interface"
::= { mbgLtCfgEthernetIf4 9 }
mbgLtCfgEthernetIf5IPv4IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 address of the sixth ethernet interface" ::= { mbgLtCfgEthernetIf5 1 }
mbgLtCfgEthernetIf5IPv4Netmask OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 netmask of the sixth ethernet interface" ::= { mbgLtCfgEthernetIf5 2 }
mbgLtCfgEthernetIf5IPv4Gateway OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 gateway address of the sixth ethernet interface" ::= { mbgLtCfgEthernetIf5 3 }
mbgLtCfgEthernetIf5DHCPClient OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is DHCP used to get IP parameters for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf5 4 }
mbgLtCfgEthernetIf5IPv6IP1 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The first IPv6 address of the sixth ethernet interface" ::= { mbgLtCfgEthernetIf5 5 }
mbgLtCfgEthernetIf5IPv6IP2 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The second IPv6 address of the sixth ethernet interface" ::= { mbgLtCfgEthernetIf5 6 }
mbgLtCfgEthernetIf5IPv6IP3 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The third IPv6 address of the sixth ethernet interface" ::= { mbgLtCfgEthernetIf5 7 }
mbgLtCfgEthernetIf5IPv6Autoconf OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is IPv6 Autoconf used for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf5 8 }
mbgLtCfgEthernetIf5NetLinkMode OBJECT-TYPE
SYNTAX INTEGER { autosensing(0), link10half(1), link10full(2), link100half(3), link100full(4) } MAX-ACCESS read-write STATUS current DESCRIPTION "Link mode for this interface"
::= { mbgLtCfgEthernetIf5 9 }
mbgLtCfgEthernetIf6IPv4IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 address of the seventh ethernet interface" ::= { mbgLtCfgEthernetIf6 1 }
mbgLtCfgEthernetIf6IPv4Netmask OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 netmask of the seventh ethernet interface" ::= { mbgLtCfgEthernetIf6 2 }
mbgLtCfgEthernetIf6IPv4Gateway OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 gateway address of the seventh ethernet interface" ::= { mbgLtCfgEthernetIf6 3 }
mbgLtCfgEthernetIf6DHCPClient OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is DHCP used to get IP parameters for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf6 4 }
mbgLtCfgEthernetIf6IPv6IP1 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The first IPv6 address of the seventh ethernet interface" ::= { mbgLtCfgEthernetIf6 5 }
mbgLtCfgEthernetIf6IPv6IP2 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The second IPv6 address of the seventh ethernet interface" ::= { mbgLtCfgEthernetIf6 6 }
mbgLtCfgEthernetIf6IPv6IP3 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The third IPv6 address of the seventh ethernet interface" ::= { mbgLtCfgEthernetIf6 7 }
mbgLtCfgEthernetIf6IPv6Autoconf OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is IPv6 Autoconf used for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf6 8 }
mbgLtCfgEthernetIf6NetLinkMode OBJECT-TYPE
SYNTAX INTEGER { autosensing(0), link10half(1), link10full(2), link100half(3), link100full(4) } MAX-ACCESS read-write STATUS current DESCRIPTION "Link mode for this interface"
::= { mbgLtCfgEthernetIf6 9 }
mbgLtCfgEthernetIf7IPv4IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 address of the eighth ethernet interface" ::= { mbgLtCfgEthernetIf7 1 }
mbgLtCfgEthernetIf7IPv4Netmask OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 netmask of the eighth ethernet interface" ::= { mbgLtCfgEthernetIf7 2 }
mbgLtCfgEthernetIf7IPv4Gateway OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 gateway address of the eighth ethernet interface" ::= { mbgLtCfgEthernetIf7 3 }
mbgLtCfgEthernetIf7DHCPClient OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is DHCP used to get IP parameters for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf7 4 }
mbgLtCfgEthernetIf7IPv6IP1 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The first IPv6 address of the eighth ethernet interface" ::= { mbgLtCfgEthernetIf7 5 }
mbgLtCfgEthernetIf7IPv6IP2 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The second IPv6 address of the eighth ethernet interface" ::= { mbgLtCfgEthernetIf7 6 }
mbgLtCfgEthernetIf7IPv6IP3 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The third IPv6 address of the eighth ethernet interface" ::= { mbgLtCfgEthernetIf7 7 }
mbgLtCfgEthernetIf7IPv6Autoconf OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is IPv6 Autoconf used for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf7 8 }
mbgLtCfgEthernetIf7NetLinkMode OBJECT-TYPE
SYNTAX INTEGER { autosensing(0), link10half(1), link10full(2), link100half(3), link100full(4) } MAX-ACCESS read-write STATUS current DESCRIPTION "Link mode for this interface"
::= { mbgLtCfgEthernetIf7 9 }
mbgLtCfgEthernetIf8IPv4IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 address of the nineth ethernet interface" ::= { mbgLtCfgEthernetIf8 1 }
mbgLtCfgEthernetIf8IPv4Netmask OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 netmask of the nineth ethernet interface" ::= { mbgLtCfgEthernetIf8 2 }
mbgLtCfgEthernetIf8IPv4Gateway OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 gateway address of the nineth ethernet interface" ::= { mbgLtCfgEthernetIf8 3 }
mbgLtCfgEthernetIf8DHCPClient OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is DHCP used to get IP parameters for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf8 4 }
mbgLtCfgEthernetIf8IPv6IP1 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The first IPv6 address of the nineth ethernet interface" ::= { mbgLtCfgEthernetIf8 5 }
mbgLtCfgEthernetIf8IPv6IP2 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The second IPv6 address of the nineth ethernet interface" ::= { mbgLtCfgEthernetIf8 6 }
mbgLtCfgEthernetIf8IPv6IP3 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The third IPv6 address of the nineth ethernet interface" ::= { mbgLtCfgEthernetIf8 7 }
mbgLtCfgEthernetIf8IPv6Autoconf OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is IPv6 Autoconf used for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf8 8 }
mbgLtCfgEthernetIf8NetLinkMode OBJECT-TYPE
SYNTAX INTEGER { autosensing(0), link10half(1), link10full(2), link100half(3), link100full(4) } MAX-ACCESS read-write STATUS current DESCRIPTION "Link mode for this interface"
::= { mbgLtCfgEthernetIf8 9 }
mbgLtCfgEthernetIf9IPv4IP OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 address of the tenth ethernet interface" ::= { mbgLtCfgEthernetIf9 1 }
mbgLtCfgEthernetIf9IPv4Netmask OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 netmask of the tenth ethernet interface" ::= { mbgLtCfgEthernetIf9 2 }
mbgLtCfgEthernetIf9IPv4Gateway OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The IPv4 gateway address of the tenth ethernet interface" ::= { mbgLtCfgEthernetIf9 3 }
mbgLtCfgEthernetIf9DHCPClient OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is DHCP used to get IP parameters for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf9 4 }
mbgLtCfgEthernetIf9IPv6IP1 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The first IPv6 address of the tenth ethernet interface" ::= { mbgLtCfgEthernetIf9 5 }
mbgLtCfgEthernetIf9IPv6IP2 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The second IPv6 address of the tenth ethernet interface" ::= { mbgLtCfgEthernetIf9 6 }
mbgLtCfgEthernetIf9IPv6IP3 OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "The third IPv6 address of the tenth ethernet interface" ::= { mbgLtCfgEthernetIf9 7 }
mbgLtCfgEthernetIf9IPv6Autoconf OBJECT-TYPE
SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Is IPv6 Autoconf used for this interface" --- "1 = true, 2 = false" ::= { mbgLtCfgEthernetIf9 8 }
mbgLtCfgEthernetIf9NetLinkMode OBJECT-TYPE
SYNTAX INTEGER { autosensing(0), link10half(1), link10full(2), link100half(3), link100full(4) } MAX-ACCESS read-write STATUS current DESCRIPTION "Link mode for this interface"
::= { mbgLtCfgEthernetIf9 9 }
--
-- SHS specific parameters
--
mbgLtCfgSHS OBJECT IDENTIFIER ::= { mbgLtCfg 9 }
mbgLtCfgSHSTimeLimit OBJECT-TYPE
SYNTAX Integer32 (-2147483648..2147483647) MAX-ACCESS read-write STATUS current DESCRIPTION "Max. number of seconds the two SHS references can differ before a SHS Timelimit error is issued" ::= { mbgLtCfgSHS 1 }
--
-- NDT specific parameters
--
mbgLtCfgNDT OBJECT IDENTIFIER ::= { mbgLtCfg 10 }
mbgLtCfgNDTMode OBJECT-TYPE
SYNTAX INTEGER { master(0), slave(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Operation mode of LANTIME NDT " --- "0 = NDT is operating as a master server, 1 = NDT is operating as a slave server" ::= { mbgLtCfgNDT 1 }
-- -- Lantime SNMP commands --
mbgLtCmd OBJECT IDENTIFIER ::= { mbgLantime 5 }
mbgLtCmdExecute OBJECT-TYPE
SYNTAX INTEGER { ready(0), doReboot(1), doFirmwareUpdate (2), doReloadConfig (3), doGenerateSSHKey (4), doGenerateHTTPSKey (5), doResetFactoryDefaults (6), doGenerateNewNTPAutokeyCert (7), doSendTestNotification (8), doResetSHSTimeLimitError (9) } MAX-ACCESS read-write STATUS current DESCRIPTION "Send a command to the timeserver to be executed"
::={ mbgLtCmd 1 }
mbgLtCmdSetRefTime OBJECT-TYPE
SYNTAX DisplayString MAX-ACCESS read-write STATUS current DESCRIPTION "Set the time of the reference clock and the LANTIME itself"
-- The new time has to be specified in UTC time and -- can be either written as a valid ISO8601 date and time string -- e.g. 2006-08-23 16:05:30 (=08/23/2006, 4:05:30pm) -- or a simple number representing the number of seconds -- since 01/01/1970
::={ mbgLtCmd 2 }
mbgLtConformance OBJECT IDENTIFIER ::= { mbgLantime 90 }
mbgLtCompliances OBJECT IDENTIFIER ::= { mbgLtConformance 1 }
mbgLtGroups OBJECT IDENTIFIER ::= { mbgLtConformance 2 }
mbgLtCompliance MODULE-COMPLIANCE
STATUS current DESCRIPTION "The compliance statement for SNMP entities which implement version 2 of the LANTIME MIB" MODULE -- this module MANDATORY-GROUPS { mbgLtObjectsGroup, mbgLtTrapsGroup } ::= { mbgLtCompliances 1 }
mbgLtObjectsGroup OBJECT-GROUP
OBJECTS { mbgLtCmdExecute,
mbgLtCmdSetRefTime,
mbgLtCfgNDTMode, mbgLtCfgSHSTimeLimit, mbgLtCfgEthernetIf9NetLinkMode, mbgLtCfgEthernetIf9IPv6Autoconf, mbgLtCfgEthernetIf9IPv6IP3, mbgLtCfgEthernetIf9IPv6IP2, mbgLtCfgEthernetIf9IPv6IP1, mbgLtCfgEthernetIf9DHCPClient, mbgLtCfgEthernetIf9IPv4Gateway, mbgLtCfgEthernetIf9IPv4Netmask, mbgLtCfgEthernetIf9IPv4IP, mbgLtCfgEthernetIf8NetLinkMode, mbgLtCfgEthernetIf8IPv6Autoconf, mbgLtCfgEthernetIf8IPv6IP3, mbgLtCfgEthernetIf8IPv6IP2, mbgLtCfgEthernetIf8IPv6IP1, mbgLtCfgEthernetIf8DHCPClient, mbgLtCfgEthernetIf8IPv4Gateway, mbgLtCfgEthernetIf8IPv4Netmask, mbgLtCfgEthernetIf8IPv4IP, mbgLtCfgEthernetIf7NetLinkMode, mbgLtCfgEthernetIf7IPv6Autoconf, mbgLtCfgEthernetIf7IPv6IP3, mbgLtCfgEthernetIf7IPv6IP2, mbgLtCfgEthernetIf7IPv6IP1, mbgLtCfgEthernetIf7DHCPClient, mbgLtCfgEthernetIf7IPv4Gateway, mbgLtCfgEthernetIf7IPv4Netmask, mbgLtCfgEthernetIf7IPv4IP, mbgLtCfgEthernetIf6NetLinkMode, mbgLtCfgEthernetIf6IPv6Autoconf, mbgLtCfgEthernetIf6IPv6IP3, mbgLtCfgEthernetIf6IPv6IP2, mbgLtCfgEthernetIf6IPv6IP1, mbgLtCfgEthernetIf6DHCPClient, mbgLtCfgEthernetIf6IPv4Gateway, mbgLtCfgEthernetIf6IPv4Netmask, mbgLtCfgEthernetIf6IPv4IP, mbgLtCfgEthernetIf5NetLinkMode, mbgLtCfgEthernetIf5IPv6Autoconf, mbgLtCfgEthernetIf5IPv6IP3, mbgLtCfgEthernetIf5IPv6IP2, mbgLtCfgEthernetIf5IPv6IP1, mbgLtCfgEthernetIf5DHCPClient, mbgLtCfgEthernetIf5IPv4Gateway, mbgLtCfgEthernetIf5IPv4Netmask, mbgLtCfgEthernetIf5IPv4IP, mbgLtCfgEthernetIf4NetLinkMode, mbgLtCfgEthernetIf4IPv6Autoconf, mbgLtCfgEthernetIf4IPv6IP3, mbgLtCfgEthernetIf4IPv6IP2, mbgLtCfgEthernetIf4IPv6IP1, mbgLtCfgEthernetIf4DHCPClient, mbgLtCfgEthernetIf4IPv4Gateway, mbgLtCfgEthernetIf4IPv4Netmask, mbgLtCfgEthernetIf4IPv4IP, mbgLtCfgEthernetIf3NetLinkMode, mbgLtCfgEthernetIf3IPv6Autoconf, mbgLtCfgEthernetIf3IPv6IP3, mbgLtCfgEthernetIf3IPv6IP2, mbgLtCfgEthernetIf3IPv6IP1, mbgLtCfgEthernetIf3DHCPClient, mbgLtCfgEthernetIf3IPv4Gateway, mbgLtCfgEthernetIf3IPv4Netmask, mbgLtCfgEthernetIf3IPv4IP, mbgLtCfgEthernetIf2NetLinkMode, mbgLtCfgEthernetIf2IPv6Autoconf, mbgLtCfgEthernetIf2IPv6IP3, mbgLtCfgEthernetIf2IPv6IP2, mbgLtCfgEthernetIf2IPv6IP1, mbgLtCfgEthernetIf2DHCPClient, mbgLtCfgEthernetIf2IPv4Gateway, mbgLtCfgEthernetIf2IPv4Netmask, mbgLtCfgEthernetIf2IPv4IP, mbgLtCfgEthernetIf1NetLinkMode, mbgLtCfgEthernetIf1IPv6Autoconf, mbgLtCfgEthernetIf1IPv6IP3, mbgLtCfgEthernetIf1IPv6IP2, mbgLtCfgEthernetIf1IPv6IP1, mbgLtCfgEthernetIf1DHCPClient, mbgLtCfgEthernetIf1IPv4Gateway, mbgLtCfgEthernetIf1IPv4Netmask, mbgLtCfgEthernetIf1IPv4IP, mbgLtCfgEthernetIf0NetLinkMode, mbgLtCfgEthernetIf0IPv6Autoconf, mbgLtCfgEthernetIf0IPv6IP3, mbgLtCfgEthernetIf0IPv6IP2, mbgLtCfgEthernetIf0IPv6IP1, mbgLtCfgEthernetIf0DHCPClient, mbgLtCfgEthernetIf0IPv4Gateway, mbgLtCfgEthernetIf0IPv4Netmask, mbgLtCfgEthernetIf0IPv4IP, mbgLtCfgNotifyLeapSecond, mbgLtCfgNotifySHSTimeLimitError, mbgLtCfgNotifyConfigChanged, mbgLtCfgNotifyAntennaReconnect, mbgLtCfgNotifyAntennaFaulty, mbgLtCfgNotifyRefclockNotSync, mbgLtCfgNotifyRefclkNoResponse, mbgLtCfgNotifyServerBoot, mbgLtCfgNotifyNTPStopped, mbgLtCfgNotifyNTPNotSync, mbgLtCfgVP100Display2SN, mbgLtCfgVP100Display2IP, mbgLtCfgVP100Display1SN, mbgLtCfgVP100Display1IP, mbgLtCfgWMailAddress2, mbgLtCfgWMailAddress1, mbgLtCfgSNMPLocation, mbgLtCfgSNMPContact, mbgLtCfgSNMPReadWriteCommunity, mbgLtCfgSNMPReadOnlyCommunity, mbgLtCfgSNMPTrapRec2Community, mbgLtCfgSNMPTrapRec1Community, mbgLtCfgSNMPTrapReceiver2, mbgLtCfgSNMPTrapReceiver1, mbgLtCfgEMailSmarthost, mbgLtCfgEMailFrom, mbgLtCfgEMailTo, mbgLtCfgNTPAtomPPS, mbgLtCfgNTPAutokeyFeature, mbgLtCfgNTPBroadcastAutokey, mbgLtCfgNTPBroadcastKey, mbgLtCfgNTPBroadcastIP, mbgLtCfgNTPTrustedKey, mbgLtCfgNTPStratumLocalClock, mbgLtCfgNTPServer1Autokey, mbgLtCfgNTPServer1Key, mbgLtCfgNTPServer1IP, mbgLtCfgNTPServer1Prefer, mbgLtCfgNTPServer2Autokey, mbgLtCfgNTPServer2Key, mbgLtCfgNTPServer2IP, mbgLtCfgNTPServer2Prefer, mbgLtCfgNTPServer3Autokey, mbgLtCfgNTPServer3Key, mbgLtCfgNTPServer3IP, mbgLtCfgNTPServer3Prefer, mbgLtCfgNTPServer4Autokey, mbgLtCfgNTPServer4Key, mbgLtCfgNTPServer4IP, mbgLtCfgNTPServer4Prefer, mbgLtCfgNTPServer5Autokey, mbgLtCfgNTPServer5Key, mbgLtCfgNTPServer5IP, mbgLtCfgNTPServer5Prefer, mbgLtCfgNTPServer6Autokey, mbgLtCfgNTPServer6Key, mbgLtCfgNTPServer6IP, mbgLtCfgNTPServer6Prefer, mbgLtCfgNTPServer7Autokey, mbgLtCfgNTPServer7Key, mbgLtCfgNTPServer7IP, mbgLtCfgNTPServer7Prefer, mbgLtCfgSSHAccess, mbgLtCfgIPv6Access, mbgLtCfgSambaAccess, mbgLtCfgSNMPAccess, mbgLtCfgHTTPSAccess, mbgLtCfgHTTPAccess, mbgLtCfgFTPAccess, mbgLtCfgTelnetAccess, mbgLtCfgSyslogserver2, mbgLtCfgSyslogserver1, mbgLtCfgNameserver2, mbgLtCfgNameserver1, mbgLtCfgDomainname, mbgLtCfgHostname, mbgLtRefDctModeVal, mbgLtRefDctMode, mbgLtRefDctField, mbgLtRefDctStateVal, mbgLtRefDctState, mbgLtRefSHSTimeDiff, mbgLtRefSHSModeVal, mbgLtRefSHSMode, mbgLtRefIrigStateVal, mbgLtRefIrigState, mbgLtRefPzfModeVal, mbgLtRefPzfMode, mbgLtRefIrigModeVal, mbgLtRefIrigMode, mbgLtRefGpsModeVal, mbgLtRefGpsMode, mbgLtRefPzfField, mbgLtRefPzfKorrelation, mbgLtRefPzfStateVal, mbgLtRefPzfState, mbgLtRefGpsSatellitesInView, mbgLtRefGpsSatellitesGood, mbgLtRefGpsSatellites, mbgLtRefGpsPosition, mbgLtRefGpsStateVal, mbgLtRefGpsState, mbgLtRefClockModeVal, mbgLtRefClockMode, mbgLtRefClockTypeVal, mbgLtRefClockType, mbgLtNtpVersion, mbgLtNtpAuthKeyId, mbgLtNtpNumberOfRefclocks, mbgLtNtpActiveRefclockOffsetVal, mbgLtNtpActiveRefclockOffset, mbgLtNtpActiveRefclockName, mbgLtNtpActiveRefclockId, mbgLtNtpStratum, mbgLtNtpCurrentStateVal, mbgLtNtpCurrentState, mbgLtFirmwareVersionVal, mbgLtFirmwareVersion, mbgLtTrapMessage } STATUS current DESCRIPTION "The collection of objects for the LANTIME MIB" ::= { mbgLtGroups 1 }
mbgLtTrapsGroup NOTIFICATION-GROUP
NOTIFICATIONS { mbgLtTrapTestNotification,
mbgLtTrapPowerSupplyFailure, mbgLtTrapAntennaShortCircuit, mbgLtTrapNormalOperation,
mbgLtTrapHeartbeat, mbgLtTrapSecondaryRecNotSync, mbgLtTrapSHSTimeLimitError, mbgLtTrapLeapSecondAnnounced, mbgLtTrapConfigChanged, mbgLtTrapAntennaReconnect, mbgLtTrapAntennaFaulty, mbgLtTrapReceiverNotSync, mbgLtTrapReceiverNotResponding, mbgLtTrapServerBoot, mbgLtTrapNTPStopped, mbgLtTrapNTPNotSync } STATUS current DESCRIPTION "The collection of traps for the LANTIME MIB" ::= { mbgLtGroups 2 }
END
Example handler script
The command specifies a command to be executed by snmptrapd upon reception by the command. This command is executed with the data of the trap as its standard input. The first line is the host name, the second the IP address of the trap sender, and the following lines consists of an OID VALUE pair with the data from the received trap.
A simple shell script to be called from snmptrapd is the following:
#!/bin/sh read host read ip vars= while read oid val do if [ "$vars" = "" ] then vars="$oid = $val" else vars="$vars, $oid = $val" fi done echo trap: $1 $host $ip $vars
Now, given the following sample snmptrapd.conf file,
# the generic traps traphandle SNMPv2-MIB::coldStart /home/nba/bin/traps cold traphandle SNMPv2-MIB::warmStart /home/nba/bin/traps warm traphandle IF-MIB::linkDown /home/nba/bin/traps down traphandle IF-MIB::linkUp /home/nba/bin/traps up traphandle SNMPv2-MIB::authenticationFailure /home/nba/bin/traps auth # this one is deprecated traphandle .1.3.6.1.6.3.1.1.5.6 /home/nba/bin/traps egp-neighbor-loss # enterprise specific traps traphandle UCD-TRAP-TEST-MIB::demoTrap /home/nba/bin/traps demo-trap traphandle UCD-NOTIFICATION-TEST-MIB::demoNotif /home/nba/bin/traps demo-notif
The following snmptrap invocation, to issue a generic Link down trap,
% snmptrap -v 1 -c public localhost TRAP-TEST-MIB::demotraps localhost 2 0 "" \ IF-MIB::ifIndex i 1
results in the following output from snmptrapd:
1999-11-13 12:46:49 localhost [127.0.0.1] TRAP-TEST-MIB::traps: Link Down Trap (0) Uptime: 1 day, 18:54:46.27 IF-MIB::ifIndex.0 = 1
and the following output from the handler:
trap: down localhost 127.0.0.1 SNMPv2-MIB::sysUpTime = 1:18:54:46.27, SNMPv2-MIB::snmpTrapOID = IF-MIB::linkDown, IF-MIB::ifIndex.0 = 1, SNMPv2-MIB::snmpTrapEnterprise = TRAP-TEST-MIB::traps
and issuing our enterprise specific trap gives this output from our handler:
trap: demoTrap localhost 127.0.0.1 SNMPv2-MIB::sysUpTime = 1:19:00:48.01, SNMPv2-MIB::snmpTrapOID = UCD-TRAP-TEST-MIB::demoTrap, SNMPv2-MIB::sysLocation.0 = "just here", SNMPv2-MIB::snmpTrapEnterprise = UCD-TRAP-TEST-MIB::traps
and finally our enterprise specific notification:
trap: demoNotif localhost 127.0.0.1 SNMPv2-MIB::sysUpTime.0 = 1:19:02:06.33, SNMPv2-MIB::snmpTrapOID.0 = UCD-NOTIFICATION-TEST-MIB::demoNotif, SNMPv2-MIB::sysLocation.0 = "just here"
Tutorial Sections
About the SNMP Protocol
These tutorial links talk about SNMP generically and how the protocol itself works. They are good introductory reading material and the concepts are important to understand before diving into the later tutorials about Net-SNMP itself.
- How SNMP Works: About the protocol itself (GETs, GETNEXTs, etc)
- What data is in SNMP: All about SNMP Management Information Bases (MIBs)
- Securing SNMP: How to use the SNMP protocol securely
Net-SNMP Command Line Applications
These tutorial pages discuss the command line tools provided in the Net-SNMP suite of tools. Nearly all the example commands in these tutorials works if you try it yourself, as they're all examples that talk to our online Net-SNMP test agent. Given them a shot!
- snmptranslate: learning about the MIB tree.
- snmpget: retrieving data from a host.
- snmpgetnext: retrieving unknown indexed data.
- snmpwalk: retrieving lots of data at once!
- snmptable: displaying a table.
- snmpset: peforming write operations.
- snmpbulkget: communicates with a network entity using SNMP GETBULK request
- snmpbulkwalk: retrieve a sub-tree of management values using SNMP GETBULK requests.
- snmptrap: Sending and receiving traps, and acting upon them.
- Traps/informs with SNMPv3/USM: Sending and receiving SNMPv3/USM TRAPs and INFORMs
- Sending Traps/Informs via AgentX: Sending notifications from the command line through snmpd
- Common command line options:
- Writing mib2c config files
Application Configuration
All of our applications support configuration to allow you to customize how they behave.
Net-SNMP Daemons
Net-SNMP comes with two long-running daemons: a SNMP agent (snmpd) for responding to management requests and a notification receiver (snmptrapd) for receiving SNMP notifications.
- SNMP Agent (snmpd) Configuration
- SNMP Notification Receiver (snmptrapd)
- Agent Monitoring
Coding Tutorials
Net-SNMP comes with a highly flexible and extensible API. The API allows you to create your own commands, add extensions to the agent to support your own MIBs and perform specialized processing of notifications.
- Client / Manager Coding Tutorials
- Agent Coding Tutorials
- The Agent Architecture page might be worth reading before or after the agent coding tutorials, and describes how the Agent Helpers work under the hood.
- Writing a mib module to serve information described by an SNMP MIB, and how to compile it into the net-snmp snmpd agent.
- Writing a Dynamically Loadable Object that can be loaded into the SNMP agent.
- Writing a Subagent that can be run to attach to the snmpd master agent.
- Writing a perl plugin to extend the agent using the NetSNMP::agent module.
- Writing shell scripts to extend the agent
- Using mib2c to help write an agent code template for you
- Header files and autoconf
Debugging SNMP Applications and Agents
All our tools and applications have extensive debugging output. These tutorials talk about how the debugging system works and how you can add your own debugging statements to you code:
- Debugging output printed using the -D command line option
- Using -Ddump to display packet breakdowns
- Debugging using GDB
Operating System Specific Tutorials
- Building With Visual Studio 2005 Express
- Building Net-SNMP 64-bit with Visual C++ 2010 Express
- Net-Snmp on Ubuntu
- Net-SNMP and lm-sensors on Ubuntu 10.04
- Net-SNMP for windows: