Доброго времени суток
Сразу скажу, что пробовал все рецепты с форума, но не помогло
при попытке запустить мониторинг вылетает следующая ошибка:
Сразу скажу, что пробовал все рецепты с форума, но не помогло
при попытке запустить мониторинг вылетает следующая ошибка:
Код |
---|
"non-zero return code", "rc": 1, "start": "2020-06-07 02:31:22.886553", "stderr": "", "stderr_lines": [], "stdout": "3.4.3\n Installed: rpm-4.11.3-43.el7.x86_64 at 2020-06-06 22:58\n Built : CentOS BuildSystem at 2020-04-01 04:21\n Committed: Panu Matilainen at 2019-10-04\n\n Installed: yum-3.4.3-167.el7.centos.noarch at 2020-06-06 22:58\n Built : CentOS BuildSystem at 2020-04-02 15:56\n Committed: CentOS Sources at 2020-03-31\n\n Installed: yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch at 2020-06-06 22:58\n Built : CentOS BuildSystem at 2020-05-12 16:27\n Committed: Michal Domonkos at 2020-03-12", "stdout_lines": ["3.4.3", " Installed: rpm-4.11.3-43.el7.x86_64 at 2020-06-06 22:58", " Built : CentOS BuildSystem at 2020-04-01 04:21", " Committed: Panu Matilainen at 2019-10-04", "", " Installed: yum-3.4.3-167.el7.centos.noarch at 2020-06-06 22:58", " Built : CentOS BuildSystem at 2020-04-02 15:56", " Committed: CentOS Sources at 2020-03-31", "", " Installed: yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch at 2020-06-06 22:58", " Built : CentOS BuildSystem at 2020-05-12 16:27", " Committed: Michal Domonkos at 2020-03-12"]}fatal: [server1]: FAILED! => {"changed": true, "cmd": "yum --version ; yum list installed | grep -e '(nagios|nrpe)'", "delta": "0:00:00.528224", "end": "2020-06-07 02:31:23.414777", "msg": "non-zero return code", "rc": 1, "start": "2020-06-07 02:31:22.886553", "stderr": "", "stderr_lines": [], "stdout": "3.4.3\n Installed: rpm-4.11.3-43.el7.x86_64 at 2020-06-06 22:58\n Built : CentOS BuildSystem at 2020-04-01 04:21\n Committed: Panu Matilainen at 2019-10-04\n\n Installed: yum-3.4.3-167.el7.centos.noarch at 2020-06-06 22:58\n Built : CentOS BuildSystem at 2020-04-02 15:56\n Committed: CentOS Sources at 2020-03-31\n\n Installed: yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch at 2020-06-06 22:58\n Built : CentOS BuildSystem at 2020-05-12 16:27\n Committed: Michal Domonkos at 2020-03-12", "stdout_lines": ["3.4.3", " Installed: rpm-4.11.3-43.el7.x86_64 at 2020-06-06 22:58", " Built : CentOS BuildSystem at 2020-04-01 04:21", " Committed: Panu Matilainen at 2019-10-04", "", " Installed: yum-3.4.3-167.el7.centos.noarch at 2020-06-06 22:58", " Built : CentOS BuildSystem at 2020-04-02 15:56", " Committed: CentOS Sources at 2020-03-31", "", " Installed: yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch at 2020-06-06 22:58", " Built : CentOS BuildSystem at 2020-05-12 16:27", " Committed: Michal Domonkos at 2020-03-12"]}...ignoring "Error unpacking rpm package net-tools-2.0-0.25.20131004git.el7.x86_64\nnet-tools-2.0-0.24.20131004git.el7.x86_64 was supposed to be removed but is not!\n", "rc": 1, "results": ["All packages providing munin are up to date", "All packages providing munin-common are up to date", "All packages providing munin-node are up to date", "All packages providing nagios are up to date", "All packages providing nagios-plugins-nrpe are up to date", "All packages providing nagios-plugins-tcp are up to date", "All packages providing nagios-plugins-http are up to date", "All packages providing nagios-plugins-ping are up to date", "All packages providing nagios-plugins-ssh are up to date", "All packages providing nrpe are up to date", "All packages providing nagios-plugins are up to date", "All packages providing nagios-plugins-http are up to date", "All packages providing nagios-plugins-disk are up to date", "All packages providing nagios-plugins-load are up to date", "All packages providing nagios-plugins-procs are up to date", "All packages providing nagios-plugins-swap are up to date", "All packages providing nagios-plugins-users are up to date", "All packages providing nagios-plugins-mysql are up to date", "All packages providing perl-Cache-Memcached are up to date", "Loaded plugins: etckeeper, fastestmirror, merge-conf\nLoading mirror speeds fr om cached hostfile\n * base: dedic.sh\n * epel: mirror.yandex.ru\n * extras: centos-mirror.rbc.ru\n * remi: mirror.reconn.ru\n * remi-php74: mirror.reconn.ru\n * remi-safe: mirror.reconn.ru\n * updates: mirror.yandex.ru\nPackage munin-2.0.54-1.el7.noarch already installed and latest version\nPackage munin-common-2.0.54-1.el7.noarch already installed and latest version\nPackage munin-node-2.0.54-1.el7.noarch already installed and latest version\nPackage nagios-4.4.5-7.el7.x86_64 already installed and latest version\nPackage nagios-plugins-nrpe-4.0.3-1.el7.x86_64 already installed and latest version\nPackage nagios-plugins-tcp-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-http-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-ping-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-ssh-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nrpe-4.0.3-1.el7.x86_64 already installed and latest version\nPackage nagios-plugins-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-http-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-disk-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-load-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-procs-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-swap-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-users-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-mysql-2.3.3-2.el7.x86_64 already installed and latest version\nPackage perl-Cache-Memcached-1.30-8.el7.noarch already installed and latest version\nResolving Dependencies\n--> Running transaction check\n---> Package net-tools.x86_64 0:2.0-0.24.20131004git.el7 will be updated\n---> Package net-tools.x86_64 0:2.0-0.25.20131004git.el7 will be an update\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================ \n Package Arch Version Repository Size\n================================================================================ \nUpdating:\n net-tools x86_64 2.0-0.25.20131004git.el7 base 306 k\n\nTransaction Summary\n================================================================ ================\nUpgrade 1 Package\n\nTotal download size: 306 k\nDownloading packages:\nDelta RPMs disabled because /usr/bin/applydeltarpm not installed. \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\netckeeper: pre transaction commit\n Updating : net-tools-2.0-0.25.20131004git.el7.x86_64 1/2 \nerror: unpacking of archive failed on file /usr/share/man/de/man8/arp.8.gz;5edc2759: cpio: open\netckeeper: post transaction commit\n Verifying : net-tools-2.0-0.25.20131004git.el7.x86_64 1/2 \n Verifying : net-tools-2.0-0.24.20131004git.el7.x86_64 2/2 \n\nFailed:\n net-tools.x86_64 0:2.0-0.24.20131004git.el7 \n net-tools.x86_64 0:2.0-0.25.20131004git.el7 \n\nComplete!\n"]}fatal: [server1]: FAILED! => {"changed": true, "msg": "Error unpacking rpm package net-tools-2.0-0.25.20131004git.el7.x86_64\nnet-tools-2.0-0.24.20131004git.el7.x86_64 was supposed to be removed but is not!\n", "rc": 1, "results": ["All packages providing munin are up to date", "All packages providing munin-common are up to date", "All packages providing munin-node are up to date", "All packages providing nagios are up to date", "All packages providing nagios-plugins-nrpe are up to date", "All packages providing nagios-plugins-tcp are up to date", "All packages providing nagios-plugins-http are up to date", "All packages providing nagios-plugins-ping are up to date", "All packages providing nagios-plugins-ssh are up to date", "All packages providing nrpe are up to date", "All packages providing nagios-plugins are up to date", "All packages providing nagios-plugins-http are up to date", "All packages providing nagios-plugins-disk are up to date", "All packages providing nagios-plugins-load are up to date", "All packages providing nagios-plugins-procs are up to date", "All packages providing nagios-plugins-swap are up to date", "All packages providing nagios-plugins-users are up to date", "All packages providing nagios-plugins-mysql are up to date", "All packages providing perl-Cache-Memcached are up to date", "Loaded plugins: etckeeper, fastestmirror, merge-conf\nLoading mirror speeds from cached hostfile\n * base: dedic.sh\n * epel: mirror.yandex.ru\n * extras: centos-mirror.rbc.ru\n * remi: mirror.reconn.ru\n * remi-php74: mirror.reconn.ru\n * remi-safe: mirror.reconn.ru\n * updates: mirror.yandex.ru\nPackage munin-2.0.54-1.el7.noarch already installed and latest version\nPackage munin-common-2.0.54-1.el7.noarch already installed and latest version\nPackage munin-node-2.0.54-1.el7.noarch already installed and latest version\nPackage nagios-4.4.5-7.el7.x86_64 already installed and latest version\nPackage nagios-plugins-nrpe-4.0.3-1.el7.x86_64 already installed and latest version\nPackage nagios-plugins-tcp-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-http-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-ping-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-ssh-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nrpe-4.0.3-1.el7.x86_64 already installed and latest version\nPackage nagios-plugins-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-http-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-disk-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-load-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-procs-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-swap-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-users-2.3.3-2.el7.x86_64 already installed and latest version\nPackage nagios-plugins-mysql-2.3.3-2.el7.x86_64 already installed and latest version\nPackage perl-Cache-Memcached-1.30-8.el7.noarch already installed and latest version\nResolving Dependencies\n--> Running transaction check\n---> Package net-tools.x86_64 0:2.0-0.24.20131004git.el7 will be updated\n---> Package net-tools.x86_64 0:2.0-0.25.20131004git.el7 will be an update\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n=========================== =====================================================\nUpdating:\n net-tools x86_64 2.0-0.25.20131004git.el7 base 306 k\n\nTransaction Summary\n================ ================================================================\nUpgrade 1 Package\n\nTotal download size: 306 k\nDownloading packages:\nDelta RPMs disabled because /usr/bin/applydeltarpm not installed.\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\netckeeper: pre transaction commit\n Updating : net-tools-2.0-0.25.20131004git.el7.x86_64 1/2 \nerror: unpacking of archive failed on file /usr/share/man/de/man8/arp.8.gz;5edc2759: cpio: open\netckeeper: post transaction commit\n Verifying : net-tools-2.0-0.25.20131004git.el7.x86_64 1/2 \n Verifying : net-tools-2.0-0.24.20131004git.el7.x86_64 2/2 \n\nFailed:\n net-tools.x86_64 0:2.0-0.24.20131004git.el7 \n net-tools.x86_64 0:2.0-0.25.20131004git.el7 \n\nComplete!\n"]}to retry, use: --lim it @/etc/ansible/monitor.retry |