troubleshooting Question

OMD/Nagios not working after fresh install

Avatar of Xetroximyn
XetroximynFlag for United States of America asked on
LinuxNetwork ManagementNetworkingNetwork AnalysisLinux Distributions
12 Comments1 Solution1279 ViewsLast Modified:
Fresh CentOS 7 machine.  You can see full steps I tool below and output.  page will not load. (screenshot shown)

Any ideas?

omd2.png


[root@nagios ~]# cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
[root@nagios ~]# yum install epel-release
Loaded plugins: fastestmirror, langpacks
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
base                                                                                                                                                       | 3.6 kB  00:00:00
extras                                                                                                                                                     | 3.4 kB  00:00:00
updates                                                                                                                                                    | 3.4 kB  00:00:00
extras/7/x86_64/primary_db     FAILED
ftp://ftp.ussg.iu.edu/linux/centos/7.2.1511/extras/x86_64/repodata/8bbaece36ec6587426c9685a366f242c6a976e781db53be42c50bff51147cf39-primary.sqlite.bz2: [Errno 12] Timeout on ftp://ftp.ussg.iu.edu/linux/centos/7.2.1511/extras/x86_64/repodata/8bbaece36ec6587426c9685a366f242c6a976e781db53be42c50bff51147cf39-primary.sqlite.bz2: (28, '')
Trying other mirror.
(1/2): extras/7/x86_64/primary_db                                                                                                                          | 149 kB  00:00:00
(2/2): updates/7/x86_64/primary_db                                                                                                                         | 5.7 MB  00:00:01
Determining fastest mirrors
 * base: mirror.n5tech.com
 * extras: mirror.us.oneandone.net
 * updates: ftp.osuosl.org
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================================================================
 Package                                         Arch                                      Version                                Repository                                 Size
==================================================================================================================================================================================
Installing:
 epel-release                                    noarch                                    7-6                                    extras                                     14 k

Transaction Summary
==================================================================================================================================================================================
Install  1 Package

Total download size: 14 k
Installed size: 24 k
Is this ok [y/d/N]: y
Downloading packages:
epel-release-7-6.noarch.rpm                                                                                                                                |  14 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : epel-release-7-6.noarch                                                                                                                                        1/1
  Verifying  : epel-release-7-6.noarch                                                                                                                                        1/1

Installed:
  epel-release.noarch 0:7-6

Complete!

[root@nagios ~]# wget http://files.omdistro.org/releases/1.30/omd-1.30.rhel7.x86_64.rpm
--2016-07-20 19:44:47--  http://files.omdistro.org/releases/1.30/omd-1.30.rhel7.x86_64.rpm
Resolving files.omdistro.org (files.omdistro.org)... 178.248.246.154
Connecting to files.omdistro.org (files.omdistro.org)|178.248.246.154|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 87950224 (84M) [application/x-redhat-package-manager]
Saving to: âomd-1.30.rhel7.x86_64.rpmâ

100%[========================================================================================================================================>] 87,950,224  1.84MB/s   in 46s

2016-07-20 19:45:33 (1.82 MB/s) - âomd-1.30.rhel7.x86_64.rpmâ saved [87950224/87950224]



[root@nagios ~]# yum --nogpgcheck localinstall omd-1.30.rhel7.x86_64.rpm
Loaded plugins: fastestmirror, langpacks
Examining omd-1.30.rhel7.x86_64.rpm: omd-1.30-el7-35.x86_64
Marking omd-1.30.rhel7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package omd-1.30.x86_64 0:el7-35 will be installed
--> Processing Dependency: boost-program-options for package: omd-1.30-el7-35.x86_64
Loading mirror speeds from cached hostfile
 * base: mirror.n5tech.com
 * epel: mirror.metrocast.net
 * extras: mirror.us.oneandone.net
 * updates: ftp.osuosl.org
--> Processing Dependency: dialog for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: fping for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: graphviz for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: graphviz-gd for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: httpd for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: libmcrypt for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: mod_fcgid for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: mariadb-server for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: net-snmp for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: net-snmp-utils for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: patch for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: perl-Net-SNMP for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: perl-Locale-Maketext-Simple for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: perl-IO-Zlib for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: php for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: php-mbstring for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: php-pdo for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: php-gd for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: uuid for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: xinetd for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: xorg-x11-server-Xvfb for package: omd-1.30-el7-35.x86_64
--> Processing Dependency: freeradius-utils for package: omd-1.30-el7-35.x86_64
--> Running transaction check
---> Package boost-program-options.x86_64 0:1.53.0-25.el7 will be installed
---> Package dialog.x86_64 0:1.2-4.20130523.el7 will be installed
---> Package fping.x86_64 0:3.10-4.el7 will be installed
---> Package freeradius-utils.x86_64 0:3.0.4-6.el7 will be installed
--> Processing Dependency: freeradius = 3.0.4-6.el7 for package: freeradius-utils-3.0.4-6.el7.x86_64
--> Processing Dependency: perl(DBI) for package: freeradius-utils-3.0.4-6.el7.x86_64
--> Processing Dependency: libfreeradius-server.so()(64bit) for package: freeradius-utils-3.0.4-6.el7.x86_64
--> Processing Dependency: libfreeradius-radius.so()(64bit) for package: freeradius-utils-3.0.4-6.el7.x86_64
--> Processing Dependency: libfreeradius-eap.so()(64bit) for package: freeradius-utils-3.0.4-6.el7.x86_64
---> Package graphviz.x86_64 0:2.30.1-19.el7 will be installed
--> Processing Dependency: libXaw.so.7()(64bit) for package: graphviz-2.30.1-19.el7.x86_64
---> Package graphviz-gd.x86_64 0:2.30.1-19.el7 will be installed
---> Package httpd.x86_64 0:2.4.6-40.el7.centos.4 will be installed
--> Processing Dependency: httpd-tools = 2.4.6-40.el7.centos.4 for package: httpd-2.4.6-40.el7.centos.4.x86_64
--> Processing Dependency: /etc/mime.types for package: httpd-2.4.6-40.el7.centos.4.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-40.el7.centos.4.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-40.el7.centos.4.x86_64
---> Package libmcrypt.x86_64 0:2.5.8-13.el7 will be installed
---> Package mariadb-server.x86_64 1:5.5.47-1.el7_2 will be installed
--> Processing Dependency: mariadb(x86-64) = 1:5.5.47-1.el7_2 for package: 1:mariadb-server-5.5.47-1.el7_2.x86_64
--> Processing Dependency: perl-DBD-MySQL for package: 1:mariadb-server-5.5.47-1.el7_2.x86_64
--> Processing Dependency: perl(Data::Dumper) for package: 1:mariadb-server-5.5.47-1.el7_2.x86_64
---> Package mod_fcgid.x86_64 0:2.3.9-4.el7 will be installed
---> Package net-snmp.x86_64 1:5.7.2-24.el7_2.1 will be installed
--> Processing Dependency: net-snmp-agent-libs = 1:5.7.2-24.el7_2.1 for package: 1:net-snmp-5.7.2-24.el7_2.1.x86_64
--> Processing Dependency: libnetsnmptrapd.so.31()(64bit) for package: 1:net-snmp-5.7.2-24.el7_2.1.x86_64
--> Processing Dependency: libnetsnmpmibs.so.31()(64bit) for package: 1:net-snmp-5.7.2-24.el7_2.1.x86_64
--> Processing Dependency: libnetsnmpagent.so.31()(64bit) for package: 1:net-snmp-5.7.2-24.el7_2.1.x86_64
---> Package net-snmp-utils.x86_64 1:5.7.2-24.el7_2.1 will be installed
---> Package patch.x86_64 0:2.7.1-8.el7 will be installed
---> Package perl-IO-Zlib.noarch 1:1.10-286.el7 will be installed
--> Processing Dependency: perl(Compress::Zlib) for package: 1:perl-IO-Zlib-1.10-286.el7.noarch
---> Package perl-Locale-Maketext-Simple.noarch 1:0.21-286.el7 will be installed
--> Processing Dependency: perl(Locale::Maketext) for package: 1:perl-Locale-Maketext-Simple-0.21-286.el7.noarch
---> Package perl-Net-SNMP.noarch 0:6.0.1-7.el7 will be installed
--> Processing Dependency: perl(Socket6) >= 0.23 for package: perl-Net-SNMP-6.0.1-7.el7.noarch
--> Processing Dependency: perl(Digest::SHA1) for package: perl-Net-SNMP-6.0.1-7.el7.noarch
--> Processing Dependency: perl(Digest::MD5) for package: perl-Net-SNMP-6.0.1-7.el7.noarch
--> Processing Dependency: perl(Digest::HMAC) for package: perl-Net-SNMP-6.0.1-7.el7.noarch
--> Processing Dependency: perl(Crypt::DES) for package: perl-Net-SNMP-6.0.1-7.el7.noarch
---> Package php.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-36.1.el7_2.1 for package: php-5.4.16-36.1.el7_2.1.x86_64
--> Processing Dependency: php-cli(x86-64) = 5.4.16-36.1.el7_2.1 for package: php-5.4.16-36.1.el7_2.1.x86_64
---> Package php-gd.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
--> Processing Dependency: libt1.so.5()(64bit) for package: php-gd-5.4.16-36.1.el7_2.1.x86_64
---> Package php-mbstring.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
---> Package php-pdo.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
---> Package uuid.x86_64 0:1.6.2-26.el7 will be installed
---> Package xinetd.x86_64 2:2.3.15-12.el7 will be installed
---> Package xorg-x11-server-Xvfb.x86_64 0:1.17.2-10.el7 will be installed
--> Running transaction check
---> Package apr.x86_64 0:1.4.8-3.el7 will be installed
---> Package apr-util.x86_64 0:1.5.2-6.el7 will be installed
---> Package freeradius.x86_64 0:3.0.4-6.el7 will be installed
--> Processing Dependency: libnaaeap.so.0()(64bit) for package: freeradius-3.0.4-6.el7.x86_64
---> Package httpd-tools.x86_64 0:2.4.6-40.el7.centos.4 will be installed
---> Package libXaw.x86_64 0:1.0.12-5.el7 will be installed
---> Package mailcap.noarch 0:2.1.41-2.el7 will be installed
---> Package mariadb.x86_64 1:5.5.47-1.el7_2 will be installed
---> Package net-snmp-agent-libs.x86_64 1:5.7.2-24.el7_2.1 will be installed
---> Package perl-Crypt-DES.x86_64 0:2.05-20.el7 will be installed
---> Package perl-DBD-MySQL.x86_64 0:4.023-5.el7 will be installed
---> Package perl-DBI.x86_64 0:1.627-4.el7 will be installed
--> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI-1.627-4.el7.x86_64
--> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI-1.627-4.el7.x86_64
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed
---> Package perl-Digest-HMAC.noarch 0:1.03-5.el7 will be installed
--> Processing Dependency: perl(Digest::SHA) for package: perl-Digest-HMAC-1.03-5.el7.noarch
---> Package perl-Digest-MD5.x86_64 0:2.52-3.el7 will be installed
--> Processing Dependency: perl(Digest::base) >= 1.00 for package: perl-Digest-MD5-2.52-3.el7.x86_64
---> Package perl-Digest-SHA1.x86_64 0:2.13-9.el7 will be installed
---> Package perl-IO-Compress.noarch 0:2.061-2.el7 will be installed
--> Processing Dependency: perl(Compress::Raw::Zlib) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
--> Processing Dependency: perl(Compress::Raw::Bzip2) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
---> Package perl-Locale-Maketext.noarch 0:1.23-3.el7 will be installed
---> Package perl-Socket6.x86_64 0:0.23-15.el7 will be installed
---> Package php-cli.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
---> Package php-common.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
--> Processing Dependency: libzip.so.2()(64bit) for package: php-common-5.4.16-36.1.el7_2.1.x86_64
---> Package t1lib.x86_64 0:5.1.2-14.el7 will be installed
--> Running transaction check
---> Package libzip.x86_64 0:0.10.1-8.el7 will be installed
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
---> Package perl-Digest.noarch 0:1.17-245.el7 will be installed
---> Package perl-Digest-SHA.x86_64 1:5.85-3.el7 will be installed
---> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
--> Processing Dependency: perl(Net::Daemon) >= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch
---> Package tncfhh-libs.x86_64 0:0.8.3-16.el7 will be installed
--> Processing Dependency: tncfhh = 0.8.3 for package: tncfhh-libs-0.8.3-16.el7.x86_64
--> Processing Dependency: libxerces-c-3.1.so()(64bit) for package: tncfhh-libs-0.8.3-16.el7.x86_64
--> Processing Dependency: libtncutil.so.0()(64bit) for package: tncfhh-libs-0.8.3-16.el7.x86_64
--> Processing Dependency: liblog4cxx.so.10()(64bit) for package: tncfhh-libs-0.8.3-16.el7.x86_64
--> Running transaction check
---> Package log4cxx.x86_64 0:0.10.0-16.el7 will be installed
---> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
---> Package tncfhh.x86_64 0:0.8.3-16.el7 will be installed
---> Package tncfhh-utils.x86_64 0:0.8.3-16.el7 will be installed
---> Package xerces-c.x86_64 0:3.1.1-8.el7_2 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================================================================
 Package                                           Arch                         Version                                        Repository                                    Size
