Re: [Nagios-users] NRPE 2.7.1 command_prefix problem

2007-03-25 Thread Andy Shellam
I've been looking at this some more today, and finally found the problem and solution! I added "> /dev/stdout 2>&1" to the end of a command in my nrpe.cfg, and got the following result when running check_nrpe off my Nagios server: "sudo: sorry, you must have a tty to run sudo." Looking at the

[Nagios-users] NRPE 2.7.1 command_prefix problem

2007-03-22 Thread andy . shellam-lists
I've been head-scratching most of the afternoon over this. I've installed NRPE 2.7.1 on a Fedora Core 6 machine, and no matter what I try, it doesn't like the command_prefix setting. Here is my config: ... ### Daemon Options pid_file=/var/run/nrpe.pid server_port=5666 #server_address=192.168.1.1