SOLVED: nsclient++ and nrpe commands

Mies, Christian c.mies at itnovum.de
Thu Mar 1 12:39:35 CET 2007


It was an issue in NSC.INI on my Client.
 
thanks for support!

Mit freundlichem Gruß

Christian Mies 

it-novum GmbH, Edelzeller Str. 44, 36043 Fulda, Germany 
FON:    +49 (661) 103-874(333)      FAX:     +49 (661) 103-334
MAIL:   c.mies at itnovum.de <blocked::mailto:c.mies at itnovum.de>         WEB:   http://www.itnovum.de <blocked::outbind://2-00000000EE0931A3972FE44188DA7F276FCF87CA07001160D06701B0154985D72DA43FE3D33A0000004DDE5600001160D06701B0154985D72DA43FE3D33A0000004DE1EB0000/exchweb/bin/redir.asp?URL=http://www.itnovum.de/>  
Handelsregister:                         Amtsgericht Fulda, HRB 1934 
Geschäftsführer:                        Michael Kienle (Vorsitz), Stefan Heil
Sitz der Gesellschaft:                 Fulda 
UstID-Nr:                                    DE813211784 
Steuernr.:                                   018/225/03095 

 


________________________________

	Von: Steve Shipway [mailto:s.shipway at auckland.ac.nz] 
	Gesendet: Mittwoch, 28. Februar 2007 23:17
	An: Mies, Christian
	Cc: nagios-users
	Betreff: RE: [Nagios-users] nsclient++ and nrpe commands
	
	
	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/c88b8a29/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