==================================================================================================================================================================================
Installing:
 omd-1.30                                          x86_64                       el7-35                                         /omd-1.30.rhel7.x86_64                       283 M
Installing for dependencies:
 apr                                               x86_64                       1.4.8-3.el7                                    base                                         103 k
 apr-util                                          x86_64                       1.5.2-6.el7                                    base                                          92 k
 boost-program-options                             x86_64                       1.53.0-25.el7                                  base                                         155 k
 dialog                                            x86_64                       1.2-4.20130523.el7                             base                                         208 k
 fping                                             x86_64                       3.10-4.el7                                     epel                                          46 k
 freeradius                                        x86_64                       3.0.4-6.el7                                    base                                         985 k
 freeradius-utils                                  x86_64                       3.0.4-6.el7                                    base                                         188 k
 graphviz                                          x86_64                       2.30.1-19.el7                                  base                                         1.3 M
 graphviz-gd                                       x86_64                       2.30.1-19.el7                                  base                                          33 k
 httpd                                             x86_64                       2.4.6-40.el7.centos.4                          updates                                      2.7 M
 httpd-tools                                       x86_64                       2.4.6-40.el7.centos.4                          updates                                       83 k
 libXaw                                            x86_64                       1.0.12-5.el7                                   base                                         190 k
 libmcrypt                                         x86_64                       2.5.8-13.el7                                   epel                                          99 k
 libzip                                            x86_64                       0.10.1-8.el7                                   base                                          48 k
 log4cxx                                           x86_64                       0.10.0-16.el7                                  base                                         452 k
 mailcap                                           noarch                       2.1.41-2.el7                                   base                                          31 k
 mariadb                                           x86_64                       1:5.5.47-1.el7_2                               updates                                      8.9 M
 mariadb-server                                    x86_64                       1:5.5.47-1.el7_2                               updates                                       11 M
 mod_fcgid                                         x86_64                       2.3.9-4.el7                                    base                                          79 k
 net-snmp                                          x86_64                       1:5.7.2-24.el7_2.1                             updates                                      321 k
 net-snmp-agent-libs                               x86_64                       1:5.7.2-24.el7_2.1                             updates                                      702 k
 net-snmp-utils                                    x86_64                       1:5.7.2-24.el7_2.1                             updates                                      197 k
 patch                                             x86_64                       2.7.1-8.el7                                    base                                         110 k
 perl-Compress-Raw-Bzip2                           x86_64                       2.061-3.el7                                    base                                          32 k
 perl-Compress-Raw-Zlib                            x86_64                       1:2.061-4.el7                                  base                                          57 k
 perl-Crypt-DES                                    x86_64                       2.05-20.el7                                    base                                          20 k
 perl-DBD-MySQL                                    x86_64                       4.023-5.el7                                    base                                         140 k
 perl-DBI                                          x86_64                       1.627-4.el7                                    base                                         802 k
 perl-Data-Dumper                                  x86_64                       2.145-3.el7                                    base                                          47 k
 perl-Digest                                       noarch                       1.17-245.el7                                   base                                          23 k
 perl-Digest-HMAC                                  noarch                       1.03-5.el7                                     base                                          16 k
 perl-Digest-MD5                                   x86_64                       2.52-3.el7                                     base                                          30 k
 perl-Digest-SHA                                   x86_64                       1:5.85-3.el7                                   base                                          58 k
 perl-Digest-SHA1                                  x86_64                       2.13-9.el7                                     base                                          50 k
 perl-IO-Compress                                  noarch                       2.061-2.el7                                    base                                         260 k
 perl-IO-Zlib                                      noarch                       1:1.10-286.el7                                 base                                          50 k
 perl-Locale-Maketext                              noarch                       1.23-3.el7                                     base                                          93 k
 perl-Locale-Maketext-Simple                       noarch                       1:0.21-286.el7                                 base                                          49 k
 perl-Net-Daemon                                   noarch                       0.48-5.el7                                     base                                          51 k
 perl-Net-SNMP                                     noarch                       6.0.1-7.el7                                    epel                                         103 k
 perl-PlRPC                                        noarch                       0.2020-14.el7                                  base                                          36 k
 perl-Socket6                                      x86_64                       0.23-15.el7                                    base                                          27 k
 php                                               x86_64                       5.4.16-36.1.el7_2.1                            updates                                      1.4 M
 php-cli                                           x86_64                       5.4.16-36.1.el7_2.1                            updates                                      2.7 M
 php-common                                        x86_64                       5.4.16-36.1.el7_2.1                            updates                                      563 k
 php-gd                                            x86_64                       5.4.16-36.1.el7_2.1                            updates                                      126 k
 php-mbstring                                      x86_64                       5.4.16-36.1.el7_2.1                            updates                                      503 k
 php-pdo                                           x86_64                       5.4.16-36.1.el7_2.1                            updates                                       97 k
 t1lib                                             x86_64                       5.1.2-14.el7                                   base                                         166 k
 tncfhh                                            x86_64                       0.8.3-16.el7                                   base                                         680 k
 tncfhh-libs                                       x86_64                       0.8.3-16.el7                                   base                                         160 k
 tncfhh-utils                                      x86_64                       0.8.3-16.el7                                   base                                          33 k
 uuid                                              x86_64                       1.6.2-26.el7                                   base                                          55 k
 xerces-c                                          x86_64                       3.1.1-8.el7_2                                  updates                                      878 k
 xinetd                                            x86_64                       2:2.3.15-12.el7                                base                                         128 k
 xorg-x11-server-Xvfb                              x86_64                       1.17.2-10.el7                                  base                                         837 k

