Page 1 of 1

check_nt useddiskspace

Posted: Thu Jun 02, 2016 3:20 pm
by jbushee
I am new to Nagios.
Have it set up to monitor about 60 Windows systems, and email alerts are working.
Problem is repeated alerts about disk space.
Am I able to configure check_nt useddiskspace check so it runs daily, or twice daily, rather than every few minutes?

Thanks!

Re: check_nt useddiskspace

Posted: Thu Jun 02, 2016 3:29 pm
by rkennedy
Sure, take a look at your service definition and change the check_interval to 1440 (1day) or 720 (12 hrs). This will have it only check once a day.

Another option, is to turn the notification_interval to 0, which will cause only one notification to trigger, rather then every x minutes.

Re: check_nt useddiskspace

Posted: Thu Jun 02, 2016 3:55 pm
by jbushee
Thanks RK

I'll take a look when I get back to the office

Re: check_nt useddiskspace

Posted: Thu Jun 02, 2016 4:30 pm
by tgriep
Let us know if you have anymore questions.

Re: check_nt useddiskspace

Posted: Fri Jun 03, 2016 5:35 am
by jbushee
tgriep wrote:Let us know if you have anymore questions.
Only thing, before I get to work to test, is if I can make the change globally for all USEDDISKSPACE commands and not just the check_nt definition. We use a separate cfg file for each server, some having several drives, others having 2.

Re: check_nt useddiskspace

Posted: Fri Jun 03, 2016 10:28 am
by tgriep
If you used a template for that service check, you could edit the template but if you didn't, you would have to edit each entry.

Re: check_nt useddiskspace

Posted: Fri Jun 03, 2016 7:19 pm
by jbushee
Thanks all

Have my immediate issue taken care of. As I get more familiar with Linux and Nagios, I'll pretty it up some.

Re: check_nt useddiskspace

Posted: Mon Jun 06, 2016 10:27 am
by tmcdonald
Are we alright to close this thread then?

Re: check_nt useddiskspace

Posted: Mon Jun 06, 2016 2:49 pm
by jbushee
tmcdonald wrote:Are we alright to close this thread then?
Certainly