<!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=687395408-14092005><FONT face=Arial color=#0000ff size=2>quick 
googling turned showed taht some other persons who eported your proble had 
errors in their authentification process. Have you checked your rsh 
configuration ?</FONT></SPAN></DIV>
<DIV><SPAN class=687395408-14092005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE>
  <DIV><FONT face="Times New Roman" size=2>-----Ursprüngliche 
  Nachricht-----<BR><B>Von:</B> Elizar M. Palad 
  [mailto:elizar.palad@gmail.com]<BR><B>Gesendet am:</B> Mittwoch, 14. September 
  2005 10:47<BR><B>An:</B> STEENBUCK, OLIVER<BR><B>Cc:</B> 
  nagios-users@lists.sourceforge.net<BR><B>Betreff:</B> Re: [Nagios-users] 
  problem with check_disk_remote (solaris plugin)<BR></DIV></FONT>
  <DIV> </DIV>
  <DIV>its not working! checked the ownhership/permission of the file, both ok 
  nagios 755</DIV>
  <DIV>but when executed by nagios user, i got:</DIV>
  <DIV> </DIV>
  <DIV>$  ../libexec/check_disk_remote -e rsh -H k3tsyn1 -w 20 -c 
  30<BR>permission denied<BR>permission denied<BR>Use of uninitialized value in 
  concatenation (.) or string at ../libexec/check_disk_remote line 
  119.<BR> |<BR> </DIV>
  <DIV>checking the file now.. but any inputs are welcome..</DIV>
  <DIV>thanks!<BR><BR><BR> </DIV>
  <DIV><SPAN class=gmail_quote>On 9/14/05, <B class=gmail_sendername><A 
  href="mailto:oliver.steenbuck@lhsystems.com">oliver.steenbuck@lhsystems.com</A></B> 
  <<A 
  href="mailto:oliver.steenbuck@lhsystems.com">oliver.steenbuck@lhsystems.com 
  </A>> wrote:</SPAN> 
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
    <DIV><SPAN><FONT face=Arial color=#0000ff size=2>is the plugin also working 
    if you are nagios and start it from the commandline ?</FONT></SPAN></DIV>
    <BLOCKQUOTE>
      <DIV><FONT face="Times New Roman" size=2>-----Ursprüngliche 
      Nachricht-----<BR><B>Von:</B> Elizar M. Palad [mailto:<A 
      onclick="return top.js.OpenExtLink(window,event,this)" target=_blank 
      href="mailto:elizar.palad@gmail.com"> 
      elizar.palad@gmail.com</A>]<BR><B>Gesendet am:</B> Mittwoch, 14. September 
      2005 10:41<BR><B>An:</B> STEENBUCK, OLIVER<BR><B>Cc:</B> <A 
      onclick="return top.js.OpenExtLink(window,event,this)" target=_blank 
      href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</A><BR><B>Betreff:</B> 
      Re: [Nagios-users] problem with check_disk_remote (solaris 
      plugin)<BR></FONT></DIV>
      <DIV><SPAN class=e id=q_10653ce58086c74f_1>
      <DIV>yes actually, no. I am root in the commandline..</DIV>
      <DIV>?</DIV>
      <DIV><BR><BR> </DIV>
      <DIV><SPAN class=gmail_quote>On 9/14/05, <B class=gmail_sendername><A 
      onclick="return top.js.OpenExtLink(window,event,this)" target=_blank 
      href="mailto:oliver.steenbuck@lhsystems.com">oliver.steenbuck@lhsystems.com 
      </A></B><<A onclick="return top.js.OpenExtLink(window,event,this)" 
      target=_blank 
      href="mailto:oliver.steenbuck@lhsystems.com">oliver.steenbuck@lhsystems.com 
      </A>> wrote:</SPAN> 
      <BLOCKQUOTE class=gmail_quote 
      style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
        <DIV><SPAN><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> <A 
          onclick="return top.js.OpenExtLink(window,event,this)" target=_blank 
          href="mailto:nagios-users-admin@lists.sourceforge.net">nagios-users-admin@lists.sourceforge.net</A> 
          [mailto:<A onclick="return top.js.OpenExtLink(window,event,this)" 
          target=_blank 
          href="mailto:nagios-users-admin@lists.sourceforge.net">nagios-users-admin@lists.sourceforge.net 
          </A>]<B>Im Auftrag von</B> Elizar M. Palad<BR><B>Gesendet am:</B> 
          Mittwoch, 14. September 2005 10:36<BR><B>An:</B> <A 
          onclick="return top.js.OpenExtLink(window,event,this)" target=_blank 
          href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</A><BR><B>Betreff:</B> 
          [Nagios-users] problem with check_disk_remote (solaris 
          plugin)<BR></FONT></DIV>
          <DIV><SPAN>
          <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></SPAN></DIV></BLOCKQUOTE></BLOCKQUOTE></DIV><BR><BR 
      clear=all><BR>-- <BR>----<BR>Don't Tell Me How Hard You Work.. 
      <BR>   Show Me How Much You'd Accomplished.. 
    </SPAN></DIV></BLOCKQUOTE></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- 
  <BR>----<BR>Don't Tell Me How Hard You Work..<BR>   Show Me How Much 
  You'd Accomplished.. </BLOCKQUOTE></BODY></HTML>