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
[EMAIL PROTECTED]
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mies,
Christian
Sent: Thursday, 1 March 2007 10:36 a.m.
To: [email protected]
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
-------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
[email protected]
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