configuring nrpe 2.0

Karl Latiss karl at designit.com.au
Tue Jul 22 09:41:04 CEST 2003


That's probably the double $$ signs in front of the ARG's

Try removing one of them and see how you go.

On Tue, 2003-07-22 at 16:52, Jasmine wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi guys
> 
> I tried upgrading to the new nrpe 2.0 and have problems configuring it to pass 
> arguments remotely. Anyone knows how to configure it properly?
> 
> In nrpe.cfg: 
> command[check_users]=/usr/nagios/libexec/check_users -w $$ARG1$ -c $$ARG2$
> 
> Testing from command line:
> 
>  # /usr/nagios/libexec/check_nrpe -H xx.xx.xx.xx -c check_users -a 3 5
> CHECK_NRPE: Received 0 bytes from daemon.  Check the remote server logs for 
> error messages.
> 
> Logs say:
> Jul 22 06:32:56 nrpe[17120]: INFO: SSL/TLS initialized. All network traffic 
> will be encrypted.
> Jul 22 06:32:56 nrpe[17121]: Starting up daemon
> Jul 22 06:32:59 nrpe[17124]: Error: Request contained command arguments!
> Jul 22 06:32:59 nrpe[17124]: Client request was invalid, bailing out...
> 
> Thanks and Best Regards,
> 
> Jasmine 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> 
> iD8DBQE/HN8vNgvTa7Hj2AURAukZAJsHRMqHSMLa9LBOkgYaFGdmLDuzeACglkAJ
> YtIILyIILu0GvSFFcqahHRQ=
> =Tetf
> -----END PGP SIGNATURE-----
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> 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



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
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