Page 1 of 1

NCPA Wizard Default notification settings

Posted: Tue Dec 03, 2019 12:21 pm
by ekorsakdeutsch
Hello,

I use Configuration Wizard NCPA to add hosts to the Nagios XI installation. I was able to change default thresholds for CPU/RAM/HDD services based on this thread: https://support.nagios.com/forum/viewto ... =6&t=46788
I could not find the default notification settings for the Wizard in its configuration files (ncpa.inc.php and others).

Is there a way to set notification settings for the Wizard?

Thank you!

Re: NCPA Wizard Default notification settings

Posted: Tue Dec 03, 2019 3:07 pm
by benjaminsmith
Hello,

I see this is your first post and I'd to thank you for choosing Nagios! We're happy to have you in the community. Besides the support forum, please check out our knowledgebase for useful tech tips and HowTos. And to extend product functionality, you'll find thousands of plugins and addons on the Nagios Exchange.
Welcome aboard!

The wizard will use a pre-defined template in the CCM for default settings. You can find this by going to Configure > Templates > Host or Service Templates and search for NCPA. You'll then find the xiwizard_ncpa_service and xiwizard_ncpa_host template that can be modified.

You can also save steps 3-5 in the configuration wizard as a 'template' ( different than the object templates found in the CCM). Those steps wil define the contact and notification settings.

Documentation: Understanding And Using Configuration Wizards In Nagios XI

Re: NCPA Wizard Default notification settings

Posted: Tue Dec 03, 2019 4:19 pm
by ekorsakdeutsch
Editing the xiwizard_ncpa_service and xiwizard_ncpa_host templates does not seem to change wizard defaults. Despite changing the values in both templates, newly created through the wizard hosts still receive the default values. Values displayed in the wizard are also still at defaults. I also checked settings in the parent templates - xiwizard_generic_host and xiwizard_generic_service. It is my understanding that settings defined in the "child" template override settings in the "parent" one. In any case, I set templates for generic host and generic service with non-default values - does not apply either.

Here is the template for xiwizard_ncpa_service I have:

Code: Select all

define service {
    name                            xiwizard_ncpa_service
    use                             xiwizard_generic_service
    check_command                   check_xi_ncpa!!!!!!!!
    max_check_attempts              10
    check_interval                  5
    retry_interval                  1
    notification_interval           10
    register                        0
}
Thank you!

Re: NCPA Wizard Default notification settings

Posted: Tue Dec 03, 2019 6:33 pm
by benjaminsmith
Hello @ekorsakdeutsch,

Thank you for your patience. I'm going to get some clarification on this with the other team members and will get back to shortly. The wizard may be pulling values elsewhere or it does not allow changes for compatibility.

In the meantime, If you'd like to make changes right away to the host or services you've created with the wizard, you can do this with the Bulk Modifications Tool ( Configure > Tools > Bulk Modifications Tool ).