Add support for query timeouts
[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 3 }
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 serverModules  OBJECT IDENTIFIER ::= { freeRadiusNotificationMib 2 }
64
65 serverModuleGeneric  OBJECT IDENTIFIER ::= { serverModules 1 }
66
67 serverModuleConnectionUp NOTIFICATION-TYPE
68        OBJECTS { radiusdModuleName,
69                  radiusdModuleInstance }
70        STATUS current
71        DESCRIPTION "Notification that the module has opened a new connection"
72        ::= { serverModuleGeneric 1 }
73
74 serverModuleConnectionDown NOTIFICATION-TYPE
75        OBJECTS { radiusdModuleName,
76                  radiusdModuleInstance }
77        STATUS current
78        DESCRIPTION "Notification that the module has dropped a connection"
79        ::= { serverModuleGeneric 2 }
80
81 serverModuleConnectionNone NOTIFICATION-TYPE
82        OBJECTS { radiusdModuleName,
83                  radiusdModuleInstance }
84        STATUS current
85        DESCRIPTION "Notification that the module has no connections"
86        ::= { serverModuleGeneric 2 }
87
88 homeServer  OBJECT IDENTIFIER ::= { freeRadiusNotificationMib 3 }
89
90 --
91 --  For now, we only support IPv4 traps, and we support only UDP.
92 --  We can add IPv6 and TCP / TLS later.
93 --
94 --  We also use the "authserver" fields for both authentication and accounting
95 --  servers.
96 --
97 homeServerAlive NOTIFICATION-TYPE
98        OBJECTS { radiusAuthServerAddress,
99                  radiusAuthClientServerPortNumber,
100                  radiusAuthServIdent }
101        STATUS current
102        DESCRIPTION "Notification that a home server is alive"
103        ::= { homeServer 1 }
104
105 homeServerZombie NOTIFICATION-TYPE
106        OBJECTS { radiusAuthServerAddress,
107                  radiusAuthClientServerPortNumber,
108                  radiusAuthServIdent }
109        STATUS current
110        DESCRIPTION "Notification that a home server is zombie"
111        ::= { homeServer 2 }
112
113 homeServerDead NOTIFICATION-TYPE
114        OBJECTS { radiusAuthServerAddress,
115                  radiusAuthClientServerPortNumber,
116                  radiusAuthServIdent }
117        STATUS current
118        DESCRIPTION "Notification that a home server is dead"
119        ::= { homeServer 3 }
120
121 homeServerPool  OBJECT IDENTIFIER ::= { freeRadiusNotificationMib 4 }
122
123 homeServerPoolNormal NOTIFICATION-TYPE
124        OBJECTS { radiusdConfigName }
125        STATUS current
126        DESCRIPTION "Notification that the pool is operating normally"
127        ::= { homeServerPool 1 }
128
129 homeServerPoolFallback NOTIFICATION-TYPE
130        OBJECTS { radiusdConfigName }
131        STATUS current
132        DESCRIPTION "Notification that the pool is in fallback mode"
133        ::= { homeServerPool 2 }
134
135 END