Open machine007 opened 6 years ago
I already install nagios core in my environment and working but still im not able to install nrpe on client and still struggle for create host-group.
what user we are going to use here to install and access client host.
1.Root user is blocker and other user required is not in sudoer.
I go through the whole file and folder i found that this is similar to simple installation of nagios. ut in this i found some interesting thing like redhat epel-release-latest-6.noarch.rpm.( why we are using this i'm using internet redhat subscription )
And there is NRPE try install on each client.i think we also copy the nrpe in all host and then install on it.
please help me on these issue.
@machine007 Hi, Thanks for using. Sorry for the delayed reply, let me know if you still have these queries.
[root@tool]# ansible-playbook -i hosts install/nagios.yml
PLAY [all] ***
TASK [Gathering Facts] *** ok: [10.60.12.243]
TASK [nagios-client : Import EPEL GPG Key] *** changed: [10.60.12.243]
TASK [nagios-client : Check for EPEL repo] *** ok: [10.60.12.243]
TASK [nagios-client : Install NRPE and Common Plugins] *** failed: [10.60.12.243] (item=[u'nrpe', u'nagios-plugins-load', u'nagios-plugins-nrpe', u'nagios-plugins-uptime', u'nagios-plugins-swap', u'nagios-plugins-procs', u'nagios-plugins-users', u'nagios-plugins-disk', u'nagios-plugins-tcp', u'libsemanage-python']) => {"changed": false, "failed": true, "item": ["nrpe", "nagios-plugins-load", "nagios-plugins-nrpe", "nagios-plugins-uptime", "nagios-plugins-swap", "nagios-plugins-procs", "nagios-plugins-users", "nagios-plugins-disk", "nagios-plugins-tcp", "libsemanage-python"], "msg": "No package matching 'nrpe' found available, installed or updated", "rc": 126, "results": ["No package matching 'nrpe' found available, installed or updated"]} to retry, use: --limit @/tmp/Ansible-Nagios-with-Graphs-master/install/nagios.retry
PLAY RECAP *** 10.60.12.243 : ok=3 changed=1 unreachable=0 failed=1