Quick Question regarding bulk modifications

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Quick Question regarding bulk modifications

Post by bosecorp »

I am trying to adjust the Memory threshold for all my windows servers. this threshold is configured via ARG in each service. is there any way to bulk modify the threshold for critical and warning instead of doing it one by one
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Quick Question regarding bulk modifications

Post by tmcdonald »

Not currently, but I am working on a component to assist with this. The difficulty is that each plugin defines thresholds in a different way. You could have:

Code: Select all

-w 60 -c 90
--warning=60 --critical=90
-warn 60% -crit 90%
--LOW=60 --HIGH=90
or many other combinations of flags. Without a single, standardized format that all plugins use, it is both difficult and dangerous to do mass changes. I have some rough ideas of how to manage this, but I am still very early in the stages of testing out solutions.
Former Nagios employee
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Quick Question regarding bulk modifications

Post by bosecorp »

Ok, Thank you
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Quick Question regarding bulk modifications

Post by jdalrymple »

bosecorp...

it might be a good opportunity to look at the way your hosts/services are laid out. If you have a fixed service that you want to apply to a pile of hosts it would be easier to go in and delete all of the "separate services" defined and combine them into 1 service that is either applied to many hosts rather than to modify each existing service entry.

Just a thought.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Quick Question regarding bulk modifications

Post by bosecorp »

Thanks jdalrymple

I was just trying to find an easy way to make this change without a lot effort.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Quick Question regarding bulk modifications

Post by BanditBBS »

tmcdonald wrote:Not currently, but I am working on a component to assist with this. The difficulty is that each plugin defines thresholds in a different way. You could have:

Code: Select all

-w 60 -c 90
--warning=60 --critical=90
-warn 60% -crit 90%
--LOW=60 --HIGH=90
or many other combinations of flags. Without a single, standardized format that all plugins use, it is both difficult and dangerous to do mass changes. I have some rough ideas of how to manage this, but I am still very early in the stages of testing out solutions.
Trevor,

The other thing is some people(eh-hem, ME) have -w and -c hard coded in the command definitions and ARG1 is for warning and ARG2 is for critical value. So just being able to mass update ARGs would be a nice thing.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Quick Question regarding bulk modifications

Post by lmiltchev »

So just being able to mass update ARGs would be a nice thing.
I totally agree, BanditBBS. This could be a real time-saver.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Quick Question regarding bulk modifications

Post by bosecorp »

i hope we can see that in near future releases
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Quick Question regarding bulk modifications

Post by lmiltchev »

Noted.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Quick Question regarding bulk modifications

Post by bosecorp »

ok, you can close this ticket now
Locked