-- Tuesday, December 07, 2004 -- Testing for V2. COE-MIB DEFINITIONS ::= BEGIN IMPORTS NOTIFICATION-TYPE, OBJECT-TYPE, MODULE-IDENTITY, enterprises, IpAddress, Integer32 FROM SNMPv2-SMI TruthValue, DisplayString FROM SNMPv2-TC; coeAgent MODULE-IDENTITY LAST-UPDATED "200412070907Z" ORGANIZATION "Dataprobe" CONTACT-INFO "Norman Ferreira - Engineering Postal: 11 Park Place Paramus, NJ 07652 US Tel: 201-967-9300 Fax: 201-967-9090 WEB: www.dataprobe.com" DESCRIPTION "COE-8 Example MIB module" REVISION "200412070900Z" DESCRIPTION "Rev. 1.0 - initial version" ::= { dataprobe 2 } dataprobe OBJECT IDENTIFIER ::= { enterprises 1418 } -- COE-8 MIB. SNMP implemantation for the COE-8. Through the COE-8 MIB, the COE-8 parameters can be -- access for read/write purpose. coeData OBJECT IDENTIFIER ::= { coeAgent 1 } -- COE-8 Inputs. -- The inputs name and status are desplayed on the inputs table. inputs OBJECT IDENTIFIER ::= { coeData 3 } -- COE-8 IP Settings. -- ipSettings OBJECT IDENTIFIER ::= { coeData 4 } -- COE-8 current usernames/passwords. passwords OBJECT IDENTIFIER ::= { coeData 5 } -- Indicates whether the device is a Transmitter (COE-8 OUT) or Receiver (COE-8 IN). deviceType OBJECT-TYPE SYNTAX OCTET STRING (SIZE(14)) MAX-ACCESS read-only STATUS current DESCRIPTION "" ::= { coeData 1 } -- Device location name as defined on the web page. Can be set through the SNMP Manager. locatioName OBJECT-TYPE SYNTAX DisplayString (SIZE(0..20)) MAX-ACCESS read-write STATUS current DESCRIPTION "" ::= { coeData 2 } inputsTable OBJECT-TYPE SYNTAX SEQUENCE OF InputsEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "" ::= { inputs 1 } inputsEntry OBJECT-TYPE SYNTAX InputsEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "" INDEX { index } ::= { inputsTable 1 } InputsEntry ::= SEQUENCE { index Integer32, iName DisplayString, iStatus DisplayString } index OBJECT-TYPE SYNTAX Integer32 (1..8) MAX-ACCESS read-only STATUS current DESCRIPTION "" ::= { inputsEntry 1 } -- Input name as defined on the web page. Can be set through the SNMP manager. iName OBJECT-TYPE SYNTAX DisplayString (SIZE(0..20)) MAX-ACCESS read-write STATUS current DESCRIPTION "" ::= { inputsEntry 2 } -- Input current staus: -- -OPEN -- -CLOSE iStatus OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "" ::= { inputsEntry 3 } -- Device Current IP Address.Can be set through the SNMP manager. ipAddress OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-write STATUS current DESCRIPTION "" ::= { ipSettings 1 } -- Device current Subnet Mask. Can be set through the SNMP manager. subnetMask OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-write STATUS current DESCRIPTION "" ::= { ipSettings 2 } -- Devace current gateway. Can be set through the SNMP manager. gateway OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-write STATUS current DESCRIPTION "" ::= { ipSettings 3 } -- Device Mac Address. macAddress OBJECT-TYPE SYNTAX OCTET STRING (SIZE(17)) MAX-ACCESS read-only STATUS current DESCRIPTION "" ::= { ipSettings 4 } -- COE-8 IP mode, Static. ARP-PING, DHCP. Can be set through the SNMP manager. ipMode OBJECT-TYPE SYNTAX INTEGER { static (0), dhcp (1), arp (2) } MAX-ACCESS read-write STATUS current DESCRIPTION "" ::= { ipSettings 5 } -- Device current webport. Can be set through the SNMP manager. webport OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "" ::= { ipSettings 6 } -- Device current control port. Can be set through the SNMP manager. ctrlPort OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "" ::= { ipSettings 7 } rebootToApply OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "" ::= { ipSettings 8 } -- Administrator username. Default: admin. Can be set through the SNMP manager. administrator OBJECT-TYPE SYNTAX DisplayString (SIZE(0..20)) MAX-ACCESS read-write STATUS current DESCRIPTION "" ::= { passwords 1 } -- Administrator password. Default: admin. Can be set through the SNMP manager. adminPass OBJECT-TYPE SYNTAX DisplayString (SIZE(0..20)) MAX-ACCESS read-write STATUS current DESCRIPTION "" ::= { passwords 2 } -- General user username. Default: user. Can be set through the SNMP manager. user OBJECT-TYPE SYNTAX DisplayString (SIZE(0..20)) MAX-ACCESS read-write STATUS current DESCRIPTION "" ::= { passwords 3 } -- General user password. Default: user. Can be set through the SNMP manager. userPass OBJECT-TYPE SYNTAX DisplayString (SIZE(0..20)) MAX-ACCESS read-write STATUS current DESCRIPTION "" ::= { passwords 4 } -- Input change of status notification. -- Whenever a change of status occurs on the COE-8 a notification is sent to the SNMP Manager -- indicating which input has changed and it's new status. -- notifStatusChange NOTIFICATION-TYPE OBJECTS { iName, iStatus } STATUS current DESCRIPTION "" ::= { coeAgent 2 } -- COE-8 rebooting notification. -- A reboot is necessary when either the COE-8 IP Address, Subnet Mask, Gateway, IP Mode or -- Web Port is changed. After the 'Reboot' button is press on the web page, a notification is sent -- containing all the parameters indicated above. notifReboot NOTIFICATION-TYPE OBJECTS { ipAddress, subnetMask, gateway, ipMode, webport } STATUS current DESCRIPTION "" ::= { coeAgent 5 } END -- This MIB was created using NuDesign Team's Visual MIBuilder (Ver 4.4).