is there a way to bulk change a password for WMI check?
Posted: Fri Apr 01, 2016 2:31 pm
Hello,
We are relatively new to Nagios and Nagios Xi.
We recently encounter an issue that we are not sure how to correct. It is more specific to Nagios Xi than Nagios Core.
We deployed a number of hosts with WMI checks using our Template. After deployment we noticed that we mistyped a password, so all WMI checks are failing. This was in test environment, and we could easily reset everything. But in production environment we will do periodic password change, so we need to have a process in place to address it.
In Nagios we could bulk edit config files, but how do you do it in Nagios Xi that stores everything in database?
What we tried was going to "Bulk Modifications" in CCM and tried to changed $ARG2$ with new password, while selecting affected services. But we end up with configuration that removed everything but updated $ARG2$.
Do we have to do it by each Service copying all $ARG$ or there is other way we not aware of?
Thank you
Steve.
We are relatively new to Nagios and Nagios Xi.
We recently encounter an issue that we are not sure how to correct. It is more specific to Nagios Xi than Nagios Core.
We deployed a number of hosts with WMI checks using our Template. After deployment we noticed that we mistyped a password, so all WMI checks are failing. This was in test environment, and we could easily reset everything. But in production environment we will do periodic password change, so we need to have a process in place to address it.
In Nagios we could bulk edit config files, but how do you do it in Nagios Xi that stores everything in database?
What we tried was going to "Bulk Modifications" in CCM and tried to changed $ARG2$ with new password, while selecting affected services. But we end up with configuration that removed everything but updated $ARG2$.
Do we have to do it by each Service copying all $ARG$ or there is other way we not aware of?
Thank you
Steve.