Notifications not being received

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bolson

Re: Notifications not being received

Post by bolson »

Hello snapon_admin,

Following these steps should resolve the issue you're facing:

Code: Select all

yum remove epel-release
rm -rf /var/cache/yum/x86_64/6/epel
yum --enablerepo=extras install epel-release 
Then redo the steps that Scott posted.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Notifications not being received

Post by snapon_admin »

Still getting the same error. I did update my last post though with a different error in the code block, apologies if that was while you were replying. I fixed the original error but now I'm getting this:

Code: Select all

[root@lisl-ngos-01-pv ~]# yum install -y php56w php56w-cli php56w-common php56w-mysql php56w-pdo php56w-devel php56w-mbstring php56w-snmp php56w-snmp php56w-ldap php56w-gd php56w-xml php56w-mysql php56w-mcrypt php56w-process php56w-mssql php56w-pear
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirrors.umflint.edu
 * epel: mirror.steadfastnet.com
 * extras: mirrors.gigenet.com
 * updates: ewr.edge.kernel.org
 * webtatic: us-east.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php56w.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: httpd-mmn = 20120211x8664 for package: php56w-5.6.38-1.w7.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: php56w-5.6.38-1.w7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: php56w-5.6.38-1.w7.x86_64
---> Package php56w-cli.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: php56w-cli-5.6.38-1.w7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: php56w-cli-5.6.38-1.w7.x86_64
---> Package php56w-common.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libxml2.so.2(LIBXML2_2.9.0)(64bit) for package: php56w-common-5.6.38-1.w7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: php56w-common-5.6.38-1.w7.x86_64
--> Processing Dependency: libgmp.so.10()(64bit) for package: php56w-common-5.6.38-1.w7.x86_64
---> Package php56w-devel.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: pcre-devel(x86-64) for package: php56w-devel-5.6.38-1.w7.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: php56w-devel-5.6.38-1.w7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: php56w-devel-5.6.38-1.w7.x86_64
---> Package php56w-gd.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: php56w-gd-5.6.38-1.w7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: php56w-gd-5.6.38-1.w7.x86_64
--> Processing Dependency: libt1.so.5()(64bit) for package: php56w-gd-5.6.38-1.w7.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: php56w-gd-5.6.38-1.w7.x86_64
---> Package php56w-ldap.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libsasl2.so.3()(64bit) for package: php56w-ldap-5.6.38-1.w7.x86_64
---> Package php56w-mbstring.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: php56w-mbstring-5.6.38-1.w7.x86_64
---> Package php56w-mcrypt.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: php56w-mcrypt-5.6.38-1.w7.x86_64
---> Package php56w-mssql.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: php56w-mssql-5.6.38-1.w7.x86_64
---> Package php56w-mysql.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: php56w-mysql-5.6.38-1.w7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: php56w-mysql-5.6.38-1.w7.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: php56w-mysql-5.6.38-1.w7.x86_64
---> Package php56w-pdo.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: php56w-pdo-5.6.38-1.w7.x86_64
---> Package php56w-pear.noarch 1:1.10.4-1.w7 will be installed
---> Package php56w-process.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: php56w-process-5.6.38-1.w7.x86_64
---> Package php56w-snmp.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libnetsnmp.so.31()(64bit) for package: php56w-snmp-5.6.38-1.w7.x86_64
---> Package php56w-xml.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libxml2.so.2(LIBXML2_2.9.0)(64bit) for package: php56w-xml-5.6.38-1.w7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: php56w-xml-5.6.38-1.w7.x86_64
--> Running transaction check
---> Package pcre-devel.x86_64 0:7.8-7.el6 will be installed
---> Package php56w.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: httpd-mmn = 20120211x8664 for package: php56w-5.6.38-1.w7.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: php56w-5.6.38-1.w7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: php56w-5.6.38-1.w7.x86_64
---> Package php56w-cli.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: php56w-cli-5.6.38-1.w7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: php56w-cli-5.6.38-1.w7.x86_64
---> Package php56w-common.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libxml2.so.2(LIBXML2_2.9.0)(64bit) for package: php56w-common-5.6.38-1.w7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: php56w-common-5.6.38-1.w7.x86_64
--> Processing Dependency: libgmp.so.10()(64bit) for package: php56w-common-5.6.38-1.w7.x86_64
---> Package php56w-devel.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: php56w-devel-5.6.38-1.w7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: php56w-devel-5.6.38-1.w7.x86_64
---> Package php56w-gd.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: php56w-gd-5.6.38-1.w7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: php56w-gd-5.6.38-1.w7.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: php56w-gd-5.6.38-1.w7.x86_64
---> Package php56w-ldap.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libsasl2.so.3()(64bit) for package: php56w-ldap-5.6.38-1.w7.x86_64
---> Package php56w-mbstring.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: php56w-mbstring-5.6.38-1.w7.x86_64
---> Package php56w-mcrypt.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: php56w-mcrypt-5.6.38-1.w7.x86_64
---> Package php56w-mssql.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: php56w-mssql-5.6.38-1.w7.x86_64
---> Package php56w-mysql.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: php56w-mysql-5.6.38-1.w7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: php56w-mysql-5.6.38-1.w7.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: php56w-mysql-5.6.38-1.w7.x86_64
---> Package php56w-pdo.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: php56w-pdo-5.6.38-1.w7.x86_64
---> Package php56w-process.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: php56w-process-5.6.38-1.w7.x86_64
---> Package php56w-snmp.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libnetsnmp.so.31()(64bit) for package: php56w-snmp-5.6.38-1.w7.x86_64
---> Package php56w-xml.x86_64 0:5.6.38-1.w7 will be installed
--> Processing Dependency: libxml2.so.2(LIBXML2_2.9.0)(64bit) for package: php56w-xml-5.6.38-1.w7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: php56w-xml-5.6.38-1.w7.x86_64
---> Package t1lib.x86_64 0:5.1.2-6.el6_2.1 will be installed
--> Finished Dependency Resolution
Error: Package: php56w-pdo-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php56w-mysql-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php56w-xml-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php56w-common-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libgmp.so.10()(64bit)
Error: Package: php56w-mysql-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libmysqlclient.so.18(libmysqlclient_18)(64bit)
Error: Package: php56w-gd-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libpng15.so.15()(64bit)
Error: Package: php56w-gd-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libpng15.so.15(PNG15_0)(64bit)
Error: Package: php56w-common-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: php56w-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: php56w-mbstring-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php56w-ldap-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libsasl2.so.3()(64bit)
Error: Package: php56w-cli-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
Error: Package: php56w-mssql-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php56w-snmp-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libnetsnmp.so.31()(64bit)
Error: Package: php56w-mcrypt-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php56w-5.6.38-1.w7.x86_64 (webtatic)
           Requires: httpd-mmn = 20120211x8664
           Installed: httpd-2.2.15-60.el6.centos.5.x86_64 (@updates)
               httpd-mmn = 20051115
           Available: httpd-2.2.15-69.el6.centos.x86_64 (base)
               httpd-mmn = 20051115
