check_citrix issues

Dean Bishop dbishop at ehvert.com
Thu Apr 3 15:19:38 CEST 2003


Good morning,
 
  I just started playing with this yesterday and am having the same issues
as Johannes Dagemark.  My service definition encloses the application name
in single quotes and I used a command_line of:
 
/bin/echo "$USER1$/check_citrix -L -C $HOSTADDRESS$ -P $ARG1$" >
/tmp/debug.txt
 
and got:
 
/usr/local/nagios/libexec/check_citrix -L -C 192.168.0.27 -P Microsoft
Outlook XP
 
this won't work at the bash prompt due to the the spaces so I enclosed
$ARG1$ in single quotes (double's didn't change anything) ala:
 
/bin/echo "$USER1$/check_citrix -L -C $HOSTADDRESS$ -P '$ARG1$'"
 
and got:
 
/usr/local/nagios/libexec/check_citrix -L -C 192.168.0.27 -P 'Microsoft
Outlook XP'
 
which _does_ work at the bash prompt.  Alas Nagios still complains that
there is "No output"
 
This sort of makes sense.  If the published app is not found I would have
expected an error message stating just that.
 
 
Ahh.  Now it is a bit clearer.  I just tried a published app that does not
have spaces and got the same result.
 
Any thoughts?
 
Thanks,
dean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030403/ef9a6751/attachment.html>


More information about the Users mailing list