[Nagiosplug-help] Nonprintable characters in check_tcp

Darren Gamble Darren.Gamble at sjrb.ca
Wed Apr 23 09:30:13 CEST 2003


Good day,

> On Wed, 23 Apr 2003, Darren Gamble wrote:
> 
> > Good day,
> > 
> > I am attempting to configure the check_tcp plugin to check 
> a custom TCP
> > service of ours.
> > 
> > However, the string that the check needs to send to the 
> service contains
> > nonprintable characters.  I've experimented with a number 
> of ways to escape
> > them through the shell on the command line, but nothing works.
> > 
> > I don't think there's any way to do this with the plugin, 
> but, I thought
> > that there might be something that I haven't thought of (or 
> if someone can
> > confirm that there is indeed no way to do this with the 
> existing plugin).
> > 
> > Thanks in advance,
> > 
> 
> Have you tried the url encoded string.

I believe that you misread my message.  As I said, the service check is for
a custom TCP service, not a HTTP get/post.  URL-encoded characters are
useless to me.

I need to send actual nonprintable characters, e.g. the null character.  Is
there any way that this can be done?

Thanks,

============================
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948
 




More information about the Help mailing list