Collecting NRPE v1.8 data from behind a firewall...get garbled characters on the return...

Ray Ward ray.ward at mapfusion.com
Fri Jun 20 20:06:39 CEST 2003


Hey guys, I'm running nagios v1.1 on a RedHat 9 system, that is behind a
firewall on my LAN segment. I am trying to gather data via NRPE v1.8
(running in daemon mode) on a Solaris 8 system in my DMZ. I have allowed
5666/tcp to get from the DMZ to the LAN. When I run

	check_nrpe -H <ip address> -p 5666 -c check_users
	I get this ÿ¾èðÿ#        a bunch of garbled characters...

The check_users command works fine locally on the solaris machine, and the
nrpe.cfg file is setup correctly here is check_users entry...

	command[check_users]=/export/home/nagios/libexec/check_users -w 5 -c 10

below is a snip from the syslog with NRPE debug info...

Jun 20 13:36:48 app02 nrpe[10028]: [ID 654915 daemon.debug] Connection from
<ip address> port 60026
Jun 20 13:36:48 app02 nrpe[10028]: [ID 797369 daemon.debug] Host address
checks out ok
Jun 20 13:36:48 app02 nrpe[10028]: [ID 879649 daemon.debug] Handling the
connection...
Jun 20 13:36:48 app02 nrpe[10028]: [ID 881351 daemon.debug] Host is asking
for command 'check_users' to be run...
Jun 20 13:36:48 app02 nrpe[10028]: [ID 462736 daemon.debug] Running command:
/export/home/nagios/libexec/check_users -w 5 -c 10
Jun 20 13:36:48 app02 nrpe[10028]: [ID 869297 daemon.debug] Return Code: 1,
Output: ÿ¾èðÿ#\200
Jun 20 13:36:48 app02 nrpe[10028]: [ID 903583 daemon.debug] Connection from
<ip address> closed.

any help with this would be greatly appreaciated...


_______________________________
Ray Ward
IT Technician
MapFusion Technologies Inc.
_______________________________



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
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