Quick Question regarding bulk modifications
Quick Question regarding bulk modifications
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
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:
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.
Code: Select all
-w 60 -c 90
--warning=60 --critical=90
-warn 60% -crit 90%
--LOW=60 --HIGH=90
Former Nagios employee
Re: Quick Question regarding bulk modifications
Ok, Thank you
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Quick Question regarding bulk modifications
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.
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
Thanks jdalrymple
I was just trying to find an easy way to make this change without a lot effort.
I was just trying to find an easy way to make this change without a lot effort.
Re: Quick Question regarding bulk modifications
Trevor,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:
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.Code: Select all
-w 60 -c 90 --warning=60 --critical=90 -warn 60% -crit 90% --LOW=60 --HIGH=90
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
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
Re: Quick Question regarding bulk modifications
I totally agree, BanditBBS. This could be a real time-saver.So just being able to mass update ARGs would be a nice thing.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Quick Question regarding bulk modifications
i hope we can see that in near future releases
Re: Quick Question regarding bulk modifications
Noted.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Quick Question regarding bulk modifications
ok, you can close this ticket now