nsclient++ and nrpe commands
Steve Shipway
s.shipway at auckland.ac.nz
Wed Feb 28 23:17:29 CET 2007
I believe that the 'Illegal metacharacter' error message is generated
because your command contains a '>' character, which could potentially
be someone trying to use shell redirect to break in to your machine.
You will definitely need to escape or quote the > to prevent the shell
interpreting it.
I don't know if this error is being produced by check_nrpe, by
nsclient++, or by Nagios itself. Certainly on our system, Nagios 1.4
does not check commands for illegal characters, and check_nrpe 2.5.2
does not either, so my guess is that nsclient++ is doing it. Make sure
you have your parameters quoted and check nsclient++ for definitions of
illegal characters...
Steve
--
Steve Shipway
ITSS, University of Auckland
(09) 3737 599 x 86487
s.shipway at auckland.ac.nz
________________________________
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mies,
Christian
Sent: Thursday, 1 March 2007 10:36 a.m.
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] nsclient++ and nrpe commands
Hi,
I'm trying to use nsclient++ on Windows Machines. Everything is
working fine, instead of check_nrpe with checkEventLog :-(
If I type:
./check_nrpe -H 172.16.101.13 -p 5666 -c checkeventlog -a
file=System filter=in filter=all truncate=512 MaxWarn=1 MaxCrit=1
filter-eventType==info filter-generated=>10m
on my shell, I get no output. If I try ./check_nrpe -H
172.16.101.13 -p 5666 -c checkeventlog -a file=System filter=in
filter=all truncate=512 MaxWarn=1 MaxCrit=1 filter-eventType==info
filter-generated=\>10m I'll get a error :Illegal Meta Character. Any
ideas to this?
Who is using nsclient++ with Eventlog Functionallity?
regards
Christian Mies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070301/6847b066/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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