I ve made two custom wizards for my company : one for linux servers, one for windows servers. They work like a charm.
But I have an issue : in Windows/Linux Server Wizards, step 3 is mandatory.
I don't want it as my normal check/retry /max attempts/ come from specific Nagios templates in my company. These templates are well inherited in config generated. But "forced values" are taking first.
The timeperiod is forced too : xi_timeperiod_24x7 => I don't want it.
As a workaround : I force my max_check_attempt in wizard as in this example :
Code: Select all
"use" => $service_template,
"check_command" => "check_nrpe_win_service_auto!$args!!!!!!!",
"_xiwizard" => $wizard_name,
'max_check_attempts' => 3,Regardss