Hi All,
After using nagios Xi for a couple of years I'm trying to optimize something and there are few things that are annoing me.
The mail question is:
is it possibile to use Wizard without override service/host template?
I try to clarify what i mean, for example I talk about Network/Switch Router (I can use any other wizard, the problem is still the same)
Network/Switch Router creates services like interface status and bandwidth. This services use these templates
xiwizard_switch_port_bandwidth_service
xiwizard_switch_port_status_service
Perfect! So I customized this template as I needed, I run Wizard and wizard override template value (for example check interval, retry interval and other...).
Is there any way to avoid this behaviour? it is very difficoult to monitor big environment with specific rules for any kind of services with this limitation, basically I can't use Wizard or i need to run bulk tool after wizard any time.
Thanks
Alex
Wizard VS service/host template
Re: Wizard VS service/host template
Great question!
The check interval and retry interval are designed to revert because of how the data is ingested in to our system. It would be redundant to pull a value more times than it is generated.
However, you could hypothetically change the PHP file to do whatever you like. I believe you
could modify a few lines in the php file referenced below and change when a particular value is overwritten.
*please note that this modification would be overwritten by an upgrade to Nagiox XI, and changes should be carefully documented.
The check interval and retry interval are designed to revert because of how the data is ingested in to our system. It would be redundant to pull a value more times than it is generated.
However, you could hypothetically change the PHP file to do whatever you like. I believe you
could modify a few lines in the php file referenced below and change when a particular value is overwritten.
Code: Select all
/usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.phpAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
adminskymed
- Posts: 19
- Joined: Tue Feb 20, 2018 5:40 am
Re: Wizard VS service/host template
Thanks for your replay.
Unfortunately "c/usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.php" is not the file that include "Step 3" of wizard process.
But even if it was the right file it doesn't solve the problem.
I use the same example using switch wizard (but it is the same for all wizards).
If I need this kind of configuration (it is only an example, i don't need exactly this configuration):
Host Status: check interval 5 minuts; retry 1 minute; max check attempt 5
interface Bandwidth: check interval 10 minutes; retry 1 minute; max check attempt 5
Interface Status: check interval 2 minutes; retry 1 minute; max check attempt 2
Ping: check interval 1 minutes; retry 1 minute; max check attempt 2
It is impossible to have using wizard.
Any ideas?
Unfortunately "c/usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.php" is not the file that include "Step 3" of wizard process.
But even if it was the right file it doesn't solve the problem.
I use the same example using switch wizard (but it is the same for all wizards).
If I need this kind of configuration (it is only an example, i don't need exactly this configuration):
Host Status: check interval 5 minuts; retry 1 minute; max check attempt 5
interface Bandwidth: check interval 10 minutes; retry 1 minute; max check attempt 5
Interface Status: check interval 2 minutes; retry 1 minute; max check attempt 2
Ping: check interval 1 minutes; retry 1 minute; max check attempt 2
It is impossible to have using wizard.
Any ideas?
Re: Wizard VS service/host template
Apparently there is one more thing that may help. You could set the intervals in a wizard template.
Please refer to the Wizard Templates section starting on page 7 of the document linked below.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Please refer to the Wizard Templates section starting on page 7 of the document linked below.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!