How do I bulk modify a service's settings?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
omarrrthepirate
Posts: 28
Joined: Fri Jul 09, 2021 1:13 pm
Location: Spokane, WA
Contact:

How do I bulk modify a service's settings?

Post by omarrrthepirate »

The Page File service has values that are way too low so we get a ton of critical service alerts. it's currently set to warning at 15% and I forgot what it's set for Critical. But how do I modify these values for all my hosts? I think I may want to change the CPU usage and C Drive usage attributes as well. Thank you!
Omarrr The Pirate!
Arrrrr
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: How do I bulk modify a service's settings?

Post by ssax »

What version of XI are you using? You can grab it from the bottom left hand side of the web interface after logging in.

It depends on how they are setup. Please PM me a copy of your profile.zip so I can see how they are setup, you can download it from Admin > System Profile by clicking the Download Profile button.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: How do I bulk modify a service's settings?

Post by ssax »

Based on the way you have them configured:

define service {
host_name xxxx
service_description Page File Usage
use xiwizard_windowswmi_service
check_command check_xi_service_wmiplus!'xxxxx/xxxxx'!'xxxxx'!checkpage!-w '10' -c '15'

You should be able to go to Configure > Configure Config Manager > Tools > Bulk Modifications Tool:
- Click Change Command and Arguments
- Click the Toggle All button to UNCHECK every box
- Check $ARG4$ and change it the new values (whatever you want):

Code: Select all

-w '85' -c '95'
- Click Select Services and select all of the Page File services
- Click Save Changes
- Apply Configuration
omarrrthepirate
Posts: 28
Joined: Fri Jul 09, 2021 1:13 pm
Location: Spokane, WA
Contact:

Re: How do I bulk modify a service's settings?

Post by omarrrthepirate »

No matter what command I select under the Bulk Modifications Tool, all the arguments are blank. I'm also not sure which command to modify; I don't see one in there about page file check.
Omarrr The Pirate!
Arrrrr
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: How do I bulk modify a service's settings?

Post by pbroste »

Hello @omarrrthpirate

Thanks for following up, let's go ahead and find out what command the "file check" is.

Head over to the Web console > Service Status > 'click on the file check service status'
  • Select Configure Tab (Gear Icon)
  • Re-configure this service > Monitoring Tab
  • Here you will find the exact command the service check is using.
Then make your way to the Bulk Modification and update the Args ( the Args will be blank by default as they are waiting for input )

Please let us know what you find,
Perry
omarrrthepirate
Posts: 28
Joined: Fri Jul 09, 2021 1:13 pm
Location: Spokane, WA
Contact:

Re: How do I bulk modify a service's settings?

Post by omarrrthepirate »

Thank you for all your help. You guys rock. I was able to follow your instructions. Now we'll see how it goes.
Omarrr The Pirate!
Arrrrr
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: How do I bulk modify a service's settings?

Post by pbroste »

Hello @ommarrrthepirate

Excellent, let us know if you need anything further,
Perry
Locked