problem with check_disk_remote (solaris plugin)
Andreas Ericsson
ae at op5.se
Wed Sep 14 13:52:55 CEST 2005
Elizar M. Palad wrote:
> Hi everyone!
> Why is it that when i run the plugin manually, ie, commanline,
> the scripts executes without a problem.. example
> # ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98
You're running this check as root.
> OK: All Filesystems are below threshold (90/98%) | /=5%;;;0;100
> /usr=59%;;;0;100 /var=30%;;;0;100 /opt=58%;;;0;100
> But when i do this in my command.cfg file:
> define command{
> command_name check_remote_disk
> command_line $USER1$/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98
> }
This check is run as a different user. Perhaps the user nagios runs as
isn't available on the remote host, or it isn't allowed to login through
rsh.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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