Page 1 of 1

UBUNTU - What user does nagios core execute as

Posted: Sat Jun 30, 2012 8:39 am
by jmd8045
I am getting problems when nagios executes a remote check command
stuff like [Remote command execution failed: Host key verification failed. ] I have ssh keys set up between hosts
for root, but I am guesing there is something else going on. A typical command that failes is:

/usr/lib/nagios/plugins/check_by_ssh -4 -t30 -p1201 -H $HOSTADDRESS$ "/usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 -p /"

Any help appreciated!


Jim

Re: UBUNTU - What user does nagios core execute as

Posted: Mon Jul 02, 2012 9:22 am
by agriffin
It executes as the 'nagios' user. Try setting up your ssh between the nagios users on each of your systems and see if that helps.