Page 1 of 1

Default check and notification periods via monitoring wizard

Posted: Tue Dec 18, 2012 8:10 pm
by transmax
Hi,

It seems, and I may be wrong, that when I use a monitoring wizard to add a device to nagios xi, it defaults the check and notification time period to xi_timeperiod_24x7. Is there a way to change this behaviour?

I have set the templates (xiwizard_generic_service, xiwizard_generic_host) appropriately, but they don't seem to affect what the wizard does. I've tried this with a few wizards, the most tested is the "Linux Server" wizard.

running Nagios XI 2012R1.0

Cheers,

Lee Benson
Transmax

Re: Default check and notification periods via monitoring wi

Posted: Wed Dec 19, 2012 5:12 pm
by lmiltchev
You are correct. The xi_timeperiod_24x7 is set "by default", and modifying the templates would not take it away. It is done for a purpose - mainly to prevent errors, caused by no check or notification periods defined (if removed from templates).

Currently, you can mass change some configuration options via the Bulk Modifications Tool, including the notification period. Unfortunately, at this time you cannot bulk modify the check period. This functionality *should* be added in one of our next releases.

Another "workaround" would be to set one host with the check and notification periods you want, and then clone it via the Bulk Host Import Wizard.

Hope this helps.

Re: Default check and notification periods via monitoring wi

Posted: Wed Dec 19, 2012 7:43 pm
by transmax
OK, at least I wasn't missing something.

Of course, a bulk change requires another license (enterprise) that my company seems reluctant to pay at the moment.

Cheers,

Lee

Re: Default check and notification periods via monitoring wi

Posted: Thu Dec 20, 2012 10:14 am
by lmiltchev
You don't have to buy Enterprise Edition - you can try it for free for 60 days, and do the changes you need to do. After your trial expires, you are not going to lose any functionality, that is present in the Standard Edition. You just are not going to be able to use the "Enterprise" features.

Re: Default check and notification periods via monitoring wi

Posted: Fri Aug 01, 2014 10:09 am
by phobbs
Looks like this is still happening in Nagios XI 2014R1.2.
Has there been any change to the code that would let me override the default behaviour?

I'm writing a custom wizard for our Linux servers, which forces them to use our enterprise-wide templates that define check and notification intervals, time periods, etc.
I don't need Nagios to "prevent errors" for me, I want the wizard to let the new hosts inherit their configuration from the templates like every other host in my environment.

Unfortunately this is a show-stopper for me, if I have to train the other sysadmins to use the wizard and then do a bulk-modify on a bunch of extra attributes, they might as well just keep using the bulk clone tool. I'm trying to write wizards to make it a one-step foolproof process, but this behavior is preventing that from happening.

Re: Default check and notification periods via monitoring wi

Posted: Fri Aug 01, 2014 12:33 pm
by sreinhardt
You should be able to define all this behavior with either a template or within the wizard itself. It's been a while since I've built a wizard, but any and all settings should come from the options within the wizard and you should be able to override any defaults that we place, is that not happening with your wizard? As for have we changed this, no and it is not likely to change in the default wizards at this time, as there unfortunately has been no interest other than this post.

Edit: as this is 2+ years old, I am going to lock this thread. Please make another if you wish to continue the discussion, we are happy to help!

Re: Default check and notification periods via monitoring wi

Posted: Fri Aug 01, 2014 12:45 pm
by lmiltchev
I posted a feature request (TASK ID 3708), but again... if there is no interest from other users, most probably we won't be implementing it.