<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=968243908-14092005><FONT face=Arial color=#0000ff size=2>maybe
your try from the commandline was not as the nagios user ?</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face="Times New Roman" size=2>-----Ursprüngliche
Nachricht-----<BR><B>Von:</B> nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net]<B>Im Auftrag von</B> Elizar
M. Palad<BR><B>Gesendet am:</B> Mittwoch, 14. September 2005
10:36<BR><B>An:</B> nagios-users@lists.sourceforge.net<BR><B>Betreff:</B>
[Nagios-users] problem with check_disk_remote (solaris
plugin)<BR></DIV></FONT>
<DIV> </DIV>
<DIV>Hi everyone!</DIV>
<DIV> </DIV>
<DIV>Why is it that when i run the plugin manually, ie, commanline,</DIV>
<DIV>the scripts executes without a problem.. example</DIV>
<DIV> </DIV>
<DIV># ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 90 -c 98<BR>OK:
All Filesystems are below threshold (90/98%) | /=5%;;;0;100 /usr=59%;;;0;100
/var=30%;;;0;100 /opt=58%;;;0;100<BR> </DIV>
<DIV>But when i do this in my command.cfg file:</DIV>
<DIV> </DIV>
<DIV>define command{<BR>
command_name
check_remote_disk<BR>
command_line $USER1$/check_disk_remote -e rsh -H
k3tsyn1 -w 90 -c 98<BR>
}<BR> </DIV>
<DIV>(yes, i know that's the macro thing.. :) its not working also, i put it
like</DIV>
<DIV>that to simulate manual execution)</DIV>
<DIV> </DIV>
<DIV>the logs says:</DIV>
<DIV>[1126686654] SERVICE ALERT: LTX k3tsyn1 ;Disk Usage;UNKNOWN;SOFT;1;(No
output returned from plugin)<BR>[1126686714] SERVICE ALERT: LTX k3tsyn1 ;Disk
Usage;UNKNOWN;SOFT;2;(No output returned from plugin)<BR> </DIV>
<DIV>Thanks!</DIV>
<DIV> </DIV>
<DIV><BR>-- <BR>----<BR>Don't Tell Me How Hard You Work..<BR> Show
Me How Much You'd Accomplished.. </DIV></BLOCKQUOTE></BODY></HTML>