problem with check_disk_remote (solaris plugin)
Evgeny Stepanov
enst at rao.elektra.ru
Wed Sep 14 18:52:22 CEST 2005
Hello Elizar,
EMP> Why is it that when i run the plugin manually, ie, commanline,
EMP> the scripts executes without a problem.. example
EMP>
EMP> # ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98
EMP> OK: All Filesystems are below threshold (90/98%) |
EMP> /=5%;;;0;100 /usr=59%;;;0;100 /var=30%;;;0;100 /opt=58%;;;0;100
EMP>
EMP> But when i do this in my command.cfg file:
EMP>
EMP> define command{
EMP> command_name check_remote_disk
EMP> command_line $USER1$/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98
EMP> }
EMP>
EMP> (yes, i know that's the macro thing.. :) its not working also, i put it like
EMP> that to simulate manual execution)
Is it possible your rsh authentication fails? When you run it from the
shell it takes your credits, and when launched from nagios, it takes
nagios credits. Just a possibility.
Best regards
Evgeny
-------------------------------------------------------
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