Transaction Summary
==================================================================================================================================================================================
Install  1 Package (+56 Dependent packages)

Total size: 321 M
Total download size: 38 M
Installed size: 444 M
Is this ok [y/d/N]: y
Downloading packages:
(1/56): boost-program-options-1.53.0-25.el7.x86_64.rpm                                                                                                     | 155 kB  00:00:00
(2/56): apr-1.4.8-3.el7.x86_64.rpm                                                                                                                         | 103 kB  00:00:00
(3/56): apr-util-1.5.2-6.el7.x86_64.rpm                                                                                                                    |  92 kB  00:00:00
(4/56): fping-3.10-4.el7.x86_64.rpm                                                                                                                        |  46 kB  00:00:00
(5/56): dialog-1.2-4.20130523.el7.x86_64.rpm                                                                                                               | 208 kB  00:00:00
(6/56): freeradius-utils-3.0.4-6.el7.x86_64.rpm                                                                                                            | 188 kB  00:00:00
(7/56): freeradius-3.0.4-6.el7.x86_64.rpm                                                                                                                  | 985 kB  00:00:00
(8/56): libXaw-1.0.12-5.el7.x86_64.rpm                                                                                                                     | 190 kB  00:00:00
(9/56): httpd-tools-2.4.6-40.el7.centos.4.x86_64.rpm                                                                                                       |  83 kB  00:00:00
(10/56): graphviz-gd-2.30.1-19.el7.x86_64.rpm                                                                                                              |  33 kB  00:00:00
(11/56): libzip-0.10.1-8.el7.x86_64.rpm                                                                                                                    |  48 kB  00:00:00
(12/56): mailcap-2.1.41-2.el7.noarch.rpm                                                                                                                   |  31 kB  00:00:00
(13/56): log4cxx-0.10.0-16.el7.x86_64.rpm                                                                                                                  | 452 kB  00:00:00
(14/56): libmcrypt-2.5.8-13.el7.x86_64.rpm                                                                                                                 |  99 kB  00:00:00
(15/56): graphviz-2.30.1-19.el7.x86_64.rpm                                                                                                                 | 1.3 MB  00:00:00
(16/56): mariadb-5.5.47-1.el7_2.x86_64.rpm                                                                                                                 | 8.9 MB  00:00:01
(17/56): mod_fcgid-2.3.9-4.el7.x86_64.rpm                                                                                                                  |  79 kB  00:00:00
(18/56): httpd-2.4.6-40.el7.centos.4.x86_64.rpm                                                                                                            | 2.7 MB  00:00:02
(19/56): net-snmp-5.7.2-24.el7_2.1.x86_64.rpm                                                                                                              | 321 kB  00:00:00
(20/56): net-snmp-agent-libs-5.7.2-24.el7_2.1.x86_64.rpm                                                                                                   | 702 kB  00:00:00
(21/56): perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64.rpm                                                                                                    |  32 kB  00:00:00
(22/56): net-snmp-utils-5.7.2-24.el7_2.1.x86_64.rpm                                                                                                        | 197 kB  00:00:00
(23/56): patch-2.7.1-8.el7.x86_64.rpm                                                                                                                      | 110 kB  00:00:00
(24/56): mariadb-server-5.5.47-1.el7_2.x86_64.rpm                                                                                                          |  11 MB  00:00:02
(25/56): perl-Crypt-DES-2.05-20.el7.x86_64.rpm                                                                                                             |  20 kB  00:00:00
(26/56): perl-Compress-Raw-Zlib-2.061-4.el7.x86_64.rpm                                                                                                     |  57 kB  00:00:00
(27/56): perl-DBD-MySQL-4.023-5.el7.x86_64.rpm                                                                                                             | 140 kB  00:00:00
(28/56): perl-Data-Dumper-2.145-3.el7.x86_64.rpm                                                                                                           |  47 kB  00:00:00
(29/56): perl-DBI-1.627-4.el7.x86_64.rpm                                                                                                                   | 802 kB  00:00:00
(30/56): perl-Digest-1.17-245.el7.noarch.rpm                                                                                                               |  23 kB  00:00:00
(31/56): perl-Digest-HMAC-1.03-5.el7.noarch.rpm                                                                                                            |  16 kB  00:00:00
(32/56): perl-Digest-MD5-2.52-3.el7.x86_64.rpm                                                                                                             |  30 kB  00:00:00
(33/56): perl-Digest-SHA-5.85-3.el7.x86_64.rpm                                                                                                             |  58 kB  00:00:00
(34/56): perl-Digest-SHA1-2.13-9.el7.x86_64.rpm                                                                                                            |  50 kB  00:00:00
(35/56): perl-IO-Zlib-1.10-286.el7.noarch.rpm                                                                                                              |  50 kB  00:00:00
(36/56): perl-IO-Compress-2.061-2.el7.noarch.rpm                                                                                                           | 260 kB  00:00:00
(37/56): perl-Locale-Maketext-1.23-3.el7.noarch.rpm                                                                                                        |  93 kB  00:00:00
(38/56): perl-Locale-Maketext-Simple-0.21-286.el7.noarch.rpm                                                                                               |  49 kB  00:00:00
(39/56): perl-Net-SNMP-6.0.1-7.el7.noarch.rpm                                                                                                              | 103 kB  00:00:00
(40/56): perl-Net-Daemon-0.48-5.el7.noarch.rpm                                                                                                             |  51 kB  00:00:00
(41/56): perl-PlRPC-0.2020-14.el7.noarch.rpm                                                                                                               |  36 kB  00:00:00
(42/56): perl-Socket6-0.23-15.el7.x86_64.rpm                                                                                                               |  27 kB  00:00:00
(43/56): php-5.4.16-36.1.el7_2.1.x86_64.rpm                                                                                                                | 1.4 MB  00:00:00
(44/56): php-common-5.4.16-36.1.el7_2.1.x86_64.rpm                                                                                                         | 563 kB  00:00:00
(45/56): php-gd-5.4.16-36.1.el7_2.1.x86_64.rpm                                                                                                             | 126 kB  00:00:00
(46/56): php-mbstring-5.4.16-36.1.el7_2.1.x86_64.rpm                                                                                                       | 503 kB  00:00:00
(47/56): php-pdo-5.4.16-36.1.el7_2.1.x86_64.rpm                                                                                                            |  97 kB  00:00:00
(48/56): t1lib-5.1.2-14.el7.x86_64.rpm                                                                                                                     | 166 kB  00:00:00
(49/56): tncfhh-0.8.3-16.el7.x86_64.rpm                                                                                                                    | 680 kB  00:00:00
(50/56): tncfhh-libs-0.8.3-16.el7.x86_64.rpm                                                                                                               | 160 kB  00:00:00
(51/56): tncfhh-utils-0.8.3-16.el7.x86_64.rpm                                                                                                              |  33 kB  00:00:00
(52/56): uuid-1.6.2-26.el7.x86_64.rpm                                                                                                                      |  55 kB  00:00:00
(53/56): xerces-c-3.1.1-8.el7_2.x86_64.rpm                                                                                                                 | 878 kB  00:00:00
(54/56): xinetd-2.3.15-12.el7.x86_64.rpm                                                                                                                   | 128 kB  00:00:00
(55/56): xorg-x11-server-Xvfb-1.17.2-10.el7.x86_64.rpm                                                                                                     | 837 kB  00:00:00
(56/56): php-cli-5.4.16-36.1.el7_2.1.x86_64.rpm                                                                                                            | 2.7 MB  00:00:02
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                             3.8 MB/s |  38 MB  00:00:09
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : apr-1.4.8-3.el7.x86_64                                                                                                                                        1/57
  Installing : apr-util-1.5.2-6.el7.x86_64                                                                                                                                   2/57
  Installing : log4cxx-0.10.0-16.el7.x86_64                                                                                                                                  3/57
  Installing : perl-Data-Dumper-2.145-3.el7.x86_64                                                                                                                           4/57
  Installing : xerces-c-3.1.1-8.el7_2.x86_64                                                                                                                                 5/57
  Installing : perl-Digest-1.17-245.el7.noarch                                                                                                                               6/57
  Installing : perl-Digest-MD5-2.52-3.el7.x86_64                                                                                                                             7/57
  Installing : 1:perl-Digest-SHA-5.85-3.el7.x86_64                                                                                                                           8/57
  Installing : perl-Digest-HMAC-1.03-5.el7.noarch                                                                                                                            9/57
  Installing : tncfhh-utils-0.8.3-16.el7.x86_64                                                                                                                             10/57
  Installing : tncfhh-0.8.3-16.el7.x86_64                                                                                                                                   11/57
  Installing : tncfhh-libs-0.8.3-16.el7.x86_64                                                                                                                              12/57
  Installing : freeradius-3.0.4-6.el7.x86_64                                                                                                                                13/57
  Installing : httpd-tools-2.4.6-40.el7.centos.4.x86_64                                                                                                                     14/57
  Installing : perl-Crypt-DES-2.05-20.el7.x86_64                                                                                                                            15/57
  Installing : libzip-0.10.1-8.el7.x86_64                                                                                                                                   16/57
  Installing : php-common-5.4.16-36.1.el7_2.1.x86_64                                                                                                                        17/57
  Installing : php-mbstring-5.4.16-36.1.el7_2.1.x86_64                                                                                                                      18/57
  Installing : php-pdo-5.4.16-36.1.el7_2.1.x86_64                                                                                                                           19/57
  Installing : php-cli-5.4.16-36.1.el7_2.1.x86_64                                                                                                                           20/57
  Installing : uuid-1.6.2-26.el7.x86_64                                                                                                                                     21/57
  Installing : patch-2.7.1-8.el7.x86_64                                                                                                                                     22/57
  Installing : perl-Digest-SHA1-2.13-9.el7.x86_64                                                                                                                           23/57
  Installing : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64                                                                                                                  24/57
  Installing : xorg-x11-server-Xvfb-1.17.2-10.el7.x86_64                                                                                                                    25/57
  Installing : perl-Socket6-0.23-15.el7.x86_64                                                                                                                              26/57
  Installing : perl-Net-SNMP-6.0.1-7.el7.noarch                                                                                                                             27/57
  Installing : boost-program-options-1.53.0-25.el7.x86_64                                                                                                                   28/57
  Installing : 1:net-snmp-utils-5.7.2-24.el7_2.1.x86_64                                                                                                                     29/57
  Installing : 1:mariadb-5.5.47-1.el7_2.x86_64                                                                                                                              30/57
  Installing : 1:net-snmp-agent-libs-5.7.2-24.el7_2.1.x86_64                                                                                                                31/57
  Installing : 1:net-snmp-5.7.2-24.el7_2.1.x86_64                                                                                                                           32/57
  Installing : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64                                                                                                                   33/57
  Installing : perl-IO-Compress-2.061-2.el7.noarch                                                                                                                          34/57
  Installing : 1:perl-IO-Zlib-1.10-286.el7.noarch                                                                                                                           35/57
  Installing : t1lib-5.1.2-14.el7.x86_64                                                                                                                                    36/57
  Installing : php-gd-5.4.16-36.1.el7_2.1.x86_64                                                                                                                            37/57
  Installing : perl-Net-Daemon-0.48-5.el7.noarch                                                                                                                            38/57
  Installing : perl-PlRPC-0.2020-14.el7.noarch                                                                                                                              39/57
  Installing : perl-DBI-1.627-4.el7.x86_64                                                                                                                                  40/57
  Installing : perl-DBD-MySQL-4.023-5.el7.x86_64                                                                                                                            41/57
  Installing : 1:mariadb-server-5.5.47-1.el7_2.x86_64                                                                                                                       42/57
  Installing : freeradius-utils-3.0.4-6.el7.x86_64                                                                                                                          43/57
  Installing : dialog-1.2-4.20130523.el7.x86_64                                                                                                                             44/57
  Installing : fping-3.10-4.el7.x86_64                                                                                                                                      45/57
  Installing : libmcrypt-2.5.8-13.el7.x86_64                                                                                                                                46/57
  Installing : perl-Locale-Maketext-1.23-3.el7.noarch                                                                                                                       47/57
  Installing : 1:perl-Locale-Maketext-Simple-0.21-286.el7.noarch                                                                                                            48/57
  Installing : libXaw-1.0.12-5.el7.x86_64                                                                                                                                   49/57
  Installing : graphviz-2.30.1-19.el7.x86_64                                                                                                                                50/57
  Installing : graphviz-gd-2.30.1-19.el7.x86_64                                                                                                                             51/57
  Installing : 2:xinetd-2.3.15-12.el7.x86_64                                                                                                                                52/57
  Installing : mailcap-2.1.41-2.el7.noarch                                                                                                                                  53/57
  Installing : httpd-2.4.6-40.el7.centos.4.x86_64                                                                                                                           54/57
  Installing : mod_fcgid-2.3.9-4.el7.x86_64                                                                                                                                 55/57
  Installing : php-5.4.16-36.1.el7_2.1.x86_64                                                                                                                               56/57
  Installing : omd-1.30-el7-35.x86_64                                                                                                                                       57/57
