merge definitions
Y36SPS semestral work
Lukáš Kukačka
kukacl2[at]fel.cvut.cz
CTU in Prague, FEE 2009
JavaScript is not enabled. Please enable JavaScript in you browser.
Until JavaScript is enabled the page will not work properly.
Notify on transition |
Option |
WARNING service states |
w |
UNKNOWN service states |
u |
CRITICAL service states |
c |
Service RECOVERY states |
r |
Send NO service notifications |
n |
Example: w,u,c,r
Notify on transition |
Option |
DOWN host states |
d |
UNREACHABLE host states |
u |
HOST RECOVERIES (return to UP state) |
r |
Send NO host notifications |
n |
Example: d,u
Names in Nagios should be:
- short
- unambiguos
- without spaces
Examples: admin, mail1, linux-machine
Alias will be displayed in Nagios interface
Alias can contain spaces.
Examples:
- 24 Hours A Day, 7 Days A Week
- Server Admin
- Ubuntu Mail Server
Host group name specifiing on which host group will the service be used.
It can be single name, comma separated multiple names or * for all defined hosts.
Name of service template used for loading default values.
Default value: generic-service
define service{
name generic-service
active_checks_enabled 1
passive_checks_enabled 1
parallelize_check 1
obsess_over_service 1
check_freshness 0
notifications_enabled 1
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
register 0
; DONT REGISTER, IT'S TEMPLATE
}
Defines if service is normal (set to 0) or volatile (set to 1)
For most people is default set to 0 - i.e. "normal".
This is advanced rule, for more info check the documentation.
Number of retries when state is not OK before notificationg contact
Normal check interval: minutes to wait before next checking (if state is OK or max check attempts has reached)
Retry check interval: minutes to wait before next check (when the state is notOK
Interval is set in minutes
Names of Nagios defined contact groups which will be contacted.
Can be single group or comma separated multiple groups.
Notification interval: says how often notificaion should be send while service state corresponds to notificaion options. Value in minutes (example: 120).
Notification period: says which timeperiod only notifications can should be send. This is name of defined timeperiod.
Notification options:
Notify on transition |
Option |
WARNING service states |
w |
UNKNOWN service states |
u |
CRITICAL service states |
c |
Service RECOVERY states |
r |
Send NO service notifications |
n |
Example: w,u,c,r