Merge remote-tracking branch 'freeradius/v3.0.x' into tr-upgrade
[freeradius.git] / mibs / FREERADIUS-NOTIFICATION-MIB.txt
1 FREERADIUS-NOTIFICATION-MIB DEFINITIONS ::= BEGIN
2        IMPORTS freeRadius
3                         FROM FREERADIUS-SMI
4                radiusAuthServerAddress,radiusAuthClientServerPortNumber
5                         FROM RADIUS-AUTH-CLIENT-MIB
6                radiusAuthServIdent
7                         FROM RADIUS-AUTH-SERVER-MIB
8                radiusd
9                         FROM FREERADIUS-PRODUCT-RADIUSD-MIB;
10
11 freeRadiusNotificationMib MODULE-IDENTITY
12         LAST-UPDATED "201012170000Z"
13         ORGANIZATION "FREERADIUS project"
14         CONTACT-INFO
15                 "FreeRADIUS Network Object Model Environment project
16
17                 see http://www.freeradius.org for contact persons of a particular
18                 area or subproject of FREERADIUS.
19
20                 Administrative contact for MIB module:
21
22                 Alan DeKok
23
24                 email: aland@freeradius.org"
25         DESCRIPTION
26                 "FreeRADIUS Notification MIBs."
27         ::= { freeRadius 4 }
28
29 serverGlobal  OBJECT IDENTIFIER ::= { freeRadiusNotificationMib 1 }
30
31 serverStart NOTIFICATION-TYPE
32        OBJECTS { identity }
33        STATUS current
34        DESCRIPTION "Notification that the server has started"
35        ::= { serverGlobal 1 }
36
37 serverStop NOTIFICATION-TYPE
38        OBJECTS { identity }
39        STATUS current
40        DESCRIPTION "Notification that the server is stopping"
41        ::= { serverGlobal 2 }
42
43 serverMaxRequests NOTIFICATION-TYPE
44        OBJECTS { identity }
45        STATUS current
46        DESCRIPTION "Notification that the server has reached the max_requests limit"
47        ::= { serverGlobal 3 }
48
49 serverSignal  OBJECT IDENTIFIER ::= { serverGlobal 4 }
50
51 signalHup NOTIFICATION-TYPE
52        OBJECTS { identity }
53        STATUS current
54        DESCRIPTION "Notification that the server has received a HUP signal"
55        ::= { serverSignal 1 }
56
57 signalTerm NOTIFICATION-TYPE
58        OBJECTS { identity }
59        STATUS current
60        DESCRIPTION "Notification that the server has received a TERM signal"
61        ::= { serverSignal 2 }
62
63 serverThread  OBJECT IDENTIFIER ::= { serverGlobal 5 }
64
65 threadStart NOTIFICATION-TYPE
66        OBJECTS { identity }
67        STATUS current
68        DESCRIPTION "Notification that a thread has started"
69        ::= { serverThread 1 }
70
71 threadStop NOTIFICATION-TYPE
72        OBJECTS { identity }
73        STATUS current
74        DESCRIPTION "Notification that a thread has stopped"
75        ::= { serverThread 2 }
76
77 threadUnresponsive NOTIFICATION-TYPE
78        OBJECTS { identity }
79        STATUS current
80        DESCRIPTION "Notification that a child thread is unresponsive"
81        ::= { serverThread 3 }
82
83 threadMaxThreads NOTIFICATION-TYPE
84        OBJECTS { identity }
85        STATUS current
86        DESCRIPTION "Notification that the max_threads limit has been reached"
87        ::= { serverThread 4 }
88
89 serverModules  OBJECT IDENTIFIER ::= { freeRadiusNotificationMib 2 }
90
91 serverModuleGeneric  OBJECT IDENTIFIER ::= { serverModules 1 }
92
93 serverModuleConnectionUp NOTIFICATION-TYPE
94        OBJECTS { radiusdModuleName,
95                  radiusdModuleInstance }
96        STATUS current
97        DESCRIPTION "Notification that the module has opened a new connection"
98        ::= { serverModuleGeneric 1 }
99
100 serverModuleConnectionDown NOTIFICATION-TYPE
101        OBJECTS { radiusdModuleName,
102                  radiusdModuleInstance }
103        STATUS current
104        DESCRIPTION "Notification that the module has dropped a connection"
105        ::= { serverModuleGeneric 2 }
106
107 serverModuleConnectionNone NOTIFICATION-TYPE
108        OBJECTS { radiusdModuleName,
109                  radiusdModuleInstance }
110        STATUS current
111        DESCRIPTION "Notification that the module has no connections"
112        ::= { serverModuleGeneric 3 }
113
114 serverModuleConnectionFail NOTIFICATION-TYPE
115        OBJECTS { radiusdModuleName,
116                  radiusdModuleInstance }
117        STATUS current
118        DESCRIPTION "Notification that the module has failed to open a new connection"
119        ::= { serverModuleGeneric 4 }
120
121 serverModuleHup NOTIFICATION-TYPE
122        OBJECTS { radiusdModuleName,
123                  radiusdModuleInstance }
124        STATUS current
125        DESCRIPTION "Notification that the module has been HUP'd via radmin"
126        ::= { serverModuleGeneric 5 }
127
128 homeServer  OBJECT IDENTIFIER ::= { freeRadiusNotificationMib 3 }
129
130 --
131 --  For now, we only support IPv4 traps, and we support only UDP.
132 --  We can add IPv6 and TCP / TLS later.
133 --
134 --  We also use the "authserver" fields for both authentication and accounting
135 --  servers.
136 --
137 homeServerAlive NOTIFICATION-TYPE
138        OBJECTS { radiusAuthServerAddress,
139                  radiusAuthClientServerPortNumber,
140                  radiusAuthServIdent }
141        STATUS current
142        DESCRIPTION "Notification that a home server is alive"
143        ::= { homeServer 1 }
144
145 homeServerZombie NOTIFICATION-TYPE
146        OBJECTS { radiusAuthServerAddress,
147                  radiusAuthClientServerPortNumber,
148                  radiusAuthServIdent }
149        STATUS current
150        DESCRIPTION "Notification that a home server is zombie"
151        ::= { homeServer 2 }
152
153 homeServerDead NOTIFICATION-TYPE
154        OBJECTS { radiusAuthServerAddress,
155                  radiusAuthClientServerPortNumber,
156                  radiusAuthServIdent }
157        STATUS current
158        DESCRIPTION "Notification that a home server is dead"
159        ::= { homeServer 3 }
160
161 homeServerPool  OBJECT IDENTIFIER ::= { freeRadiusNotificationMib 4 }
162
163 homeServerPoolNormal NOTIFICATION-TYPE
164        OBJECTS { radiusdConfigName }
165        STATUS current
166        DESCRIPTION "Notification that the pool is operating normally"
167        ::= { homeServerPool 1 }
168
169 homeServerPoolFallback NOTIFICATION-TYPE
170        OBJECTS { radiusdConfigName }
171        STATUS current
172        DESCRIPTION "Notification that the pool is in fallback mode"
173        ::= { homeServerPool 2 }
174
175 END