Changing Notification Thresholds

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
adminalex
Posts: 2
Joined: Wed Nov 30, 2011 10:43 am

Changing Notification Thresholds

Post 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
aston
Posts: 29
Joined: Fri Nov 18, 2011 9:45 am

Re: Changing Notification Thresholds

Post 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 :)
adminalex
Posts: 2
Joined: Wed Nov 30, 2011 10:43 am

Re: Changing Notification Thresholds

Post by adminalex »

Thanks for the reply. Do these screencaps help?
Nagios1.JPG
Nagios2.JPG
aston
Posts: 29
Joined: Fri Nov 18, 2011 9:45 am

Re: Changing Notification Thresholds

Post by aston »

the w and the c are warning and critical the number will represent % for example warning at 80% full
Locked