check_nt useddiskspace

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
jbushee
Posts: 5
Joined: Thu Jun 02, 2016 3:17 pm

check_nt useddiskspace

Post 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!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: check_nt useddiskspace

Post 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.
Former Nagios Employee
jbushee
Posts: 5
Joined: Thu Jun 02, 2016 3:17 pm

Re: check_nt useddiskspace

Post by jbushee »

Thanks RK

I'll take a look when I get back to the office
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: check_nt useddiskspace

Post by tgriep »

Let us know if you have anymore questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jbushee
Posts: 5
Joined: Thu Jun 02, 2016 3:17 pm

Re: check_nt useddiskspace

Post 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.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: check_nt useddiskspace

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jbushee
Posts: 5
Joined: Thu Jun 02, 2016 3:17 pm

Re: check_nt useddiskspace

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: check_nt useddiskspace

Post by tmcdonald »

Are we alright to close this thread then?
Former Nagios employee
jbushee
Posts: 5
Joined: Thu Jun 02, 2016 3:17 pm

Re: check_nt useddiskspace

Post by jbushee »

tmcdonald wrote:Are we alright to close this thread then?
Certainly
Locked