Activating init script /etc/init.d/omd
New default version is 1.30.
error reading information on service httpd: No such file or directory
Note: Forwarding request to 'systemctl enable httpd.service'.
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
  Verifying  : graphviz-2.30.1-19.el7.x86_64                                                                                                                                 1/57
  Verifying  : perl-Digest-1.17-245.el7.noarch                                                                                                                               2/57
  Verifying  : mailcap-2.1.41-2.el7.noarch                                                                                                                                   3/57
  Verifying  : 2:xinetd-2.3.15-12.el7.x86_64                                                                                                                                 4/57
  Verifying  : perl-IO-Compress-2.061-2.el7.noarch                                                                                                                           5/57
  Verifying  : libXaw-1.0.12-5.el7.x86_64                                                                                                                                    6/57
  Verifying  : perl-Locale-Maketext-1.23-3.el7.noarch                                                                                                                        7/57
  Verifying  : libmcrypt-2.5.8-13.el7.x86_64                                                                                                                                 8/57
  Verifying  : fping-3.10-4.el7.x86_64                                                                                                                                       9/57
  Verifying  : 1:perl-Locale-Maketext-Simple-0.21-286.el7.noarch                                                                                                            10/57
  Verifying  : httpd-2.4.6-40.el7.centos.4.x86_64                                                                                                                           11/57
  Verifying  : dialog-1.2-4.20130523.el7.x86_64                                                                                                                             12/57
  Verifying  : perl-DBD-MySQL-4.023-5.el7.x86_64                                                                                                                            13/57
  Verifying  : perl-Net-Daemon-0.48-5.el7.noarch                                                                                                                            14/57
  Verifying  : apr-1.4.8-3.el7.x86_64                                                                                                                                       15/57
  Verifying  : perl-Digest-MD5-2.52-3.el7.x86_64                                                                                                                            16/57
  Verifying  : xerces-c-3.1.1-8.el7_2.x86_64                                                                                                                                17/57
  Verifying  : perl-PlRPC-0.2020-14.el7.noarch                                                                                                                              18/57
  Verifying  : freeradius-utils-3.0.4-6.el7.x86_64                                                                                                                          19/57
  Verifying  : t1lib-5.1.2-14.el7.x86_64                                                                                                                                    20/57
  Verifying  : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64                                                                                                                   21/57
  Verifying  : 1:net-snmp-agent-libs-5.7.2-24.el7_2.1.x86_64                                                                                                                22/57
  Verifying  : 1:mariadb-server-5.5.47-1.el7_2.x86_64                                                                                                                       23/57
  Verifying  : 1:mariadb-5.5.47-1.el7_2.x86_64                                                                                                                              24/57
  Verifying  : 1:net-snmp-utils-5.7.2-24.el7_2.1.x86_64                                                                                                                     25/57
  Verifying  : perl-Net-SNMP-6.0.1-7.el7.noarch                                                                                                                             26/57
  Verifying  : boost-program-options-1.53.0-25.el7.x86_64                                                                                                                   27/57
  Verifying  : perl-Socket6-0.23-15.el7.x86_64                                                                                                                              28/57
  Verifying  : graphviz-gd-2.30.1-19.el7.x86_64                                                                                                                             29/57
  Verifying  : perl-Data-Dumper-2.145-3.el7.x86_64                                                                                                                          30/57
  Verifying  : apr-util-1.5.2-6.el7.x86_64                                                                                                                                  31/57
  Verifying  : php-mbstring-5.4.16-36.1.el7_2.1.x86_64                                                                                                                      32/57
  Verifying  : php-gd-5.4.16-36.1.el7_2.1.x86_64                                                                                                                            33/57
  Verifying  : 1:perl-IO-Zlib-1.10-286.el7.noarch                                                                                                                           34/57
  Verifying  : xorg-x11-server-Xvfb-1.17.2-10.el7.x86_64                                                                                                                    35/57
  Verifying  : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64                                                                                                                  36/57
  Verifying  : php-pdo-5.4.16-36.1.el7_2.1.x86_64                                                                                                                           37/57
  Verifying  : freeradius-3.0.4-6.el7.x86_64                                                                                                                                38/57
  Verifying  : php-common-5.4.16-36.1.el7_2.1.x86_64                                                                                                                        39/57
  Verifying  : 1:perl-Digest-SHA-5.85-3.el7.x86_64                                                                                                                          40/57
  Verifying  : perl-Digest-SHA1-2.13-9.el7.x86_64                                                                                                                           41/57
  Verifying  : patch-2.7.1-8.el7.x86_64                                                                                                                                     42/57
  Verifying  : omd-1.30-el7-35.x86_64                                                                                                                                       43/57
  Verifying  : mod_fcgid-2.3.9-4.el7.x86_64                                                                                                                                 44/57
  Verifying  : 1:net-snmp-5.7.2-24.el7_2.1.x86_64                                                                                                                           45/57
  Verifying  : tncfhh-utils-0.8.3-16.el7.x86_64                                                                                                                             46/57
  Verifying  : perl-Digest-HMAC-1.03-5.el7.noarch                                                                                                                           47/57
  Verifying  : httpd-tools-2.4.6-40.el7.centos.4.x86_64                                                                                                                     48/57
  Verifying  : tncfhh-0.8.3-16.el7.x86_64                                                                                                                                   49/57
  Verifying  : uuid-1.6.2-26.el7.x86_64                                                                                                                                     50/57
  Verifying  : log4cxx-0.10.0-16.el7.x86_64                                                                                                                                 51/57
  Verifying  : php-cli-5.4.16-36.1.el7_2.1.x86_64                                                                                                                           52/57
  Verifying  : libzip-0.10.1-8.el7.x86_64                                                                                                                                   53/57
  Verifying  : php-5.4.16-36.1.el7_2.1.x86_64                                                                                                                               54/57
  Verifying  : perl-Crypt-DES-2.05-20.el7.x86_64                                                                                                                            55/57
  Verifying  : perl-DBI-1.627-4.el7.x86_64                                                                                                                                  56/57
  Verifying  : tncfhh-libs-0.8.3-16.el7.x86_64                                                                                                                              57/57

