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
deploy a worker, it goes into failed status
-
gwesterman
- Posts: 268
- Joined: Wed Aug 23, 2023 11:29 am
Re: deploy a worker, it goes into failed status
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?
Or you could read the output and try to fix it yourself if you would like.
Thank you!
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.logOr 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
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
/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
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
Any updates ?
-
DoubleDoubleA
- Posts: 272
- Joined: Thu Feb 09, 2017 5:07 pm
Re: deploy a worker, it goes into failed status
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 return?
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-playbookRe: deploy a worker, it goes into failed status
which ansible-playbook
/usr/bin/ansible-playbook
/usr/bin/ansible-playbook
-
DoubleDoubleA
- Posts: 272
- Joined: Thu Feb 09, 2017 5:07 pm
Re: deploy a worker, it goes into failed status
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.
I don't know how to reconcile the fact that it says "command not found" but ansible-playbook is where it should be.