Change service metrics

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Change service metrics

Post by toleolu »

What's the easiest way to change the warning and critical threshold on monitored drive space? Right now it's 80% Warning and 90% critical, I want to change that to 85 - 95 respectively.

Mahalo;

Charles
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Change service metrics

Post by scottwilkerson »

This depends on the disk check, but either from the
Service Status Detail Page -> "Configure Tab" -> "Reconfigure this service" ->
modify the "Monitor the service with this command" field

Or from the Core Config Manager -> Services -> Edit
and change the appropriate $ARGn$ fields
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Change service metrics

Post by toleolu »

Actually I was looking for something more global, I want to change that metric for all disk checks.

Do I need to do that from a .cfg file?
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Change service metrics

Post by slansing »

This is something that can be done through the use of templates, if you set your.. lets say.. windows disk check services to use the same template, and that template had a command definition with warning and critical thresholds, when you change that template it would effectively change those thresholds for all services using that template. Unfortunately the Bulk Modification Tool does not allow you to change check settings, particularly command thresholds on groups of hosts/services since they can vary so widely based on what you are checking. We are however, working to add more functionality to the Bulk Modification tool.
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Change service metrics

Post by toleolu »

OK, so I create the template like you are talking about, but at the very least, I would have to go through all the hosts that have already been added and change their templates, or recreate them using this new template?
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Change service metrics

Post by lmiltchev »

This is correct.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked