Page 1 of 1

deploy a worker, it goes into failed status

Posted: Wed Oct 29, 2025 12:00 pm
by btayl
i,
When I try to deploy a worker, it goes into pending and then failed status.
Some details:
I'm using an account with full sudo access,
ports 22 and 4370 are both enabled
I have enabled the nagios, epel, and codeready repositories on the worker.
with the worker I have tried both Hostname and Ip address
is there some instruction I am missing

Re: deploy a worker, it goes into failed status

Posted: Thu Oct 30, 2025 8:48 am
by gwesterman
Hi @btayl,

First, make sure you can ssh into the machine as root.

If that doesn't fix it, them when you try to deploy, could you copy and send me the contents appended to

Code: Select all

/usr/local/nagiosxi/var/components/nmg.log
?
Or you could read the output and try to fix it yourself if you would like.

Thank you!

Re: deploy a worker, it goes into failed status

Posted: Fri Oct 31, 2025 1:16 pm
by btayl
SSH as root is disabled as per any good security measure you can ssh in as a user that has sudo privlages

Re: deploy a worker, it goes into failed status

Posted: Fri Oct 31, 2025 1:54 pm
by btayl
/local/nagiosxi/var/components/nmg.log
sh: ansible-playbook: command not found
sh: ansible-playbook: command not found
sh: ansible-playbook: command not found
sh: ansible-playbook: command not found
sh: ansible-playbook: command not found
sh: ansible-playbook: command not found
sh: ansible-playbook: command not found
sh: ansible-playbook: command not found

Re: deploy a worker, it goes into failed status

Posted: Tue Nov 04, 2025 8:36 am
by btayl
Any updates ?

Re: deploy a worker, it goes into failed status

Posted: Tue Nov 04, 2025 2:15 pm
by DoubleDoubleA
Hi @btayl,

Thanks for your notes.

Support for non-root users in the Nagios Mod-Gearman process may be in future versions, but it is not in the current version of the deployment.

The error message seems like ansible isn't installed somehow or it is installed but not where it is expected.

What does

Code: Select all

which ansible-playbook
return?

Re: deploy a worker, it goes into failed status

Posted: Thu Nov 06, 2025 3:52 pm
by btayl
which ansible-playbook
/usr/bin/ansible-playbook

Re: deploy a worker, it goes into failed status

Posted: Thu Nov 13, 2025 1:32 pm
by DoubleDoubleA
How did you do on this?

I don't know how to reconcile the fact that it says "command not found" but ansible-playbook is where it should be.