Code: Select all
define service{
use generic-service
host_name host1,host2
service_description ServiceName
is_volatile 0
check_period 24x7
max_check_attempts 2
normal_check_interval 10080
retry_check_interval 2
contact_groups admins
notification_interval 1440
notification_period 24x7
notification_options c,w,r
check_command check_command!snmp
}
2) When I verify the config:
Warning: Service 'ServiceName' on host 'host1' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective interval will be that of the check interval.
On the above example, I would like the check to be executed every one week. If an error is detected then the notification should be send every 1440 minutes *=1 day)
Is the above behavior achieved with this configuration?
Is it possible to disable this warning when verifying the config ?
3)
"," at the end of lines is not handled as error. For example:
Code: Select all
define service{
use generic-service
host_name host1,host2,
Thank you