[Pkg-nagios-devel] Notifications

Marc Haber mh+pkg-nagios-devel at zugschlus.de
Mon Jan 22 10:11:11 CET 2007


On Mon, Jan 15, 2007 at 08:38:42AM +0100, Jan Wagner wrote:
> schuhkarton:~# grep 
> notification_interval /etc/nagios2/conf.d/services_nagios2.cfg
> schuhkarton:~#
> 
> So adding "notification_interval 0 ; set > 0 if you want to be renotified" 
> will be fine? :)

So you suggest changing services_nagios2.cfg to read:

# check that web services are running
define service{
        hostgroup_name                  http-servers
        service_description             HTTP
        check_command                   check_http
        use                             generic-service
	notification_interval 		0 ; set > 0 if you want to be renotified
        }

# check that ssh services are running
define service{
        hostgroup_name                  ssh-servers
        service_description             SSH
        check_command                   check_ssh
        use                             generic-service
	notification_interval 		0 ; set > 0 if you want to be renotified
        }

# check that ping-only hosts are up
define service{
        hostgroup_name                  ping-servers
        service_description             PING
        check_command                   check_ping!100.0,20%!500.0,60%
        use                             generic-service
	notification_interval 		0 ; set > 0 if you want to be renotified
        }

Is that your suggestion?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



More information about the Pkg-nagios-devel mailing list