diff options
-rw-r--r-- | MIB/NAGIOS-NOTIFY-MIB | 10 | ||||
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | src-mib/nagios-notify.mib | 10 |
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 @@ | |||
1 | NAGIOS-NOTIFY-MIB DEFINITIONS ::= BEGIN | 1 | NAGIOS-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 | ||
229 | HostNotifyEntry ::= SEQUENCE { | 229 | HostNotifyEntry ::= 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 | ||
255 | nHostNotifyNum OBJECT-TYPE | 255 | nHostNotifyNum 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 | ||
511 | SvcNotifyEntry ::= SEQUENCE { | 511 | SvcNotifyEntry ::= 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 | ||
538 | nSvcNotifyNum OBJECT-TYPE | 538 | nSvcNotifyNum 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 |
@@ -1,4 +1,4 @@ | |||
1 | VERSION = 1.0.0 | 1 | VERSION = 1.0.1 |
2 | 2 | ||
3 | all: | 3 | all: |
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 | ||
9 | tarball: | 9 | tarball: |
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 | ||
@@ -1,8 +1,6 @@ | |||
1 | $Id$ | ||
2 | |||
3 | This is the initial set of MIBs for Nagios to allow traps sent from Nagios to | 1 | This is the initial set of MIBs for Nagios to allow traps sent from Nagios to |
4 | be recognized by other NMSes. | 2 | be recognized by other NMSes. |
5 | 3 | ||
6 | Feedback should be directed to the nagiosplug-devel list. | 4 | Feedback 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 @@ | |||
1 | NAGIOS-NOTIFY-MIB DEFINITIONS ::= BEGIN | 1 | NAGIOS-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 | ||
229 | HostNotifyEntry ::= SEQUENCE { | 229 | HostNotifyEntry ::= 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 | ||
255 | nHostNotifyNum OBJECT-TYPE | 255 | nHostNotifyNum 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 | ||
511 | SvcNotifyEntry ::= SEQUENCE { | 511 | SvcNotifyEntry ::= 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 | ||
538 | nSvcNotifyNum OBJECT-TYPE | 538 | nSvcNotifyNum 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 |