UBUNTU - What user does nagios core execute as

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
jmd8045
Posts: 1
Joined: Sat Jun 30, 2012 8:33 am

UBUNTU - What user does nagios core execute as

Post 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
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: UBUNTU - What user does nagios core execute as

Post 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.
Locked