SF.net SVN: nagiosplug:[2188] nagiosmib/trunk

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
Revision: 2188
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2188&view=rev
Author:   dermoth
Date:     2009-04-02 23:26:46 +0000 (Thu, 02 Apr 2009)

Log Message:
-----------
NotifyType set to Gauge32, instead of Integer32, for host and service notifications (thanks to Dirk Fieldhouse)

From: Ton Voon <[email protected]>

Modified Paths:
--------------
    nagiosmib/trunk/MIB/NAGIOS-NOTIFY-MIB
    nagiosmib/trunk/Makefile
    nagiosmib/trunk/README
    nagiosmib/trunk/src-mib/nagios-notify.mib

Modified: nagiosmib/trunk/MIB/NAGIOS-NOTIFY-MIB
===================================================================
--- nagiosmib/trunk/MIB/NAGIOS-NOTIFY-MIB	2009-04-02 23:26:35 UTC (rev 2187)
+++ nagiosmib/trunk/MIB/NAGIOS-NOTIFY-MIB	2009-04-02 23:26:46 UTC (rev 2188)
@@ -1,7 +1,7 @@
 NAGIOS-NOTIFY-MIB DEFINITIONS ::= BEGIN
   IMPORTS
     MODULE-IDENTITY, OBJECT-TYPE,  NOTIFICATION-TYPE,
-    Integer32
+    Integer32, Gauge32
       FROM SNMPv2-SMI
     nagios,NotifyType,HostStateID,HostStateType,ServiceStateID
       FROM NAGIOS-ROOT-MIB;
@@ -228,7 +228,7 @@
 
 HostNotifyEntry ::= SEQUENCE {
   nHostNotifyType    NotifyType,
-  nHostNotifyNum     Integer32,
+  nHostNotifyNum     Gauge32,    -- was Integer32,
   nHostAckAuthor     OCTET STRING,
   nHostAckComment    OCTET STRING
   }
@@ -253,7 +253,7 @@
   ::= { nagiosHostNotifyEntry 1 }
   
 nHostNotifyNum OBJECT-TYPE
-  SYNTAX     NotifyType
+  SYNTAX     Gauge32    -- was NotifyType
   MAX-ACCESS read-only
   STATUS     current
   DESCRIPTION 
@@ -510,7 +510,7 @@
   
 SvcNotifyEntry ::= SEQUENCE {
   nSvcNotifyType    NotifyType,
-  nSvcNotifyNum     Integer32,
+  nSvcNotifyNum     Gauge32,    -- Integer32,
   nSvcAckAuthor     OCTET STRING,
   nSvcAckComment    OCTET STRING
   }
@@ -536,7 +536,7 @@
   ::= { nagiosSvcNotifyEntry 1 }
 
 nSvcNotifyNum  OBJECT-TYPE
-  SYNTAX       Integer32
+  SYNTAX       Gauge32  -- Integer32
   MAX-ACCESS   read-only
   STATUS       current
   DESCRIPTION

Modified: nagiosmib/trunk/Makefile
===================================================================
--- nagiosmib/trunk/Makefile	2009-04-02 23:26:35 UTC (rev 2187)
+++ nagiosmib/trunk/Makefile	2009-04-02 23:26:46 UTC (rev 2188)
@@ -1,4 +1,4 @@
-VERSION = 1.0.0
+VERSION = 1.0.1
 
 all:
 	smistrip -d MIB src-mib/nagios*.mib
@@ -7,6 +7,6 @@
 	smilint -p ./MIB/NAGIOS-ROOT-MIB ./MIB/NAGIOS-NOTIFY-MIB
 
 tarball:
-	tar cvzf nagiosmib-${VERSION}.tar.gz ./MIB/*MIB
+	tar cvzf nagiosmib-${VERSION}.tar.gz README CHANGES LEGAL LICENSE ./MIB/*MIB
 	md5sum nagiosmib-${VERSION}.tar.gz > nagiosmib-${VERSION}.tar.gz.md5sum
 

Modified: nagiosmib/trunk/README
===================================================================
--- nagiosmib/trunk/README	2009-04-02 23:26:35 UTC (rev 2187)
+++ nagiosmib/trunk/README	2009-04-02 23:26:46 UTC (rev 2188)
@@ -1,8 +1,6 @@
-$Id$
-
 This is the initial set of MIBs for Nagios to allow traps sent from Nagios to
 be recognized by other NMSes.
 
-Feedback should be directed to the nagiosplug-devel list.
+Feedback should be directed to the nagiosplug-devel list at http://nagiosplugins.org/mailinglists
 
 

Modified: nagiosmib/trunk/src-mib/nagios-notify.mib
===================================================================
--- nagiosmib/trunk/src-mib/nagios-notify.mib	2009-04-02 23:26:35 UTC (rev 2187)
+++ nagiosmib/trunk/src-mib/nagios-notify.mib	2009-04-02 23:26:46 UTC (rev 2188)
@@ -1,7 +1,7 @@
 NAGIOS-NOTIFY-MIB DEFINITIONS ::= BEGIN
   IMPORTS
     MODULE-IDENTITY, OBJECT-TYPE,  NOTIFICATION-TYPE,
-    Integer32
+    Integer32, Gauge32
       FROM SNMPv2-SMI
     nagios,NotifyType,HostStateID,HostStateType,ServiceStateID
       FROM NAGIOS-ROOT-MIB;
@@ -228,7 +228,7 @@
 
 HostNotifyEntry ::= SEQUENCE {
   nHostNotifyType    NotifyType,
-  nHostNotifyNum     Integer32,
+  nHostNotifyNum     Gauge32,    -- was Integer32,
   nHostAckAuthor     OCTET STRING,
   nHostAckComment    OCTET STRING
   }
@@ -253,7 +253,7 @@
   ::= { nagiosHostNotifyEntry 1 }
   
 nHostNotifyNum OBJECT-TYPE
-  SYNTAX     NotifyType
+  SYNTAX     Gauge32    -- was NotifyType
   MAX-ACCESS read-only
   STATUS     current
   DESCRIPTION 
@@ -510,7 +510,7 @@
   
 SvcNotifyEntry ::= SEQUENCE {
   nSvcNotifyType    NotifyType,
-  nSvcNotifyNum     Integer32,
+  nSvcNotifyNum     Gauge32,    -- Integer32,
   nSvcAckAuthor     OCTET STRING,
   nSvcAckComment    OCTET STRING
   }
@@ -536,7 +536,7 @@
   ::= { nagiosSvcNotifyEntry 1 }
 
 nSvcNotifyNum  OBJECT-TYPE
-  SYNTAX       Integer32
+  SYNTAX       Gauge32  -- Integer32
   MAX-ACCESS   read-only
   STATUS       current
   DESCRIPTION


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.