Page 1 of 1

Maintaining service checks with different ncpa tokens

Posted: Tue Dec 10, 2019 5:28 pm
by meganwilliford
I'm looking for best practices around maintaining service checks on hosts with different ncpa tokens.

Here is a scenario I'm currently trying to figure out:

I have > 1000 RHEL remote hosts and > 1000 Windows remote hosts. RHEL remote hosts have a different ncpa token than the Windows remote hosts. There are multiple service checks on each remote host. I am trying to bulk modify the thresholds on the CPU service check. However, if I use the Change Command and Arguments bulk modification tool, I don't think there is a way to decipher the RHEL CPU service checks from the Windows CPU service checks which I would need to do because the different token are in the $ARG1$ line.

Is there a way to be able to select specific services only from hosts in a particular host group? Or is there a better way all together to maintain service checks for remote hosts with different ncpa tokens?

Re: Maintaining service checks with different ncpa tokens

Posted: Tue Dec 10, 2019 5:47 pm
by lmiltchev
You could create two "custom" commands, e.g. "check_ncpa_windows", and "check_ncpa_rhel". Then, you could modify each command via the Bulk Mod Tool by adding whatever arguments you need to (including the correct token), and adding them to the correct services. You could add these commands by clicking on "Select Services" or "Select Services using Service Groups" (provided you created separate service groups for your Windows and RHEL checks).