SENSOR-MIB DEFINITIONS ::= BEGIN -- ########################################## -- -- Tazmen Sensor Device MIB. -- -- Copyright (c) 2002 Tazmen Technologies LLC. All rights reserved. -- -- This file contains confidential information of Tazmen Technologies. -- -- ########################################## IMPORTS mgmt, enterprises, NetworkAddress, IpAddress, Counter, Gauge, TimeTicks FROM RFC1155-SMI OBJECT-TYPE FROM RFC-1212; -- MIB-II (same prefix as MIB-I) mib-2 OBJECT IDENTIFIER ::= { mgmt 1 } -- textual conventions DisplayString ::= OCTET STRING -- This data type is used to model textual information taken -- from the NVT ASCII character set. By convention, objects -- with this syntax are declared as having SIZE (0..255) -- groups in MIB-II system OBJECT IDENTIFIER ::= { mib-2 1 } -- the System group -- Implementation of the System group is mandatory for all -- systems. If an agent is not configured to have a value -- for any of these variables, a string of length 0 is -- returned. sysDescr OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) ACCESS read-only STATUS mandatory DESCRIPTION "A textual description of the entity. This value should include the full name and version identification of the system's hardware type, software operating-system, and networking software. It is mandatory that this only contain printable ASCII characters. @GET-FUNC=sensor_mib_get_system" ::= { system 1 } sysObjectID OBJECT-TYPE SYNTAX OBJECT IDENTIFIER ACCESS read-only STATUS mandatory DESCRIPTION "The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining `what kind of box' is being managed. For example, if vendor `Flintstones, Inc.' was assigned the subtree 1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1 to its `Fred Router'. @GET-FUNC=sensor_mib_get_system" ::= { system 2 } sysUpTime OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory DESCRIPTION "The time (in hundredths of a second) since the network management portion of the system was last re-initialized. @GET-FUNC=sensor_mib_get_system" ::= { system 3 } sysContact OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) ACCESS read-write STATUS mandatory DESCRIPTION "The textual identification of the contact person for this managed node, together with information on how to contact this person. @GET-FUNC=sensor_mib_get_system @SET-FUNC=sensor_mib_set_system" ::= { system 4 } sysName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) ACCESS read-write STATUS mandatory DESCRIPTION "An administratively-assigned name for this managed node. By convention, this is the node's fully-qualified domain name. @GET-FUNC=sensor_mib_get_system @SET-FUNC=sensor_mib_set_system" ::= { system 5 } sysLocation OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) ACCESS read-write STATUS mandatory DESCRIPTION "The physical location of this node (e.g., `telephone closet, 3rd floor'). @GET-FUNC=sensor_mib_get_system @SET-FUNC=sensor_mib_set_system" ::= { system 6 } sysServices OBJECT-TYPE SYNTAX INTEGER (0..127) ACCESS read-only STATUS mandatory DESCRIPTION "A value which indicates the set of services that this entity primarily offers. The value is a sum. This sum initially takes the value zero, Then, for each layer, L, in the range 1 through 7, that this node performs transactions for, 2 raised to (L - 1) is added to the sum. For example, a node which performs primarily routing functions would have a value of 4 (2^(3-1)). In contrast, a node which is a host offering application services would have a value of 72 (2^(4-1) + 2^(7-1)). Note that in the context of the Internet suite of protocols, values should be calculated accordingly: layer functionality 1 physical (e.g., repeaters) 2 datalink/subnetwork (e.g., bridges) 3 internet (e.g., IP gateways) 4 end-to-end (e.g., IP hosts) 7 applications (e.g., mail relays) For systems including OSI protocols, layers 5 and 6 may also be counted. @GET-FUNC=sensor_mib_get_system" ::= { system 7 } -- ########################################## -- ########################################## tazmen OBJECT IDENTIFIER ::= { enterprises 14422 } -- Tazmen specific MIBs. sensor OBJECT IDENTIFIER ::= { tazmen 1 } -- ########################################## -- The general group. general OBJECT IDENTIFIER ::= { sensor 1 } version OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) ACCESS read-only STATUS mandatory DESCRIPTION "Firmware version running in the device. @GET-FUNC=sensor_mib_get_general" ::= { general 1 } saveConfig OBJECT-TYPE SYNTAX INTEGER (0..1) ACCESS read-write STATUS mandatory DESCRIPTION "Write any value to this variable to write the current configuration into non-volatile storage. @GET-FUNC=sensor_mib_get_general @SET-FUNC=sensor_mib_set_general" ::= { general 2 } reset OBJECT-TYPE SYNTAX INTEGER (0..1) ACCESS read-write STATUS mandatory DESCRIPTION "Write any value to this variable to cause the sensor to do an immediate system/hardware reset. @GET-FUNC=sensor_mib_get_general @SET-FUNC=sensor_mib_set_general" ::= { general 3 } running OBJECT-TYPE SYNTAX INTEGER (0..1) ACCESS read-write STATUS mandatory DESCRIPTION "Set to 1 to start the sensor running. Set to 0 to stop the sensor. @GET-FUNC=sensor_mib_get_general @SET-FUNC=sensor_mib_set_general" ::= { general 4 } logHostAddress OBJECT-TYPE SYNTAX IpAddress ACCESS read-write STATUS mandatory DESCRIPTION "IP address of the host to send logging to. @GET-FUNC=sensor_mib_get_general @SET-FUNC=sensor_mib_set_general" ::= { general 5 } -- ########################################## -- The addressing group. addressing OBJECT IDENTIFIER ::= { sensor 2 } useDHCP OBJECT-TYPE SYNTAX INTEGER (0..1) ACCESS read-write STATUS mandatory DESCRIPTION "A flag specifying whether DHCP should be used to get an IP address. If useDHCP is 1 then the IP address variables are ignored. @GET-FUNC=sensor_mib_get_addressing @SET-FUNC=sensor_mib_set_addressing" ::= { addressing 1 } ipAddress OBJECT-TYPE SYNTAX IpAddress ACCESS read-write STATUS mandatory DESCRIPTION "IP address to use when DHCP is disabled. @GET-FUNC=sensor_mib_get_addressing @SET-FUNC=sensor_mib_set_addressing" ::= { addressing 2 } subnetMask OBJECT-TYPE SYNTAX IpAddress ACCESS read-write STATUS mandatory DESCRIPTION "Subnet mask to use when DHCP is disabled. @GET-FUNC=sensor_mib_get_addressing @SET-FUNC=sensor_mib_set_addressing" ::= { addressing 3 } gatewayAddress OBJECT-TYPE SYNTAX IpAddress ACCESS read-write STATUS mandatory DESCRIPTION "Default gateway address to use when DHCP is disabled. @GET-FUNC=sensor_mib_get_addressing @SET-FUNC=sensor_mib_set_addressing" ::= { addressing 4 } -- ########################################## -- The wireless LAN group. wlan OBJECT IDENTIFIER ::= { sensor 3 } channel OBJECT-TYPE SYNTAX INTEGER (1..20) ACCESS read-write STATUS mandatory DESCRIPTION "Channel number to capture 802.11 packets on. @GET-FUNC=sensor_mib_get_wlan @SET-FUNC=sensor_mib_set_wlan" ::= { wlan 1 } initiateScan OBJECT-TYPE SYNTAX INTEGER (0..1) ACCESS read-write STATUS mandatory DESCRIPTION "Initiate a channel scan. ** Do not use this feature. It does not work and will probably crash the device. ** @GET-FUNC=sensor_mib_get_wlan @SET-FUNC=sensor_mib_set_wlan" ::= { wlan 2 } discardErrors OBJECT-TYPE SYNTAX INTEGER (0..1) ACCESS read-write STATUS mandatory DESCRIPTION "Whether to discard packets containing FCS errors. @GET-FUNC=sensor_mib_get_wlan @SET-FUNC=sensor_mib_set_wlan" ::= { wlan 3 } sendProbes OBJECT-TYPE SYNTAX INTEGER (0..1) ACCESS read-write STATUS mandatory DESCRIPTION "Whether the device should send probe packets. If a sniffer sends probe packets then its presence will be detectable by other sniffers. @GET-FUNC=sensor_mib_get_wlan @SET-FUNC=sensor_mib_set_wlan" ::= { wlan 4 } wepKey1Type OBJECT-TYPE SYNTAX INTEGER {key64bit(0), key128bit(1)} ACCESS read-write STATUS mandatory DESCRIPTION "The type of WEP key number 1. @GET-FUNC=sensor_mib_get_wlan @SET-FUNC=sensor_mib_set_wlan" ::= { wlan 5 } wepKey1Value OBJECT-TYPE SYNTAX OCTET STRING (SIZE (0..26)) ACCESS read-write STATUS mandatory DESCRIPTION "The value of WEP key number 1. Must contain 10 hex digits for a 64-bit key and 26 hex digits for a 128-bit key. @GET-FUNC=sensor_mib_get_wlan @SET-FUNC=sensor_mib_set_wlan" ::= { wlan 6 } wepKey2Type OBJECT-TYPE SYNTAX INTEGER {key64bit(0), key128bit(1)} ACCESS read-write STATUS mandatory DESCRIPTION "The type of WEP key number 2. @GET-FUNC=sensor_mib_get_wlan @SET-FUNC=sensor_mib_set_wlan" ::= { wlan 7 } wepKey2Value OBJECT-TYPE SYNTAX OCTET STRING (SIZE (0..26)) ACCESS read-write STATUS mandatory DESCRIPTION "The value of WEP key number 2. Must contain 10 hex digits for a 64-bit key and 26 hex digits for a 128-bit key. @GET-FUNC=sensor_mib_get_wlan @SET-FUNC=sensor_mib_set_wlan" ::= { wlan 8 } wepKey3Type OBJECT-TYPE SYNTAX INTEGER {key64bit(0), key128bit(1)} ACCESS read-write STATUS mandatory DESCRIPTION "The type of WEP key number 3. @GET-FUNC=sensor_mib_get_wlan @SET-FUNC=sensor_mib_set_wlan" ::= { wlan 9 } wepKey3Value OBJECT-TYPE SYNTAX OCTET STRING (SIZE (0..26)) ACCESS read-write STATUS mandatory DESCRIPTION "The value of WEP key number 3. Must contain 10 hex digits for a 64-bit key and 26 hex digits for a 128-bit key. @GET-FUNC=sensor_mib_get_wlan @SET-FUNC=sensor_mib_set_wlan" ::= { wlan 10 } wepKey4Type OBJECT-TYPE SYNTAX INTEGER {key64bit(0), key128bit(1)} ACCESS read-write STATUS mandatory DESCRIPTION "The type of WEP key number 4. @GET-FUNC=sensor_mib_get_wlan @SET-FUNC=sensor_mib_set_wlan" ::= { wlan 11 } wepKey4Value OBJECT-TYPE SYNTAX OCTET STRING (SIZE (0..26)) ACCESS read-write STATUS mandatory DESCRIPTION "The value of WEP key number 4. Must contain 10 hex digits for a 64-bit key and 26 hex digits for a 128-bit key. @GET-FUNC=sensor_mib_get_wlan @SET-FUNC=sensor_mib_set_wlan" ::= { wlan 12 } channelSurf OBJECT-TYPE SYNTAX INTEGER (0..1) ACCESS read-write STATUS mandatory DESCRIPTION "Whether the sensor should automatically change channels. @GET-FUNC=sensor_mib_get_wlan @SET-FUNC=sensor_mib_set_wlan" ::= { wlan 13 } channelDwellTime OBJECT-TYPE SYNTAX INTEGER (0..10000) ACCESS read-write STATUS mandatory DESCRIPTION "Time in milliseconds the sensor should spend on each channel when channelSurf is 1. @GET-FUNC=sensor_mib_get_wlan @SET-FUNC=sensor_mib_set_wlan" ::= { wlan 14 } channelBitmap OBJECT-TYPE SYNTAX INTEGER ACCESS read-write STATUS mandatory DESCRIPTION "Bitmap indicating the channels that should be surfed. Each bit (starting at zero) corresponds to a channel number that should be surfed. @GET-FUNC=sensor_mib_get_wlan @SET-FUNC=sensor_mib_set_wlan" ::= { wlan 15 } -- ########################################## -- The sniffer group. sniffer OBJECT IDENTIFIER ::= { sensor 4 } hostPort OBJECT-TYPE SYNTAX INTEGER (1..65535) ACCESS read-write STATUS mandatory DESCRIPTION "Port number on the host to send TZSP packets to. @GET-FUNC=sensor_mib_get_sniffer @SET-FUNC=sensor_mib_set_sniffer" ::= { sniffer 1 } snifferMode OBJECT-TYPE SYNTAX INTEGER { packets(1), statistics(2) } ACCESS read-write STATUS mandatory DESCRIPTION "Mode that the sniffer should operate in. packets(1) - send every packet to the host. statistics(2) - send statistics to the host. @GET-FUNC=sensor_mib_get_sniffer @SET-FUNC=sensor_mib_set_sniffer" ::= { sniffer 2 } statisticsInterval OBJECT-TYPE SYNTAX INTEGER (100..60000) ACCESS read-write STATUS mandatory DESCRIPTION "Interval int milliseconds that statistics should be reported to host. @GET-FUNC=sensor_mib_get_sniffer @SET-FUNC=sensor_mib_set_sniffer" ::= { sniffer 3 } -- ########################################## -- The devices group. devices OBJECT IDENTIFIER ::= { sensor 5 } wsp100 OBJECT-TYPE SYNTAX INTEGER (0..1) ACCESS read-only STATUS mandatory DESCRIPTION "Unique OID for the WSP100 Remote 802.11b Sensor." ::= { devices 1 } -- ########################################## -- Notifications. -- The following section is commented out because the mib -- compiler doesn't appear to handle traps correctly. -- sensorNotifications OBJECT IDENTIFIER ::= { sensor 10 } -- -- sensorLogMesgID OBJECT-TYPE -- SYNTAX INTEGER -- ACCESS read-only -- STATUS mandatory -- DESCRIPTION -- "ID number of a log message." -- ::= { sensorNotifications 1 } -- -- sensorLogMesg OBJECT-TYPE -- SYNTAX OCTET STRING (SIZE (0..512)) -- ACCESS read-only -- STATUS mandatory -- DESCRIPTION -- "Content of a log message. Note that the content is the -- paramter list for a call to printf." -- ::= { sensorNotifications 2 } -- -- sensorLogEvent NOTIFICATION-TYPE -- OBJECTS { sensorLogMesgID, sensorLogMesg } -- STATUS mandatory -- DESCRIPTION -- "A log message from the sensor to the console." -- ::= { sensorNotifications 3 } END