<div dir="ltr"><div>Since the command works from shell,  </div>
<div> </div>
<div>Try putting the command line into a Shell script then call the shell script as your check command.</div>
<div>Naturally you can pass in the Host address as a input parameter to the shell script</div>
<div> </div>
<div>If your windows plugin is NC_Net we would be  able to look at what NC_NEt recieved (If anything)</div>
<div>but the wrapper script should help in this situation.</div>
<div> </div>
<div>TOny (Author of NC_NEt)<br><br></div>
<div class="gmail_quote">On Wed, Jul 16, 2008 at 2:12 PM, Alex Broad <<a href="mailto:abr@smartsgroup.com">abr@smartsgroup.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div dir="ltr">If I run the following cmd from then everything is ok ( as show<br><br>./check_nt  -H <a href="http://192.168.1.100/" target="_blank">192.168.1.100</a> -p 12489 -v FILEAGE  -l "d:\\data\\users\\logs\\`date +%Y`\\`date +%m`\\`date +%d`\\`date +%Y%m%d.log`"<br>
>0 years 0 mon 0 days 13 hours 57 min 22 sec<br><br>However when I add this line in to my nagios check_command.cfg file the results are <br>(null)<br><br>Is this normal and if so how would you get around this so you can always check a file with \\today_date\\today_date.log?<br>
<br>Thanks in advance<br></div><br>-------------------------------------------------------------------------<br>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>Build the coolest Linux based applications with Moblin SDK & win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br><a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>
_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br></div>