Check_Disk Issues
Hill Jeffrey
jeffrey.hill at dccusa.com
Thu Feb 28 15:50:08 CET 2008
In the commands.cfg file.
define command{
command_name check_disk
command_line $USER1$/check_disk -H $HOSTADDRESS$ -w $ARG1$ -c
$ARG2$ -p $ARG3$
}
In the services.cfg file.
define service{
host_name X
service_description check_disk
check_command check_disk!80%!90%!*
max_check_attempts 5
normal_check_interval 5
retry_check_interval 3
check_period 24x7
notification_interval 30
notification_period 24x7
notification_options w,c,r
contact_groups systems-admins
}
In the web interface I am getting
Current Status: CRITICAL
Status Information: (Return code of 127 is out of bounds - plugin may be
missing)
I have checked the libexec and the check_disk command is in
/usr/local/nagios/libexec. I have also got it to error with a different
error which is Current Status:
UNKNOWN
Status Information:
Unknown argument
I have restarted with no errors, and have checked and found no errors
involved with check_disk not being installed, or it would not let me
restart the Nagios service.
Any ideas on what I am doing wrong?
Thanks,
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080228/0890e407/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list