Error: Package: php56w-devel-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
Error: Package: php56w-process-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php56w-xml-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libxml2.so.2(LIBXML2_2.9.0)(64bit)
Error: Package: php56w-common-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libxml2.so.2(LIBXML2_2.9.0)(64bit)
Error: Package: php56w-gd-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: php56w-devel-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: php56w-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
Error: Package: php56w-cli-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: php56w-mysql-5.6.38-1.w7.x86_64 (webtatic)
           Requires: libmysqlclient.so.18()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Notifications not being received

Post by npolovenko »

@snapon_admin, Looks like the majority of required packages should come from a Base Repo. Can you confirm that the Base repo is enabled by running:
yum repolist
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Notifications not being received

Post by snapon_admin »

Code: Select all

[root@lisl-ngos-01-pv ~]# yum repolist
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirrors.umflint.edu
 * epel: mirror.steadfastnet.com
 * extras: mirrors.gigenet.com
 * updates: ftp.osuosl.org
 * webtatic: us-east.repo.webtatic.com
repo id                                                                   repo name                                                                                                   status
base                                                                      CentOS-6 - Base                                                                                              6,713
cr                                                                        CentOS-6 - CR                                                                                                    0
epel                                                                      Extra Packages for Enterprise Linux 7 - x86_64                                                              12,504
extras                                                                    CentOS-6 - Extras                                                                                               35
nagios-base                                                               Nagios                                                                                                         181
nagiosxi-deps                                                             Nagios XI Dependencies                                                                                          33
updates                                                                   CentOS-6 - Updates                                                                                             255
webtatic                                                                  Webtatic Repository EL7 - x86_64                                                                             1,305
repolist: 21,026
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Notifications not being received

Post by npolovenko »

@snapon_admin, The problem is that you installed the Webstatic repo for Cent7 on a CentOS6 System. You need to uninstall these two repos:
And then run commands from this link to install epel-release and webstatic repo for CentOS6:
https://webtatic.com/packages/php56/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Notifications not being received

Post by snapon_admin »

Ok that was able to get a bit further but it fails o nthe next step. This directory does not exist:

Code: Select all

/tmp/nagiosxi/sourceguardian
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Notifications not being received

Post by npolovenko »

@snapon_admin, Please find the tar.gz for your version of XI in the link below:
https://www.nagios.com/downloads/nagios ... -releases/

Then download the archive in the /tmp/ folder and untar it:
cd /tmp/
wget <link to the xi tar.gz>
tar xzf <name of the xi archive>
PS: If you're having trouble with this let me know what version of Nagios XI you're running and I will give you the exact commands.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Notifications not being received

Post by snapon_admin »

Ok that step is done, is there a good way to back this change out without just reverting to a snapshot? Trying to avoid having to do that if there's a better way to back the change out if I run into issues.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Notifications not being received

Post by npolovenko »

@snapon_admin, You mean you successfully upgraded the PHP, right? Reverting to a VM snapshot would be easier than reverting these changes manually. You'd have to reinstall php packages and reload the source guardian module.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Notifications not being received

Post by snapon_admin »

No, I just meant that last step. I had to revert the changes the last time I did this and did so via VM snapshot restore. I'll prep for doing this again this week and will have a VM snapshot created if that is the best way to back out the changes.
Locked