Check_Disk Issues
kyle.odonnell at gmail.com
kyle.odonnell at gmail.com
Thu Feb 28 15:54:05 CET 2008
there is no -H hostaddress option for check_disk it is a local check.
if you want to check filesystems remotely use nrpe or ssh.
On 2/28/08, Hill Jeffrey <jeffrey.hill at dccusa.com> wrote:
> 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
>
-------------------------------------------------------------------------
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/
_______________________________________________
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