check_citrix issues

Johannes Dagemark johannes.dagemark at op5.se
Fri Apr 4 09:52:21 CEST 2003


Hello

I just want to tell that I solved the problem yesterday by simply adding the
following line in the check_citrix perl script

use lib "/path/to/libexec/dir"  ;

change "/path/to/libexec/dir" to wherever your plugins directory are.

Regards

Johannes Dagemark

----- Original Message -----
From: "Tom DE BLENDE" <Tom.DeBlende at dhl.com>
To: "Dean Bishop" <dbishop at ehvert.com>
Cc: <nagios-users at lists.sourceforge.net>; "Stanley Hopcroft"
<Stanley.Hopcroft at ipaustralia.gov.au>
Sent: Friday, April 04, 2003 8:44 AM
Subject: Re: [Nagios-users] re: check_citrix issues


> Have you guys by any chance compiled Nagios with embeded Perl? I know
> this has been discussed before, and I know there was a solution. But I
> cannot remember what it was (*slap on the head*).
>
> I'm putting mister Hopcroft in CC to ask for his attention, as I do
> believe he told me what the solution was at that time.
>
> > Dean Bishop wrote:
> >
> > 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
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb:
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> 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



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
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