Nagios Linux Agent Installation error on SLES 12

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nmunoz
Posts: 9
Joined: Fri Jan 04, 2019 1:57 am
Location: Andorra
Contact:

Nagios Linux Agent Installation error on SLES 12

Post by nmunoz »

Hello,

I'm trying to install Nagios Linux Agent on a SuSE Linux Enterprise Server 12 SP2 and have some problem with the repositories.

install.log

Nagios Linux Agent Installation Log
===================================
DATE: Thu Jan 3 17:38:01 CET 2019

DISTRO INFO:
SUSE
12.2
x86_64

Configuring Repos...
Enabling SUSE SDK ...
/usr/lib64/ruby/2.1.0/open3.rb:193: warning: Insecure world writable dir /sapdb/clients/MAXDB in PATH, mode 040777
command 'zypper --no-refresh --non-interactive install --no-recommends --auto-agree-with-product-licenses -t product sle-sdk' failed
Error: zypper returned (106) with 'Error building the cache:
[http-download.opensuse.org-2e35bbee|http://download.opensuse.org/repositori ... /standard/] Valid metadata not found at specified URL
Error building the cache:
[http-download.opensuse.org-5136d9ba|http://download.opensuse.org/repositori ... /standard/] Valid metadata not found at specified URL
Error building the cache:
[http-download.opensuse.org-65d489d0|http://download.opensuse.org/repositori ... /standard/] Valid metadata not found at specified URL
Error building the cache:
[http-download.opensuse.org-6a323cdd|http://download.opensuse.org/repositori ... /standard/] Valid metadata not found at specified URL
Error building the cache:
[http-download.opensuse.org-73611b81|http://download.opensuse.org/repositori ... /standard/] Valid metadata not found at specified URL
Error building the cache:
[http-download.opensuse.org-7a2e6c90|http://download.opensuse.org/repositori ... /standard/] Valid metadata not found at specified URL
Error building the cache:
[http-download.opensuse.org-9370faab|http://download.opensuse.org/repositori ... /standard/] Valid metadata not found at specified URL
Error building the cache:
[http-download.opensuse.org-a6a7657c|http://download.opensuse.org/repositori ... /standard/] Valid metadata not found at specified URL
Error building the cache:
[http-download.opensuse.org-b1eaf83a|http://download.opensuse.org/repositori ... /standard/] Valid metadata not found at specified URL
Some of the repositories have not been refreshed because of an error.'

I need to install NRPE agent on this server in order to monitoring.

Thanks for any hel you could provide.

Regards,
Nico
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios Linux Agent Installation error on SLES 12

Post by mcapra »

Looks to me like you have mis-configured, old, or broken zypper repos. I don't see an SLE-12:/Update path available on the openSUSE download server:
http://download.opensuse.org/repositori ... ackports:/

You should work with the administrator of this server to fix the zypper repos.
Former Nagios employee
https://www.mcapra.com/
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios Linux Agent Installation error on SLES 12

Post by npolovenko »

Thanks, @mcapra!
@nmunoz, Can you show me the list of repos on your server?
zypper lr -d
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
nmunoz
Posts: 9
Joined: Fri Jan 04, 2019 1:57 am
Location: Andorra
Contact:

Re: Nagios Linux Agent Installation error on SLES 12

Post by nmunoz »

Code: Select all

zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.

#  | Alias                                                                                            | Name                                 | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                                                                                                                                                                        | Service
---+--------------------------------------------------------------------------------------------------+--------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------
 1 | SLE-12-SP2-SAP-12.2-0                                                                            | SLE-12-SP2-SAP-12.2-0                | Yes     | (r ) Yes  | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-VMware_Virtual_SATA_CDRW_Drive_00000000000000000001                                                                                                                                                     |
 2 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64:SLE-12-SP2-SAP-Debuginfo-Updates | SLE-12-SP2-SAP-Debuginfo-Updates     | No      | ----      | ----    |   99     | NONE   | https://updates.suse.com/SUSE/Updates/SLE-SAP/12-SP2/x86_64/update_debug?em6_rFY1vMo0LOuxVVM4g0GKeqwjb1jQgK3G2Lcvaifa6__XZKs-XdREOpI8WZXueMhPqOBuNVUfwAKgjSd9oQVdM3sjVixWYil05BDrmmTv35YEjzjf5DorDrcNdR__9nCQIDqU2jp5-YtIChk               | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64
 3 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64:SLE-12-SP2-SAP-Updates           | SLE-12-SP2-SAP-Updates               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://updates.suse.com/SUSE/Updates/SLE-SAP/12-SP2/x86_64/update?8jHXL5QTVesv5XW8mp9vd99W90R2x3U4J46cB0dym-K57sMc9P200DMrHE3Dn-NqUxXGR45XaOm3JNgnTKCkqERI2HlNbzfOR0zjkfYP2Dla9I6PVCnj1SnT3QnrBMdcQyrxSUT3u84                             | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64
 4 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64:SLE-HA12-SP2-Debuginfo-Pool      | SLE-HA12-SP2-Debuginfo-Pool          | No      | ----      | ----    |   99     | NONE   | https://updates.suse.com/SUSE/Products/SLE-HA/12-SP2/x86_64/product_debug?ZT4Y4WPXqLwJxtLfqH622nTwGBaQrDtEDPB5k95no3REjF3Cei46DSGblmfrzyi2wO5se6YUYGlAqbN-dH8wdL6lAnC1xooeaiXpRUlk08byz78U5cgicsxtcoLKBhgonD1_1NZl7KSxU_1C5Scq             | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64
 5 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64:SLE-HA12-SP2-Debuginfo-Updates   | SLE-HA12-SP2-Debuginfo-Updates       | No      | ----      | ----    |   99     | NONE   | https://updates.suse.com/SUSE/Updates/SLE-HA/12-SP2/x86_64/update_debug?rrXABs9BKWchv1l6usXnzZrtlcw39EqqOEmo43EY0nnP0UQj7EvuQWYbusRS7tS96xIGj1QI9Sw8h0Z9vz25Euniro3D6zu22Um_bu858TqS-ql2DzZSKsVtC0iTbjqDsnrFfi5m88T4RjUqeA                 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64
 6 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64:SLE-HA12-SP2-Pool                | SLE-HA12-SP2-Pool                    | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://updates.suse.com/SUSE/Products/SLE-HA/12-SP2/x86_64/product?IcQzpLGzh5khXZRztSLh73CxbryAmwb54IlUZjiRWYwmfcVP8WyuNIkGxFfcG8--5ESvECsK2yI9R_Ir8jBwV_YA0XFo30EcGE73j7iIjKZ1PE0cwAun2xrPRlyiAoXNzlfEVXlo5uqV                           | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64
 7 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64:SLE-HA12-SP2-Source-Pool         | SLE-HA12-SP2-Source-Pool             | No      | ----      | ----    |   99     | NONE   | https://updates.suse.com/SUSE/Products/SLE-HA/12-SP2/x86_64/product_source?2gzE7feBURcFEkYmXb71k1ykdLX6M8d7-1yoPOZScm3ExJU_BsFqHpA11oaxh8iFNStdNj_9XSVgh8-I2s_cnmMQzsR8Nv3EUimfchj6Fz1I4ki0gCtiTjeiZ1y_uSrV0EitqR9F1b2oSE-wohS0Fg          | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64
 8 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64:SLE-HA12-SP2-Updates             | SLE-HA12-SP2-Updates                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://updates.suse.com/SUSE/Updates/SLE-HA/12-SP2/x86_64/update?KGljnCFO_-7lPU_3uSXa2FCfd1ofcjxLG2S67UOxZK65n7heZhDTe_oOxivOdBHnhBbQofh5eZ7LzoKvF61H8Naef60Rc9kLE7d_6EarRGWscBzKdc6DFz29uIoX3icu3iz9F24n-g                               | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64
 9 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64:SLE12-SP2-SAP-Debuginfo-Pool     | SLE12-SP2-SAP-Debuginfo-Pool         | No      | ----      | ----    |   99     | NONE   | https://updates.suse.com/SUSE/Products/SLE-SAP/12-SP2/x86_64/product_debug?Wn4da2nBcPK3sPz2-6Mw3GtOcI_ypc_vov0OCwxurqXM7bQA-Cx_o6CCx3nHZ1wfFL-BmZYgITFigEMmoUgtV3W4EgJfUkHPUcYgbxuFuHAeEOhPcBOINXEEqnX8v6r31n5UR2V73e3MRpgHfKyvCA          | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64
10 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64:SLE12-SP2-SAP-Pool               | SLE12-SP2-SAP-Pool                   | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://updates.suse.com/SUSE/Products/SLE-SAP/12-SP2/x86_64/product?mOHhbHvdWqn8vkDEBgJQ41rpgyd7flVwUYFDLFKSIMFDAU6_nidnld-_-XdeL-UBU7WBTikPF7umaOU4KhdDC_RLKL31TPR2W4Y4Zk8LX8FT6A06rrYbxkm0LttS5Ey30vKGDub_JoYNHg                        | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64
11 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64:SLE12-SP2-SAP-Source-Pool        | SLE12-SP2-SAP-Source-Pool            | No      | ----      | ----    |   99     | NONE   | https://updates.suse.com/SUSE/Products/SLE-SAP/12-SP2/x86_64/product_source?UZavNGCqPgm1HtAKxyVLcQmLco_ETlJywMskwr0YPqqRTJ1uIRHmp6pjKs6VuwvfbZFtN6xnXVF0PSE9xlxLq9XnzmLcn4_J1Vr3VtmOezZAZffj5imCBCBmSXs203PKvoENE1y548BANh5abmVPkIk        | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64
12 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64:SLES12-SP2-Debuginfo-Pool        | SLES12-SP2-Debuginfo-Pool            | No      | ----      | ----    |   99     | NONE   | https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP2/x86_64/product_debug?islOwM9YDJhgWsjw8562rtvApOIBizTfpbFgcfdedg-Cz29PyDGC_NCs12guC_sM8EE4UYM7nvFHCpAJPNBwjAuJHxu3JZhJp6ovLTxuXI-HUWEL7JsP62kFlD1Z0S_D2NhAfIfE-09SC4RlYfOYjJw9QA   | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64
13 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64:SLES12-SP2-Debuginfo-Updates     | SLES12-SP2-Debuginfo-Updates         | No      | ----      | ----    |   99     | NONE   | https://updates.suse.com/SUSE/Updates/SLE-SERVER/12-SP2/x86_64/update_debug?92tbd7YjKuGUr5FdEWzi1J_Z9vEADEJJj2r86BJi3x5FmyfINWsSAMbthz4yHsJrhv0-STlEwPY-hLnWcK6eGbmAoJNG42hDnmhr8wto2kMnVFnojQ8_n2M4pJ6XlA9kYHKLCXzw2OxlKWH2rtygz_I        | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64
14 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64:SLES12-SP2-Pool                  | SLES12-SP2-Pool                      | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP2/x86_64/product?Ijuc4Mj9jpUFyrlVPasYfHIGU-JHceW3Q8zmMr49J7lIAFj1VE3fxPicd_sDukngTfXXjW2y2PZH-R2hbLMQZsFGlxdCXspDiflWIdgZK0VvNdUJdKTFJJjBPnhLGPy4JnqPWrKjckc4jWeelg                 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64
15 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64:SLES12-SP2-Source-Pool           | SLES12-SP2-Source-Pool               | No      | ----      | ----    |   99     | NONE   | https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP2/x86_64/product_source?gp3bKvgTIgUW-IK1hUX_LHSNRtKUKCLSJl8qIF6B2ZTCm3FfmjAKMV7Sab-9K7DAasYVcx6rKEba0Yi4vur5OGl9x-AXj6FnLW9L4NwhsWXw6EeT792kCo-c_AnHcY9-UqBHzoZ2WhqABVAhdMuYrCV6FOE | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64
16 | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64:SLES12-SP2-Updates               | SLES12-SP2-Updates                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://updates.suse.com/SUSE/Updates/SLE-SERVER/12-SP2/x86_64/update?-4fm6Ldasn_XEIkgAweEdso20uj4EAgP6ZbNeZoHCkhjCVNQ9SpRkFSAK0tqFwBzJ0Sakc0C8YAq6hkr_TJ9b_jitKecSD2vX3ZLEImzsZZWpi2sQ0exubG2EaC0bZFKYT__Q0vCTbf_Vfk                      | SUSE_Linux_Enterprise_Server_for_SAP_Applications_12_SP2_x86_64
17 | SUSE_Linux_Enterprise_Software_Development_Kit_12_SP2_x86_64:SLE-SDK12-SP2-Debuginfo-Pool        | SLE-SDK12-SP2-Debuginfo-Pool         | No      | ----      | ----    |   99     | NONE   | https://updates.suse.com/SUSE/Products/SLE-SDK/12-SP2/x86_64/product_debug?s8R1bUB65DEPhsSwUIo2DSwN_sIipB8l7_JGy37Iy6wkuNgaVXv9xI6rh3c1eMGfOcPdcan6vKCIP7iyvV0sxUTuvObqWeUz_5nz82__fFNr-jF-ehk66tj1D-q3uSyvNx6ltHPR2FzpfFpKtoouvA          | SUSE_Linux_Enterprise_Software_Development_Kit_12_SP2_x86_64
18 | SUSE_Linux_Enterprise_Software_Development_Kit_12_SP2_x86_64:SLE-SDK12-SP2-Debuginfo-Updates     | SLE-SDK12-SP2-Debuginfo-Updates      | No      | ----      | ----    |   99     | NONE   | https://updates.suse.com/SUSE/Updates/SLE-SDK/12-SP2/x86_64/update_debug?FTD39bvY9ry_DePE65y--VSJzpmfTKkQzYyHJkTIEmCA3x0la9QbkKbrhsc7GzAHSdFqgwIYaLJU33M_ra-_85OSlyXWB9sfsrkFQAeAWYC9tR3HyO-z1ZPMBUO7KiHNVg0uTftZ4LytxhxeuZk               | SUSE_Linux_Enterprise_Software_Development_Kit_12_SP2_x86_64
19 | SUSE_Linux_Enterprise_Software_Development_Kit_12_SP2_x86_64:SLE-SDK12-SP2-Pool                  | SLE-SDK12-SP2-Pool                   | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://updates.suse.com/SUSE/Products/SLE-SDK/12-SP2/x86_64/product?v6bv3ay908mkhwzWMILdGqr5a_LzQkxOrHGKLK55N9tYP36joTep1fORxgzW2-HgInfhPxl4UlIdo8zJQmLMxeERrRzYqIHyxlkJzb1fS_eYWSygdQ-VSWngqPvGMTie8I3fwc5fKyvkog                        | SUSE_Linux_Enterprise_Software_Development_Kit_12_SP2_x86_64
20 | SUSE_Linux_Enterprise_Software_Development_Kit_12_SP2_x86_64:SLE-SDK12-SP2-Source-Pool           | SLE-SDK12-SP2-Source-Pool            | No      | ----      | ----    |   99     | NONE   | https://updates.suse.com/SUSE/Products/SLE-SDK/12-SP2/x86_64/product_source?FrlMlUlANJRNcBFt6xN09DYOrZugxUKsAPzSHuxusF_9PnhgS9A63RyMuScVNqGMqyJo9H9HgTGN37w10ASlI6c2sfs_HXc3C0Js76DDBi-FwEk3RdS75JyM7IBZz4iY9UzN6g4jiyxoVc4aiSeTawA        | SUSE_Linux_Enterprise_Software_Development_Kit_12_SP2_x86_64
21 | SUSE_Linux_Enterprise_Software_Development_Kit_12_SP2_x86_64:SLE-SDK12-SP2-Updates               | SLE-SDK12-SP2-Updates                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://updates.suse.com/SUSE/Updates/SLE-SDK/12-SP2/x86_64/update?TBOVYiZrBlMULFKqHzJ2gCFWHiv2vTiIeBTNtX_iC8dAXB2GMnz0japZN49MQwrs4CdvjLTb8AAc2Dxrv0InvQ_ltBeJajEC54Pt0sYrymX7gJ_oFZuxJLU1xd9hLgqpQCQcHT1jwII                             | SUSE_Linux_Enterprise_Software_Development_Kit_12_SP2_x86_64
22 | http-download.opensuse.org-11aad2c8                                                              | utilities                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/utilities/SLE_12_SP2_Backports/                                                                                                                                                                  |
23 | http-download.opensuse.org-2e35bbee                                                              | openSUSE:Backports:SLE-12:Update     | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12:/Update/standard/                                                                                                                                                    |
24 | http-download.opensuse.org-5136d9ba                                                              | openSUSE:Backports:SLE-12:Update     | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12:/Update/standard/                                                                                                                                                    |
25 | http-download.opensuse.org-65d489d0                                                              | openSUSE:Backports:SLE-12:Update     | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12:/Update/standard/                                                                                                                                                    |
26 | http-download.opensuse.org-6a323cdd                                                              | openSUSE:Backports:SLE-12:Update     | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12:/Update/standard/                                                                                                                                                    |
27 | http-download.opensuse.org-6cfa1d04                                                              | openSUSE:Backports:SLE-12-SP2:Update | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12-SP2:/Update/standard/                                                                                                                                                |
28 | http-download.opensuse.org-6f5d5c9c                                                              | openSUSE:Backports:SLE-12-SP2        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12-SP2/standard/                                                                                                                                                        |
29 | http-download.opensuse.org-70fa7437                                                              | openSUSE:Backports:SLE-12-SP1:Update | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12-SP1:/Update/standard/                                                                                                                                                |
30 | http-download.opensuse.org-73611b81                                                              | SUSE:SLE-12:GA                       | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/repositories/SUSE:/SLE-12:/GA/standard/                                                                                                                                                                       |
31 | http-download.opensuse.org-7a2e6c90                                                              | SUSE:SLE-12-SP2:GA                   | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/repositories/SUSE:/SLE-12-SP2:/GA/standard/                                                                                                                                                                   |
32 | http-download.opensuse.org-9370faab                                                              | openSUSE:Backports:SLE-12:Update     | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12:/Update/standard/                                                                                                                                                    |
33 | http-download.opensuse.org-9639f21f                                                              | openSUSE:Backports:SLE-12            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12/standard/                                                                                                                                                            |
34 | http-download.opensuse.org-a6a7657c                                                              | openSUSE:Backports:SLE-12:Update     | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12:/Update/standard/                                                                                                                                                    |
35 | http-download.opensuse.org-b1eaf83a                                                              | openSUSE:Backports:SLE-12:Update     | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12:/Update/standard/                                                                                                                                                    |
36 | http-download.opensuse.org-ed2eab92                                                              | openSUSE:Backports:SLE-12-SP1        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12-SP1/standard/                                                                                          
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios Linux Agent Installation error on SLES 12

Post by npolovenko »

@nmunoz, Please disable repos #23,24,25,26,32,34,35 and rerun the nrpe installation script.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
nmunoz
Posts: 9
Joined: Fri Jan 04, 2019 1:57 am
Location: Andorra
Contact:

Re: Nagios Linux Agent Installation error on SLES 12

Post by nmunoz »

Hello,

After removing the repos #23,24,25,26,32,34,35 and rerun the installation script, the error persist:

Code: Select all

./fullinstall
============================
Nagios Linux Agent Installer
============================

This script will install the Nagios Linux Agent by executing all necessary
sub-scripts.

IMPORTANT: This script should only be used on a clean installed system:

   RedHat Enterprise, CentOS, Fedora, Cloud Linux or Oracle
   OpenSUSE or SUSE Enterprise
   Ubuntu or Debian

Do NOT use this on a system running any other distro or that
does not allow additional package installation.

Do you want to continue? [Y/n] Y
Proceeding with installation...
Running './0-repos'...
Configuring Repos...
Enabling SUSE SDK ...
/usr/lib64/ruby/2.1.0/open3.rb:193: warning: Insecure world writable dir /sapdb/clients/MAXDB in PATH, mode 040777
Registered sle-sdk 12.2 x86_64
To server: https://scc.suse.com
Successfully registered system.
Enabling SUSE Scripting Module ...
/usr/lib64/ruby/2.1.0/open3.rb:193: warning: Insecure world writable dir /sapdb/clients/MAXDB in PATH, mode 040777
command 'zypper --no-refresh --non-interactive install --no-recommends --auto-agree-with-product-licenses -t product sle-module-web-scripting' failed
Error: zypper returned (106) with 'Error building the cache:
[http-download.opensuse.org-5136d9ba|http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12:/Update/standard/] Valid metadata not found at specified URL
Error building the cache:
[http-download.opensuse.org-6a323cdd|http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12:/Update/standard/] Valid metadata not found at specified URL
Error building the cache:
[http-download.opensuse.org-73611b81|http://download.opensuse.org/repositories/SUSE:/SLE-12:/GA/standard/] Valid metadata not found at specified URL
Error building the cache:
[http-download.opensuse.org-7a2e6c90|http://download.opensuse.org/repositories/SUSE:/SLE-12-SP2:/GA/standard/] Valid metadata not found at specified URL
Error building the cache:
[http-download.opensuse.org-9370faab|http://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-12:/Update/standard/] Valid metadata not found at specified URL
Some of the repositories have not been refreshed because of an error.'
RESULT=106

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './0-repos'
Thanks for helping
Regards
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios Linux Agent Installation error on SLES 12

Post by npolovenko »

@nmunoz, Please run the following commands first:
zypper clean
zypper in -f zypper rpm
And try re-running the installation script.

If it fails with the same errors go ahead and disable the following repositories from the list you sent me:
32,24,26,30,31,32
Also, you can try installing the NRPE from source instead:
https://support.nagios.com/kb/article.php?id=515#SUSE
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
nmunoz
Posts: 9
Joined: Fri Jan 04, 2019 1:57 am
Location: Andorra
Contact:

Re: Nagios Linux Agent Installation error on SLES 12

Post by nmunoz »

Hello @npolovenko,

With the firts method the installation doesn't works, but from source I finally success to install it.

Code: Select all

sapsmp:/usr/local/nagios/etc # /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
NRPE v3.2.1
Thank you very much for your help!!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Linux Agent Installation error on SLES 12

Post by scottwilkerson »

nmunoz wrote:Hello @npolovenko,

With the firts method the installation doesn't works, but from source I finally success to install it.

Code: Select all

sapsmp:/usr/local/nagios/etc # /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
NRPE v3.2.1
Thank you very much for your help!!
glad you got it working!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked