Page 1 of 1

Update Host Check Intervals

Posted: Tue Mar 12, 2013 9:47 am
by asmgiadmin
Using auto discovery wizard, I accepted default of 5 min check interval when importing several hundred hosts.

Since check interval is specified in host config, will setting over ride template? If so, how can I update interval for several hundred hosts?

I've attempted re-import via auto discovery wizard, but new interval was not applied.

Host Config generated from auto discovery:

Code: Select all

define host {
        host_name                       hostname.domain
        use                             xiwizard_linuxserver_host
        address                         hostname.domain
        max_check_attempts              5
        check_interval                  5
        retry_interval                  1
        check_period                    xi_timeperiod_24x7
        contacts                        nagiosadmin
        notification_interval           60
        notification_period             xi_timeperiod_24x7
        icon_image                      redhat.png
        statusmap_image                 redhat.png
        _xiwizard                       nrpe
        register                        1
        }

Re: Update Host Check Intervals

Posted: Tue Mar 12, 2013 10:03 am
by slansing
You could do this with the Bulk Modifications Tool, located at:

Configure > Tools > Bulk Mods > Change Single Config Option > Choose the option from the dropdown. This will allow you to change these values in bulk.

Re: Update Host Check Intervals

Posted: Tue Mar 12, 2013 10:04 am
by lmiltchev
You can use the Bulk Modifications Tool under Nagios XI 2012 Enterprise Edition. If you don't have Enterprise, you can try it for free for 60 days, which will give you unlimited access to all "enterprise" features.

Re: Update Host Check Intervals

Posted: Tue Mar 12, 2013 10:06 am
by asmgiadmin
thanks, didn't know that tool existed.

It would be great if host groups could be selected.

Re: Update Host Check Intervals

Posted: Tue Mar 12, 2013 10:13 am
by slansing
Yes, this is something we are planning on adding to the development schedule. It will make it in a change log when added!