check_nt cmd works - fails from nagios config
Alex Broad
abr at smartsgroup.com
Wed Jul 16 20:12:33 CEST 2008
If I run the following cmd from then everything is ok ( as show
./check_nt -H 192.168.1.100 -p 12489 -v FILEAGE -l
"d:\\data\\users\\logs\\`date +%Y`\\`date +%m`\\`date +%d`\\`date
+%Y%m%d.log`"
>0 years 0 mon 0 days 13 hours 57 min 22 sec
However when I add this line in to my nagios check_command.cfg file the
results are
(null)
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?
Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080716/1a473ac6/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
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