summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTon Voon <tonvoon@nagiosplugins.opsera.com>2009-04-02 19:51:05 (GMT)
committerTon Voon <tonvoon@nagiosplugins.opsera.com>2009-04-02 19:51:05 (GMT)
commit2430b7a2456cac553be4b051d1e493327df4565a (patch)
tree7324fd50409225c560e7b88de8b6c8450928cc7a
parent2780d48653f64cc974a66b872fe532e5c792b4a6 (diff)
downloadnagios-mib-master.tar.gz
NotifyType set to Gauge32, instead of Integer32, for host and service notifications (thanks to Dirk Fieldhouse)HEADmaster
-rw-r--r--MIB/NAGIOS-NOTIFY-MIB10
-rw-r--r--Makefile4
-rw-r--r--README4
-rw-r--r--src-mib/nagios-notify.mib10
4 files changed, 13 insertions, 15 deletions
diff --git a/MIB/NAGIOS-NOTIFY-MIB b/MIB/NAGIOS-NOTIFY-MIB
index a6bfceb..03b4c07 100644
--- a/MIB/NAGIOS-NOTIFY-MIB
+++ b/MIB/NAGIOS-NOTIFY-MIB
@@ -1,7 +1,7 @@
1NAGIOS-NOTIFY-MIB DEFINITIONS ::= BEGIN 1NAGIOS-NOTIFY-MIB DEFINITIONS ::= BEGIN
2 IMPORTS 2 IMPORTS
3 MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, 3 MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
4 Integer32 4 Integer32, Gauge32
5 FROM SNMPv2-SMI 5 FROM SNMPv2-SMI
6 nagios,NotifyType,HostStateID,HostStateType,ServiceStateID 6 nagios,NotifyType,HostStateID,HostStateType,ServiceStateID
7 FROM NAGIOS-ROOT-MIB; 7 FROM NAGIOS-ROOT-MIB;
@@ -228,7 +228,7 @@ nagiosHostNotifyTable OBJECT-TYPE
228 228
229HostNotifyEntry ::= SEQUENCE { 229HostNotifyEntry ::= SEQUENCE {
230 nHostNotifyType NotifyType, 230 nHostNotifyType NotifyType,
231 nHostNotifyNum Integer32, 231 nHostNotifyNum Gauge32, -- was Integer32,
232 nHostAckAuthor OCTET STRING, 232 nHostAckAuthor OCTET STRING,
233 nHostAckComment OCTET STRING 233 nHostAckComment OCTET STRING
234 } 234 }
@@ -253,7 +253,7 @@ nHostNotifyType OBJECT-TYPE
253 ::= { nagiosHostNotifyEntry 1 } 253 ::= { nagiosHostNotifyEntry 1 }
254 254
255nHostNotifyNum OBJECT-TYPE 255nHostNotifyNum OBJECT-TYPE
256 SYNTAX NotifyType 256 SYNTAX Gauge32 -- was NotifyType
257 MAX-ACCESS read-only 257 MAX-ACCESS read-only
258 STATUS current 258 STATUS current
259 DESCRIPTION 259 DESCRIPTION
@@ -510,7 +510,7 @@ nagiosSvcNotifyTable OBJECT-TYPE
510 510
511SvcNotifyEntry ::= SEQUENCE { 511SvcNotifyEntry ::= SEQUENCE {
512 nSvcNotifyType NotifyType, 512 nSvcNotifyType NotifyType,
513 nSvcNotifyNum Integer32, 513 nSvcNotifyNum Gauge32, -- Integer32,
514 nSvcAckAuthor OCTET STRING, 514 nSvcAckAuthor OCTET STRING,
515 nSvcAckComment OCTET STRING 515 nSvcAckComment OCTET STRING
516 } 516 }
@@ -536,7 +536,7 @@ nSvcNotifyType OBJECT-TYPE
536 ::= { nagiosSvcNotifyEntry 1 } 536 ::= { nagiosSvcNotifyEntry 1 }
537 537
538nSvcNotifyNum OBJECT-TYPE 538nSvcNotifyNum OBJECT-TYPE
539 SYNTAX Integer32 539 SYNTAX Gauge32 -- Integer32
540 MAX-ACCESS read-only 540 MAX-ACCESS read-only
541 STATUS current 541 STATUS current
542 DESCRIPTION 542 DESCRIPTION
diff --git a/Makefile b/Makefile
index b9abf2f..b07d0ec 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
1VERSION = 1.0.0 1VERSION = 1.0.1
2 2
3all: 3all:
4 smistrip -d MIB src-mib/nagios*.mib 4 smistrip -d MIB src-mib/nagios*.mib
@@ -7,6 +7,6 @@ test:
7 smilint -p ./MIB/NAGIOS-ROOT-MIB ./MIB/NAGIOS-NOTIFY-MIB 7 smilint -p ./MIB/NAGIOS-ROOT-MIB ./MIB/NAGIOS-NOTIFY-MIB
8 8
9tarball: 9tarball:
10 tar cvzf nagiosmib-${VERSION}.tar.gz ./MIB/*MIB 10 tar cvzf nagiosmib-${VERSION}.tar.gz README CHANGES LEGAL LICENSE ./MIB/*MIB
11 md5sum nagiosmib-${VERSION}.tar.gz > nagiosmib-${VERSION}.tar.gz.md5sum 11 md5sum nagiosmib-${VERSION}.tar.gz > nagiosmib-${VERSION}.tar.gz.md5sum
12 12
diff --git a/README b/README
index f73c7f3..e4374a4 100644
--- a/README
+++ b/README
@@ -1,8 +1,6 @@
1$Id$
2
3This is the initial set of MIBs for Nagios to allow traps sent from Nagios to 1This is the initial set of MIBs for Nagios to allow traps sent from Nagios to
4be recognized by other NMSes. 2be recognized by other NMSes.
5 3
6Feedback should be directed to the nagiosplug-devel list. 4Feedback should be directed to the nagiosplug-devel list at http://nagiosplugins.org/mailinglists
7 5
8 6
diff --git a/src-mib/nagios-notify.mib b/src-mib/nagios-notify.mib
index a6bfceb..03b4c07 100644
--- a/src-mib/nagios-notify.mib
+++ b/src-mib/nagios-notify.mib
@@ -1,7 +1,7 @@
1NAGIOS-NOTIFY-MIB DEFINITIONS ::= BEGIN 1NAGIOS-NOTIFY-MIB DEFINITIONS ::= BEGIN
2 IMPORTS 2 IMPORTS
3 MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, 3 MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
4 Integer32 4 Integer32, Gauge32
5 FROM SNMPv2-SMI 5 FROM SNMPv2-SMI
6 nagios,NotifyType,HostStateID,HostStateType,ServiceStateID 6 nagios,NotifyType,HostStateID,HostStateType,ServiceStateID
7 FROM NAGIOS-ROOT-MIB; 7 FROM NAGIOS-ROOT-MIB;
@@ -228,7 +228,7 @@ nagiosHostNotifyTable OBJECT-TYPE
228 228
229HostNotifyEntry ::= SEQUENCE { 229HostNotifyEntry ::= SEQUENCE {
230 nHostNotifyType NotifyType, 230 nHostNotifyType NotifyType,
231 nHostNotifyNum Integer32, 231 nHostNotifyNum Gauge32, -- was Integer32,
232 nHostAckAuthor OCTET STRING, 232 nHostAckAuthor OCTET STRING,
233 nHostAckComment OCTET STRING 233 nHostAckComment OCTET STRING
234 } 234 }
@@ -253,7 +253,7 @@ nHostNotifyType OBJECT-TYPE
253 ::= { nagiosHostNotifyEntry 1 } 253 ::= { nagiosHostNotifyEntry 1 }
254 254
255nHostNotifyNum OBJECT-TYPE 255nHostNotifyNum OBJECT-TYPE
256 SYNTAX NotifyType 256 SYNTAX Gauge32 -- was NotifyType
257 MAX-ACCESS read-only 257 MAX-ACCESS read-only
258 STATUS current 258 STATUS current
259 DESCRIPTION 259 DESCRIPTION
@@ -510,7 +510,7 @@ nagiosSvcNotifyTable OBJECT-TYPE
510 510
511SvcNotifyEntry ::= SEQUENCE { 511SvcNotifyEntry ::= SEQUENCE {
512 nSvcNotifyType NotifyType, 512 nSvcNotifyType NotifyType,
513 nSvcNotifyNum Integer32, 513 nSvcNotifyNum Gauge32, -- Integer32,
514 nSvcAckAuthor OCTET STRING, 514 nSvcAckAuthor OCTET STRING,
515 nSvcAckComment OCTET STRING 515 nSvcAckComment OCTET STRING
516 } 516 }
@@ -536,7 +536,7 @@ nSvcNotifyType OBJECT-TYPE
536 ::= { nagiosSvcNotifyEntry 1 } 536 ::= { nagiosSvcNotifyEntry 1 }
537 537
538nSvcNotifyNum OBJECT-TYPE 538nSvcNotifyNum OBJECT-TYPE
539 SYNTAX Integer32 539 SYNTAX Gauge32 -- Integer32
540 MAX-ACCESS read-only 540 MAX-ACCESS read-only
541 STATUS current 541 STATUS current
542 DESCRIPTION 542 DESCRIPTION