Cant turn of notifications
Juris Grinbergs
juris at lf.lv
Tue Apr 1 09:38:58 CEST 2003
>
>
>I'm trying to disable notifications for a series of hosts. I have
>attached my template and service-definition below.
>
Hm, see your config!
U have notification_period 24x7
May u change it to 0x0! I not test it, but, its possible means - never
send notification! ;)
Its theoretical solution, not tested!
Mannually edit your config files and try restart nagios!
Good look!
>I have changed 'notifications_enabled' to '0' in the template and
>restart Nagios, but notifications is still sent out...
>If I add a new service to Nagios that uses the same template, the
>notification is supressed (and an icon witha a crossed-over speaker
>shows up in the web).
>
>Why cant' I disable notifications for an existing service?
>
>
>
>
>define service {
>name bb-template
>active_checks_enabled 1
>passive_checks_enabled 1
>parallelize_check 1
>obsess_over_service 1
>check_freshness 0
>notifications_enabled 0
>event_handler_enabled 0
>flap_detection_enabled 1
>process_perf_data 1
>retain_status_information 1
>retain_nonstatus_information 1
>register 0
>max_check_attempts 5
>normal_check_interval 3
>retry_check_interval 1
>check_period 24x7
>notification_interval 10
>notification_period 24x7
>notification_options w,u,c,r
>contact_groups UNIX-kungar
>}
>
>
>/FredrikW
>
>
Good look!
--
With best regards,
Juris
Bauskas str. 58-322,
Riga, LV1004
Latvia
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list