[asterisk-commits] jeffg: branch jeffg/jeffg-moresnmp-branch r144842 - /team/jeffg/jeffg-moresnm...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 26 18:27:16 CDT 2008
Author: jeffg
Date: Fri Sep 26 18:27:15 2008
New Revision: 144842
URL: http://svn.digium.com/view/asterisk?view=rev&rev=144842
Log:
Replace restart-specific traps with a truth varbind in the stop traps of ASTERISK-TRAP-MIB
Modified:
team/jeffg/jeffg-moresnmp-branch/doc/asterisk-trap-mib.txt
Modified: team/jeffg/jeffg-moresnmp-branch/doc/asterisk-trap-mib.txt
URL: http://svn.digium.com/view/asterisk/team/jeffg/jeffg-moresnmp-branch/doc/asterisk-trap-mib.txt?view=diff&rev=144842&r1=144841&r2=144842
==============================================================================
--- team/jeffg/jeffg-moresnmp-branch/doc/asterisk-trap-mib.txt (original)
+++ team/jeffg/jeffg-moresnmp-branch/doc/asterisk-trap-mib.txt Fri Sep 26 18:27:15 2008
@@ -123,6 +123,14 @@
"The reason why Asterisk is stopping."
::= { systemNotifObjects 6 }
+asteriskStopRestart OBJECT-TYPE
+ SYNTAX TruthValue
+ MAX-ACCESS accessible-for-notify
+ STATUS current
+ DESCRIPTION
+ "Whether Asterisk will restart after stopping."
+ ::= { systemNotifObjects 7 }
+
systemNotifs OBJECT IDENTIFIER ::= { asteriskNotifications 1 }
asteriskStart NOTIFICATION-TYPE
@@ -142,6 +150,7 @@
asteriskStopRequested NOTIFICATION-TYPE
OBJECTS { asteriskStopCondition,
+ asteriskStopRestart,
asteriskRunUserName,
asteriskRunUserID,
asteriskRunGroupName,
@@ -158,6 +167,7 @@
asteriskStopping NOTIFICATION-TYPE
OBJECTS { asteriskStopReason,
+ asteriskStopRestart,
asteriskRunUserName,
asteriskRunUserID,
asteriskRunGroupName,
@@ -171,50 +181,4 @@
the asteriskRestarting notification."
::= { systemNotifs 3 }
-asteriskRestartRequested NOTIFICATION-TYPE
- OBJECTS { asteriskStopCondition,
- asteriskRunUserName,
- asteriskRunUserID,
- asteriskRunGroupName,
- asteriskRunGroupID,
- astVersionString,
- astVersionTag }
- STATUS current
- DESCRIPTION
- "This notification informs a manager that
- Asterisk has been asked to restart. It is
- distinct from the asteriskStart and
- asteriskRestartRequested notifications."
- ::= { systemNotifs 4 }
-
-asteriskRestarting NOTIFICATION-TYPE
- OBJECTS { asteriskStopReason,
- asteriskRunUserName,
- asteriskRunUserID,
- asteriskRunGroupName,
- asteriskRunGroupID,
- astVersionString,
- astVersionTag }
- STATUS current
- DESCRIPTION
- "This notification informs a manager that
- Asterisk is restarting. It is distinct from the
- asteriskStart and asteriskStopping notifications."
- ::= { systemNotifs 5 }
-
-asteriskRestarted NOTIFICATION-TYPE
- OBJECTS { asteriskStopReason,
- asteriskRunUserName,
- asteriskRunUserID,
- asteriskRunGroupName,
- asteriskRunGroupID,
- astVersionString,
- astVersionTag }
- STATUS current
- DESCRIPTION
- "This notification informs a manager that
- Asterisk has restarted. It is distinct from the
- asteriskStart and asteriskRestarting notifications."
- ::= { systemNotifs 6 }
-
END
More information about the asterisk-commits
mailing list