Page 1 of 1

Changing Notification Thresholds

Posted: Wed Nov 30, 2011 10:45 am
by adminalex
Hi all,

I'm new to Nagios Core and need to change some disk space notification thresholds. Can someone help me with this?
Thanks!

Alex

Re: Changing Notification Thresholds

Posted: Wed Nov 30, 2011 11:56 am
by aston
Hi Mate

Depending on what machine you are monitoring for example localhost.cfg may have a section that looks like this

define service{
use local-service ; Name of service template to use
host_name Nagios_Host
service_description Root Partition
check_command check_local_disk!20%!10%!/
}


the 20% is the warning threshold and 10% critical

i monitor several windows boxes using NSclient++ with the below command as you can see -w (Warning) -c (Critical) are set accordingly warning at 80% full critical at 90% full
# Create a service for monitoring C:\ disk usage
# Change the host_name to match the name of the host you defined above

define service{
use generic-service
host_name Server1
service_description C:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
}

if the above isnt help full maybe post a little config so i can see your setup im new my self but always happy to help when i can url get there in the end mate :)

Re: Changing Notification Thresholds

Posted: Wed Nov 30, 2011 5:38 pm
by adminalex
Thanks for the reply. Do these screencaps help?
Nagios1.JPG
Nagios2.JPG

Re: Changing Notification Thresholds

Posted: Thu Dec 01, 2011 12:16 pm
by aston
the w and the c are warning and critical the number will represent % for example warning at 80% full