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
Changing Notification Thresholds
Re: Changing Notification Thresholds
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
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
Thanks for the reply. Do these screencaps help?
Re: Changing Notification Thresholds
the w and the c are warning and critical the number will represent % for example warning at 80% full