Page 1 of 1

How to update qualifiers for Warnings

Posted: Fri Oct 09, 2015 10:45 am
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.

Re: How to update qualifiers for Warnings

Posted: Fri Oct 09, 2015 1:30 pm
by hsmith
Did you do a service nagios restart after changing the configuration?

Re: How to update qualifiers for Warnings

Posted: Fri Oct 09, 2015 1:49 pm
by CUTM
I did not... is there any issues with running that in the middle of the day?

Re: How to update qualifiers for Warnings

Posted: Fri Oct 09, 2015 1:52 pm
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.

Re: How to update qualifiers for Warnings

Posted: Fri Oct 09, 2015 1:55 pm
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...

Re: How to update qualifiers for Warnings

Posted: Fri Oct 09, 2015 1:56 pm
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!

Re: How to update qualifiers for Warnings

Posted: Fri Oct 09, 2015 2:12 pm
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.