Installed:
  omd-1.30.x86_64 0:el7-35

Dependency Installed:
  apr.x86_64 0:1.4.8-3.el7                                apr-util.x86_64 0:1.5.2-6.el7                                 boost-program-options.x86_64 0:1.53.0-25.el7
  dialog.x86_64 0:1.2-4.20130523.el7                      fping.x86_64 0:3.10-4.el7                                     freeradius.x86_64 0:3.0.4-6.el7
  freeradius-utils.x86_64 0:3.0.4-6.el7                   graphviz.x86_64 0:2.30.1-19.el7                               graphviz-gd.x86_64 0:2.30.1-19.el7
  httpd.x86_64 0:2.4.6-40.el7.centos.4                    httpd-tools.x86_64 0:2.4.6-40.el7.centos.4                    libXaw.x86_64 0:1.0.12-5.el7
  libmcrypt.x86_64 0:2.5.8-13.el7                         libzip.x86_64 0:0.10.1-8.el7                                  log4cxx.x86_64 0:0.10.0-16.el7
  mailcap.noarch 0:2.1.41-2.el7                           mariadb.x86_64 1:5.5.47-1.el7_2                               mariadb-server.x86_64 1:5.5.47-1.el7_2
  mod_fcgid.x86_64 0:2.3.9-4.el7                          net-snmp.x86_64 1:5.7.2-24.el7_2.1                            net-snmp-agent-libs.x86_64 1:5.7.2-24.el7_2.1
  net-snmp-utils.x86_64 1:5.7.2-24.el7_2.1                patch.x86_64 0:2.7.1-8.el7                                    perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7
  perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7             perl-Crypt-DES.x86_64 0:2.05-20.el7                           perl-DBD-MySQL.x86_64 0:4.023-5.el7
  perl-DBI.x86_64 0:1.627-4.el7                           perl-Data-Dumper.x86_64 0:2.145-3.el7                         perl-Digest.noarch 0:1.17-245.el7
  perl-Digest-HMAC.noarch 0:1.03-5.el7                    perl-Digest-MD5.x86_64 0:2.52-3.el7                           perl-Digest-SHA.x86_64 1:5.85-3.el7
  perl-Digest-SHA1.x86_64 0:2.13-9.el7                    perl-IO-Compress.noarch 0:2.061-2.el7                         perl-IO-Zlib.noarch 1:1.10-286.el7
  perl-Locale-Maketext.noarch 0:1.23-3.el7                perl-Locale-Maketext-Simple.noarch 1:0.21-286.el7             perl-Net-Daemon.noarch 0:0.48-5.el7
  perl-Net-SNMP.noarch 0:6.0.1-7.el7                      perl-PlRPC.noarch 0:0.2020-14.el7                             perl-Socket6.x86_64 0:0.23-15.el7
  php.x86_64 0:5.4.16-36.1.el7_2.1                        php-cli.x86_64 0:5.4.16-36.1.el7_2.1                          php-common.x86_64 0:5.4.16-36.1.el7_2.1
  php-gd.x86_64 0:5.4.16-36.1.el7_2.1                     php-mbstring.x86_64 0:5.4.16-36.1.el7_2.1                     php-pdo.x86_64 0:5.4.16-36.1.el7_2.1
  t1lib.x86_64 0:5.1.2-14.el7                             tncfhh.x86_64 0:0.8.3-16.el7                                  tncfhh-libs.x86_64 0:0.8.3-16.el7
  tncfhh-utils.x86_64 0:0.8.3-16.el7                      uuid.x86_64 0:1.6.2-26.el7                                    xerces-c.x86_64 0:3.1.1-8.el7_2
  xinetd.x86_64 2:2.3.15-12.el7                           xorg-x11-server-Xvfb.x86_64 0:1.17.2-10.el7

