Update Host Check Intervals

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
asmgiadmin
Posts: 125
Joined: Tue Feb 12, 2013 5:00 pm

Update Host Check Intervals

Post 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
        }
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Update Host Check Intervals

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Update Host Check Intervals

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
asmgiadmin
Posts: 125
Joined: Tue Feb 12, 2013 5:00 pm

Re: Update Host Check Intervals

Post by asmgiadmin »

thanks, didn't know that tool existed.

It would be great if host groups could be selected.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Update Host Check Intervals

Post 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!
Locked