Code

added website to trunk
[rrdtool-all.git] / website / iana / RRDMONITOR.MIB
diff --git a/website/iana/RRDMONITOR.MIB b/website/iana/RRDMONITOR.MIB
new file mode 100644 (file)
index 0000000..3e1e2fd
--- /dev/null
@@ -0,0 +1,87 @@
+RRDMONITOR-MIB DEFINITIONS ::= BEGIN\r
+\r
+IMPORTS\r
+       NOTIFICATION-TYPE, OBJECT-TYPE, MODULE-IDENTITY\r
+               FROM SNMPv2-SMI\r
+       TEXTUAL-CONVENTION\r
+               FROM SNMPv2-TC\r
+       rrdtool\r
+               FROM RRDTOOL-SMI;\r
+\r
+rrdmonitor MODULE-IDENTITY\r
+       LAST-UPDATED "200505160000Z"\r
+       ORGANIZATION \r
+               "RRDMonitor project"\r
+       CONTACT-INFO \r
+               "contact        info@rrdmonitor.net\r
+                                                       http://rrdmonitor.net"\r
+       DESCRIPTION \r
+               "The MIB module for SNMP variables specific to RRDMonitor project"\r
+::= { rrdtool 3 }\r
+\r
+\r
+EventType ::= TEXTUAL-CONVENTION\r
+       STATUS     current\r
+       DESCRIPTION \r
+               "Defines the event type:\r
+                       warning         -- The monitor condition is first time met\r
+                       critical        -- The monitor condition is met again on the consequtive\r
+                                               monitorin cycle\r
+                       clear                   -- The monitor condition is not met the first time after\r
+                                               event type set or repeat"\r
+       SYNTAX  INTEGER {\r
+               warning (1),\r
+               critical (2),\r
+               clear (3)\r
+       }\r
+\r
+\r
+rrdmonitorAlarmTable  OBJECT-TYPE\r
+       SYNTAX SEQUENCE OF RrdmonitorAlarmEntry\r
+       MAX-ACCESS not-accessible\r
+       STATUS     current\r
+       DESCRIPTION \r
+               ""\r
+       ::= { rrdmonitor 1 }\r
+\r
+rrdmonitorAlarmEntry  OBJECT-TYPE\r
+       SYNTAX  RrdmonitorAlarmEntry\r
+       MAX-ACCESS not-accessible\r
+       STATUS     current\r
+       DESCRIPTION \r
+               ""\r
+       INDEX { rrdmonitorEventType, \r
+               rrdmonitorMessage }\r
+       ::= { rrdmonitorAlarmTable 1 }\r
+\r
+RrdmonitorAlarmEntry ::= SEQUENCE {\r
+       rrdmonitorEventType\r
+               EventType,\r
+       rrdmonitorMessage\r
+               OCTET STRING\r
+}\r
+\r
+rrdmonitorEventType  OBJECT-TYPE\r
+       SYNTAX     EventType\r
+       MAX-ACCESS read-write\r
+       STATUS     current\r
+       DESCRIPTION \r
+               "The type of the event: warning(1), critical(2), clear(3)"\r
+       ::= { rrdmonitorAlarmEntry 1 }\r
+\r
+rrdmonitorMessage  OBJECT-TYPE\r
+       SYNTAX     OCTET STRING (SIZE(0..128))\r
+       MAX-ACCESS read-write\r
+       STATUS     current\r
+       DESCRIPTION \r
+               "The value of this object uniquely identifies this event entry."\r
+       ::= { rrdmonitorAlarmEntry 2 }\r
+\r
+generic  NOTIFICATION-TYPE\r
+       OBJECTS { rrdmonitorEventType, \r
+               rrdmonitorMessage }\r
+       STATUS     current\r
+       DESCRIPTION \r
+               "The SNMP trap that is generated when an rrdmonitor monitor condition is changed for the leaf being monitored"\r
+       ::= { rrdmonitor 2 }\r
+END
\ No newline at end of file