more check_citrix confusion
Stanley Hopcroft
Stanley.Hopcroft at IPAustralia.Gov.AU
Fri Feb 14 04:16:57 CET 2003
Dear Sir,
On Thu, Feb 13, 2003 at 06:39:43PM -0500, Jarett DeAngelis wrote:
> Hi again,
>
> As an experiment I changed my test_citrix command so that it took NO arguments from services.cfg. Instead I just wrote the whole thing out:
>
> command_line $USER1$/check_citrix -C test.host.com -P "App"
>
> And it STILL says "No Output!"
>
> Tried this exact command on the command line su-ed as nagios and it worked fine.
>
> What the heck is going on??
>
>From http://<your_nag_host>/docs/xodtemplate.html#service
check_command:
This is the command that Nagios will run in order to check the status of
the service. There are three command formats that can be used:
... snip ..
3. "Raw" Command Line:
You may optionally specify an actual command line to be executed. To do
so you must enclose the entire command line in double quotes. The outer
double quotes will be stripped off before the command is actually
executed. No macros are processed inside of raw command lines.
'
You command line is wrong.
Try,
command_line "<path_to_plugin>/check_citrix -C test.host.com -P 'App'"
I realise that there may be a problem with the plugin, but doing things
wrongly and being suprised by the outcome is not helpful.
You must be more accurate about your reports. There is _no_ way that you
could have 'Tried this exact command on the command line su-ed as nagios
and it worked fine.'.
I think you meant,
'I tried
<path_to_nag_plugins>/check_citrix -C test.host.com -P "App"
su-ed as Nagios and it worked fine.'
When you arev more careful about what you say, you may find that the
solution to the problem comes to mind.
Characterising and Describing a problem is a good way toward solving it.
Yours sincerely.
--
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------
'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'
from Meditation 17, J Donne.
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
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