<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)" href="mailto:elizar.palad@gmail.com" target="_blank">
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)" href="mailto:nagios-users@lists.sourceforge.net" target="_blank">
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)" href="mailto:oliver.steenbuck@lhsystems.com" target="_blank">oliver.steenbuck@lhsystems.com
</a></b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:oliver.steenbuck@lhsystems.com" target="_blank">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)" href="mailto:nagios-users-admin@lists.sourceforge.net" target="_blank">
nagios-users-admin@lists.sourceforge.net</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:nagios-users-admin@lists.sourceforge.net" target="_blank">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)" href="mailto:nagios-users@lists.sourceforge.net" target="_blank">
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..