Anyone using "check_citrix" with Nagios? Help.

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Tue Jul 27 02:35:09 CEST 2004


Dear Folks,

Some person who should have held his tongue wrote with some advice about 
creating a wrapper to log the results of a plugin that is running Ok 
from the command line but returns 'No output!' under Nagios.

> 3.2 create a script called check_citrix containing something like

> pc09011> cat x
> #!/bin/sh

> exec > BAD_PLUGIN_whining 2>&1

*** WRONG
> _path_to_nagios_/libexec/check_citrix_WRAPPED $ <at> 
*** /WRONG

> # BAD_PLUGIN_whining is the name of a file in a path writable by
> # Nag. It will contain any output - including compiler warnings
> # sent to stdout or stderr.

> Warning ! I haven't tried this with my Nag setup. It will probably
> behave no worse than what you have at the moment, but YMMV.

The last line in the wrapper script aboive is incorrect. It should be

exec  __path_to_nagios_/libexec/check_citrix_WRAPPED $@

'check_citrix_WRAPPED' is the name of the faulty plugin; this script 
will be called check_citrix.

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 BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
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