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
Default check and notification periods via monitoring wizard
Re: Default check and notification periods via monitoring wi
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.
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Default check and notification periods via monitoring wi
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
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
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Default check and notification periods via monitoring wi
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.
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.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Default check and notification periods via monitoring wi
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!
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!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Default check and notification periods via monitoring wi
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!