powervds
asked on
NAGIOS Check Disk
Hello,
I want to check by nagios remote partition on remote host the partition called /var
and i want to warn me if it's exceeded 90%
Thanks
I want to check by nagios remote partition on remote host the partition called /var
and i want to warn me if it's exceeded 90%
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Once this is installled add the command definition to the monitored server:
command[check_disk_var]=/u
this will warn you ar 80% full and send critical alerts at 90% used
then you need to add the command to the nrpe.conf file within the /usr/local/nagios/etc/obje
define service {
hostgroup_name <name of hosegroup to monitor this on>
service_description Var Root
check_command check_nrpe!check_disk_var
use generic-service
}
or something similar, depending on your system.
hope that helped,
Colin