Complete!
[root@nagios ~]# service mariadb start
Redirecting to /bin/systemctl start  mariadb.service
[root@nagios ~]# mysql_secure_installation
/usr/bin/mysql_secure_installation: line 379: find_mysql_client: command not found

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!

In order to log into MariaDB to secure it, we'll need the current
password for the root user.  If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.

Set root password? [Y/n]
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
 ... Success!


By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them.  This is intended only for testing, and to make the installation
go a bit smoother.  You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n]
 ... Success!

Normally, root should only be allowed to connect from 'localhost'.  This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n]
 ... Success!

By default, MariaDB comes with a database named 'test' that anyone can
access.  This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n]
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n]
 ... Success!

Cleaning up...

All done!  If you've completed all of the above steps, your MariaDB
installation should now be secure.

Thanks for using MariaDB!
[root@nagios ~]#
[root@nagios ~]#
[root@nagios ~]#
[root@nagios ~]#
[root@nagios ~]#
[root@nagios ~]# omd create monitoring
Adding /omd/sites/monitoring/tmp to /etc/fstab.
Creating temporary filesystem /omd/sites/monitoring/tmp...OK
Restarting Apache...OK
Created new site monitoring with version 1.30.

  The site can be started with omd start monitoring.
  The default web UI is available at http://nagios.vm.domain.com/monitoring/
  The admin user for the web applications is omdadmin with password omd.
  Please do a su - monitoring for administration of this site.

[root@nagios ~]# omd start monitoring
Starting rrdcached...OK
Starting npcd...OK
Starting nagios...OK
Starting dedicated Apache for site monitoring...OK
Initializing Crontab...OK
Redirecting to /bin/systemctl stop  firewalld.service
[root@nagios ~]# service httpd restart
Redirecting to /bin/systemctl restart  httpd.service
[root@nagios ~]# omd stop monitoring
Removing Crontab...OK
Stopping dedicated Apache for site monitoring....OK
Stopping nagios....OK
Stopping npcd...OK
Stopping rrdcached...waiting for termination...OK
[root@nagios ~]# omd start monitoring
Starting rrdcached...OK
Starting npcd...OK
Starting nagios...OK
Starting dedicated Apache for site monitoring...OK
Initializing Crontab...OK
[root@nagios ~]# omd status
Doing 'status' on site monitoring:
rrdcached:      running
npcd:           running
nagios:         running
apache:         running
crontab:        running
-----------------------
Overall state:  running
ASKER CERTIFIED SOLUTION
Dan Craciun
IT Consultant

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros