Page 1 of 1
Quick Question regarding bulk modifications
Posted: Thu Apr 23, 2015 9:16 am
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
Re: Quick Question regarding bulk modifications
Posted: Thu Apr 23, 2015 9:23 am
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.
Re: Quick Question regarding bulk modifications
Posted: Thu Apr 23, 2015 10:17 am
by bosecorp
Ok, Thank you
Re: Quick Question regarding bulk modifications
Posted: Thu Apr 23, 2015 11:32 am
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.
Re: Quick Question regarding bulk modifications
Posted: Tue Apr 28, 2015 4:02 pm
by bosecorp
Thanks jdalrymple
I was just trying to find an easy way to make this change without a lot effort.
Re: Quick Question regarding bulk modifications
Posted: Tue Apr 28, 2015 7:11 pm
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.
Re: Quick Question regarding bulk modifications
Posted: Wed Apr 29, 2015 8:27 am
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.
Re: Quick Question regarding bulk modifications
Posted: Wed Apr 29, 2015 8:43 am
by bosecorp
i hope we can see that in near future releases
Re: Quick Question regarding bulk modifications
Posted: Wed Apr 29, 2015 9:43 am
by lmiltchev
Noted.
Re: Quick Question regarding bulk modifications
Posted: Wed Apr 29, 2015 11:15 am
by bosecorp
ok, you can close this ticket now