How to update qualifiers for Warnings

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
CUTM
Posts: 10
Joined: Fri Oct 09, 2015 9:45 am

How to update qualifiers for Warnings

Post by CUTM »

Good morning,

I'm brand new to Nagios and have a basic question: I'm having a bit of trouble changing the percentage of hard drive space that requires warnings. Right now I'm receiving warning at 90% full, but I want to change it a bit higher until I can compensate for the usage. I logged into my nagios box and opened the .cfg file that contains all the servers, found the proper service in the file and changed it from -w 90 to -w 94. However, i'm still receiving the update that's at 90. Is there another file or a service I need to update on the client side for this change to take effect?

Thanks.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: How to update qualifiers for Warnings

Post by hsmith »

Did you do a service nagios restart after changing the configuration?
Former Nagios Employee.
me.
CUTM
Posts: 10
Joined: Fri Oct 09, 2015 9:45 am

Re: How to update qualifiers for Warnings

Post by CUTM »

I did not... is there any issues with running that in the middle of the day?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: How to update qualifiers for Warnings

Post by tmcdonald »

Nope. Assuming there are no errors in your configs it should only take a second or two to restart. If there are errors it will warn you, and you need to fix them before it will start.
Former Nagios employee
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: How to update qualifiers for Warnings

Post by hsmith »

There may be a tiny hiccup, but I do it multiple times and never have any noticeable issues/fallout from it. I'm also not in a mission critical production environment, I would say this one is kind of a 'best judgement' type situation, but I would say it's fine. You're already breaking the 'read only Friday' rule! :lol:

edit: too slow...
Former Nagios Employee.
me.
CUTM
Posts: 10
Joined: Fri Oct 09, 2015 9:45 am

Re: How to update qualifiers for Warnings

Post by CUTM »

Thanks to both of you. I just restarted the service and an alert arrived confirming the drive space is now 'OK.'

Thanks again!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: How to update qualifiers for Warnings

Post by ssax »

Great, we'll mark this as resolved and lock the topic then. Feel free to open another one if you have any more questions.
Locked