From b36c3c948ba0c7a4aa451c9b93fc58a7c4e9e3fb Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 16 May 2005 17:35:51 +0000 Subject: [PATCH] added subregistration 3 git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@567 a5681a0c-68f1-0310-ab6d-d61299d08faa --- website/iana/RRDMONITOR.MIB | 135 +++++++++++++++++++++++++++++++++++ website/iana/RRDTOOL-SMI.txt | 8 +++ website/iana/index.wml | 3 +- 3 files changed, 145 insertions(+), 1 deletion(-) create mode 100644 website/iana/RRDMONITOR.MIB diff --git a/website/iana/RRDMONITOR.MIB b/website/iana/RRDMONITOR.MIB new file mode 100644 index 00000000..ac69f467 --- /dev/null +++ b/website/iana/RRDMONITOR.MIB @@ -0,0 +1,135 @@ + +RRDMONITOR-MIB DEFINITIONS ::= BEGIN + +IMPORTS + NOTIFICATION-TYPE, OBJECT-TYPE, MODULE-IDENTITY + FROM SNMPv2-SMI + TEXTUAL-CONVENTION + FROM SNMPv2-TC + rrdtool + FROM RRDTOOL-SMI; + +rrdmonitor MODULE-IDENTITY + LAST-UPDATED "200505160000Z" + ORGANIZATION + "RrdMonitor project" + CONTACT-INFO + "aaa" + DESCRIPTION + "The MIB module for SNMP variables specific to rrdmonitor project" +::= { rrdtool 3 } + + +EventType ::= TEXTUAL-CONVENTION + STATUS current + DESCRIPTION + "Defines the event type: + warning -- The monitor condition is first time met + critical -- The monitor condition is met again on the consequtive + monitorin cycle + clear -- The monitor condition is not met the first time after + event type set or repeat" + SYNTAX INTEGER { + warning (1), + critical (2), + clear (3) + } + + +Path ::= TEXTUAL-CONVENTION + STATUS current + DESCRIPTION + "Path is the full name of the rrdmonitor datasource, containing its + parent nodes separated by slashes" + SYNTAX OCTET STRING (SIZE(1..512)) + + +Token ::= TEXTUAL-CONVENTION + STATUS current + DESCRIPTION + "Token is a short ID for the leaf or subtree of the rrdmonitor + datasources hierarchy" + SYNTAX OCTET STRING (SIZE(5..10)) + + +TreeName ::= TEXTUAL-CONVENTION + STATUS current + DESCRIPTION + "rrdmonitor system operates with several datasource trees + identified by names" + SYNTAX OCTET STRING (SIZE(1..512)) + + +rrdmonitorAlarmTable OBJECT-TYPE + SYNTAX SEQUENCE OF RrdmonitorAlarmEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "" + ::= { rrdmonitor 1 } + +rrdmonitorAlarmEntry OBJECT-TYPE + SYNTAX RrdmonitorAlarmEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "" + INDEX { rrdmonitorEventType, + rrdmonitorMessage } + ::= { rrdmonitorAlarmTable 1 } + +RrdmonitorAlarmEntry ::= SEQUENCE { + rrdmonitorEventType + EventType, + rrdmonitorMessage + OCTET STRING +} + +rrdmonitorEventType OBJECT-TYPE + SYNTAX EventType + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The type of the event: warning(1), critical(2), clear(3)" + ::= { rrdmonitorAlarmEntry 1 } + +rrdmonitorMessage OBJECT-TYPE + SYNTAX OCTET STRING (SIZE(0..128)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The value of this object uniquely identifies this event entry." + ::= { rrdmonitorAlarmEntry 2 } + +generic-cpu NOTIFICATION-TYPE + OBJECTS { rrdmonitorEventType, + rrdmonitorMessage } + STATUS current + DESCRIPTION + "The SNMP trap that is generated when an rrdmonitor monitor condition is changed for the leaf being monitored" + ::= { rrdmonitor 2 } + +nokia3gsAttached NOTIFICATION-TYPE + OBJECTS { rrdmonitorEventType, + rrdmonitorMessage } + STATUS current + DESCRIPTION + "The SNMP trap that is generated when an rrdmonitor monitor condition is changed for the leaf being monitored" + ::= { rrdmonitor 3 } + +nokia3gsActivePDP NOTIFICATION-TYPE + OBJECTS { rrdmonitorEventType, + rrdmonitorMessage } + STATUS current + DESCRIPTION + "The SNMP trap that is generated when an rrdmonitor monitor condition is changed for the leaf being monitored" + ::= { rrdmonitor 4 } + +nokia3gsDNS NOTIFICATION-TYPE + OBJECTS { rrdmonitorEventType, + rrdmonitorMessage } + STATUS current + DESCRIPTION + "The SNMP trap that is generated when an rrdmonitor monitor condition is changed for the leaf being monitored" + ::= { rrdmonitor 5 } +END \ No newline at end of file diff --git a/website/iana/RRDTOOL-SMI.txt b/website/iana/RRDTOOL-SMI.txt index 1d76f157..09106056 100644 --- a/website/iana/RRDTOOL-SMI.txt +++ b/website/iana/RRDTOOL-SMI.txt @@ -42,6 +42,14 @@ mobilerrd OBJECT-IDENTITY Contact w.a.siebring@kpn.com " ::= { rrdtool 2 } + +rrdmonitor OBJECT-IDENTITY + STATUS current + DESCRIPTION + "The MIB module for SNMP variables specific to rrdmonitor project + Contact: skorza@gmail.com, rrdmonitor@10096.it + " + ::= { rrdtool 3 } -- more to come if necessary. diff --git a/website/iana/index.wml b/website/iana/index.wml index a95cbafb..8ee1cc85 100644 --- a/website/iana/index.wml +++ b/website/iana/index.wml @@ -16,7 +16,8 @@ you want an OID for your project, please drop m

If you submit MIB modules, please validate them -- 2.30.2