0% found this document useful (0 votes)
124 views20 pages

AWS EC2 SSH and HTTPD Setup Guide

The document details the configuration and installation of services on an Amazon EC2 instance. It shows the authentication to the instance, updating packages, installing Apache HTTP Server version 2.2 and 2.4, checking dependencies, and attempting to install the Nagios monitoring system along with related plugins. Key steps include authenticating with an SSH key, updating all packages, installing Apache 2.2 and 2.4, verifying dependencies between packages, and resolving dependencies to install Nagios.

Uploaded by

Rajesh k
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
124 views20 pages

AWS EC2 SSH and HTTPD Setup Guide

The document details the configuration and installation of services on an Amazon EC2 instance. It shows the authentication to the instance, updating packages, installing Apache HTTP Server version 2.2 and 2.4, checking dependencies, and attempting to install the Nagios monitoring system along with related plugins. Key steps include authenticating with an SSH key, updating all packages, installing Apache 2.2 and 2.4, verifying dependencies between packages, and resolving dependencies to install Nagios.

Uploaded by

Rajesh k
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 20

Authenticating with public key "Imported-Openssh-Key: E:\Devops Practise\AWS-

Keys\mykey.pem"
+--------------------------------------------------------------------+
� � MobaXterm 11.1 � �
� (SSH client, X-server and networking tools) �
� �
� ? SSH session to ec2-user@3.17.135.68 �
� � SSH compression : ? �
� � SSH-browser : ? �
� � X11-forwarding : ? (disabled or not supported by server) �
� � DISPLAY : 192.168.1.6:0.0 �
� �
� ? For more info, ctrl+click on help or visit our website �
+--------------------------------------------------------------------+

__| __|_ )
_| ( / Amazon Linux AMI
___|\___|___|

https://aws.amazon.com/amazon-linux-ami/2018.03-release-notes/
12 package(s) needed for security, out of 19 available
Run "sudo yum update" to apply all updates.
[ec2-user@ip-172-31-24-13 ~]$
[ec2-user@ip-172-31-24-13 ~]$ sudo yum update
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main
| 2.1 kB 00:00:00
amzn-updates
| 2.5 kB 00:00:00
Resolving Dependencies

Updated:
amazon-ssm-agent.x86_64 0:2.3.274.0-1.amzn1 aws-cfn-bootstrap.noarch 0:1.4-
31.22.amzn1 aws-cli.noarch 0:1.16.102-1.50.amzn1 ca-certificates.noarch
0:2018.2.22-65.1.20.amzn1
curl.x86_64 0:7.61.1-7.91.amzn1 file.x86_64 0:5.34-3.37.amzn1
file-libs.x86_64 0:5.34-3.37.amzn1 glibc.x86_64 0:2.17-260.175.amzn1
glibc-common.x86_64 0:2.17-260.175.amzn1 krb5-libs.x86_64 0:1.15.1-
34.44.amzn1 libcurl.x86_64 0:7.61.1-7.91.amzn1 openssl.x86_64
1:1.0.2k-16.148.amzn1
perl-Getopt-Long.noarch 0:2.40-3.6.amzn1 python27.x86_64 0:2.7.16-1.125.amzn1
python27-botocore.noarch 0:1.12.92-2.69.amzn1 python27-devel.x86_64 0:2.7.16-
1.125.amzn1
python27-libs.x86_64 0:2.7.16-1.125.amzn1 python27-urllib3.noarch 0:1.24.1-
1.6.amzn1

Complete!
[ec2-user@ip-172-31-24-13 ~]$ sudo yum install httpd -y
Loaded plugins: priorities, update-motd, upgrade-helper
Resolving Dependencies
Installed:
httpd.x86_64 0:2.2.34-1.16.amzn1

Dependency Installed:
apr.x86_64 0:1.5.2-5.13.amzn1 apr-util.x86_64 0:1.5.4-6.18.amzn1
apr-util-ldap.x86_64 0:1.5.4-6.18.amzn1 httpd-tools.x86_64 0:2.2.34-
1.16.amzn1
Complete!
[ec2-user@ip-172-31-24-13 ~]$ sudo touch /etc/yum.repos.d/rpmfind.repo
[ec2-user@ip-172-31-24-13 ~]$ sudo vi /etc/yum.repos.d/rpmfind.repo
[ec2-user@ip-172-31-24-13 ~]$ yum repolist
Loaded plugins: priorities, update-motd, upgrade-helper
rpmfind
| 4.7 kB 00:00:00
(1/3): rpmfind/group_gz
| 88 kB 00:00:02
(2/3): rpmfind/updateinfo
| 1.0 MB 00:00:02
(3/3): rpmfind/primary_db
| 6.6 MB 00:00:01
819 packages excluded due to repository priority protections
repo id
repo name
status
amzn-main/latest
amzn-main-Base
5,934
amzn-updates/latest
amzn-updates-Base
2,055
rpmfind
Rpmfind repository
12,199+819
repolist: 20,188
[ec2-user@ip-172-31-24-13 ~]$ sudo yum install nagios nagios-common nagios-plugins-
all
Loaded plugins: priorities, update-motd, upgrade-helper
819 packages excluded due to repository priority protections
Resolving Dependencies
[ec2-user@ip-172-31-24-13 ~]$ yum list installed | grep httpd
httpd.x86_64 2.2.34-1.16.amzn1 @amzn-main
httpd-tools.x86_64 2.2.34-1.16.amzn1 @amzn-main
[ec2-user@ip-172-31-24-13 ~]$ rpm -q --whatrequires httpd
no package requires httpd
[ec2-user@ip-172-31-24-13 ~]$ rpm -q --whatrequires httpd-tools
httpd-2.2.34-1.16.amzn1.x86_64
[ec2-user@ip-172-31-24-13 ~]$
[ec2-user@ip-172-31-24-13 ~]$ rpm -qa | grep httpd-tools-2.2.34-1.16.amzn1.x86_64
httpd-tools-2.2.34-1.16.amzn1.x86_64
[ec2-user@ip-172-31-24-13 ~]$ sudo yum remove httpd-tools-2.2.34-1.16.amzn1.x86_64
Loaded plugins: priorities, update-motd, upgrade-helper
Resolving Dependencies
--> Running transaction check
---> Package httpd-tools.x86_64 0:2.2.34-1.16.amzn1 will be erased
--> Processing Dependency: httpd-tools = 2.2.34-1.16.amzn1 for package: httpd-
2.2.34-1.16.amzn1.x86_64
--> Running transaction check
---> Package httpd.x86_64 0:2.2.34-1.16.amzn1 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================
===================================================================================
======================
Package Arch
Version Repository
Size
===================================================================================
===================================================================================
======================
Removing:
httpd-tools x86_64
2.2.34-1.16.amzn1 @amzn-main
135 k
Removing for dependencies:
httpd x86_64
2.2.34-1.16.amzn1 @amzn-main
3.1 M

Transaction Summary
===================================================================================
===================================================================================
======================
Remove 1 Package (+1 Dependent package)

Installed size: 3.2 M


Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : httpd-2.2.34-1.16.amzn1.x86_64
1/2
Erasing : httpd-tools-2.2.34-1.16.amzn1.x86_64
2/2
Verifying : httpd-tools-2.2.34-1.16.amzn1.x86_64
1/2
Verifying : httpd-2.2.34-1.16.amzn1.x86_64
2/2

Removed:
httpd-tools.x86_64 0:2.2.34-1.16.amzn1

Dependency Removed:
httpd.x86_64 0:2.2.34-1.16.amzn1

Complete!
[ec2-user@ip-172-31-24-13 ~]$ sudo yum install -y httpd24
Loaded plugins: priorities, update-motd, upgrade-helper
819 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package httpd24.x86_64 0:2.4.38-1.86.amzn1 will be installed
--> Processing Dependency: httpd24-tools = 2.4.38-1.86.amzn1 for package: httpd24-
2.4.38-1.86.amzn1.x86_64
--> Running transaction check
---> Package httpd24-tools.x86_64 0:2.4.38-1.86.amzn1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================
===================================================================================
======================
Package Arch
Version Repository
Size
===================================================================================
===================================================================================
======================
Installing:
httpd24 x86_64
2.4.38-1.86.amzn1 amzn-updates
1.6 M
Installing for dependencies:
httpd24-tools x86_64
2.4.38-1.86.amzn1 amzn-updates
91 k

Transaction Summary
===================================================================================
===================================================================================
======================
Install 1 Package (+1 Dependent package)

Total download size: 1.6 M


Installed size: 4.3 M
Downloading packages:
(1/2): httpd24-tools-2.4.38-1.86.amzn1.x86_64.rpm
| 91 kB 00:00:00
(2/2): httpd24-2.4.38-1.86.amzn1.x86_64.rpm
| 1.6 MB 00:00:00
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
----------------------
Total
7.1 MB/s | 1.6 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : httpd24-tools-2.4.38-1.86.amzn1.x86_64
1/2
Installing : httpd24-2.4.38-1.86.amzn1.x86_64
2/2
Verifying : httpd24-2.4.38-1.86.amzn1.x86_64
1/2
Verifying : httpd24-tools-2.4.38-1.86.amzn1.x86_64
2/2

Installed:
httpd24.x86_64 0:2.4.38-1.86.amzn1

Dependency Installed:
httpd24-tools.x86_64 0:2.4.38-1.86.amzn1

Complete!
[ec2-user@ip-172-31-24-13 ~]$ sudo yum install nagios nagios-common nagios-plugins-
all
Loaded plugins: priorities, update-motd, upgrade-helper
819 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package nagios.x86_64 0:3.5.1-2.10.amzn1 will be installed
--> Processing Dependency: php for package: nagios-3.5.1-2.10.amzn1.x86_64
--> Processing Dependency: mailx for package: nagios-3.5.1-2.10.amzn1.x86_64
--> Processing Dependency: libgd.so.2()(64bit) for package: nagios-3.5.1-
2.10.amzn1.x86_64
---> Package nagios-common.x86_64 0:3.5.1-2.10.amzn1 will be installed
---> Package nagios-plugins-all.x86_64 0:1.4.16-5.8.amzn1 will be installed
--> Processing Dependency: nagios-plugins-cluster for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-wave for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-users for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-ups for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-time for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-tcp for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-swap for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-ssh for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-snmp for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-smtp for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-rpc for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-real for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-procs for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-ping for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-pgsql for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-overcr for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-oracle for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-nwstat for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-ntp-perl for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-ntp for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-nt for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-nagios for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-mysql for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-mrtgtraf for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-mrtg for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-mailq for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-log for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-load for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-ldap for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-ircd for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-ide_smart for package: nagios-plugins-
all-1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-icmp for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-http for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-hpjd for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-fping for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-flexlm for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-file_age for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-dummy for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-dns for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-disk for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-dig for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-dhcp for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-by_ssh for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-breeze for package: nagios-plugins-all-
1.4.16-5.8.amzn1.x86_64
--> Running transaction check
---> Package gd.x86_64 0:2.0.35-11.10.amzn1 will be installed
--> Processing Dependency: libXpm.so.4()(64bit) for package: gd-2.0.35-
11.10.amzn1.x86_64
---> Package mailx.x86_64 0:12.4-8.8.amzn1 will be installed
---> Package nagios-plugins-breeze.x86_64 0:1.4.16-5.8.amzn1 will be installed
--> Processing Dependency: nagios-plugins = 1.4.16-5.8.amzn1 for package: nagios-
plugins-breeze-1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: nagios-plugins-perl for package: nagios-plugins-breeze-
1.4.16-5.8.amzn1.x86_64
---> Package nagios-plugins-by_ssh.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-cluster.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-dhcp.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-dig.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-disk.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-dns.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-dummy.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-file_age.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-flexlm.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-fping.x86_64 0:1.4.16-5.8.amzn1 will be installed
--> Processing Dependency: /usr/sbin/fping for package: nagios-plugins-fping-
1.4.16-5.8.amzn1.x86_64
---> Package nagios-plugins-hpjd.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-http.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-icmp.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-ide_smart.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-ircd.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-ldap.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-load.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-log.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-mailq.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-mrtg.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-mrtgtraf.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-mysql.x86_64 0:1.4.16-5.8.amzn1 will be installed
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_16)(64bit) for
package: nagios-plugins-mysql-1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: nagios-
plugins-mysql-1.4.16-5.8.amzn1.x86_64
---> Package nagios-plugins-nagios.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-nt.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-ntp.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-ntp-perl.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-nwstat.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-oracle.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-overcr.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-pgsql.x86_64 0:1.4.16-5.8.amzn1 will be installed
--> Processing Dependency: libpq.so.5()(64bit) for package: nagios-plugins-pgsql-
1.4.16-5.8.amzn1.x86_64
---> Package nagios-plugins-ping.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-procs.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-real.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-rpc.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-smtp.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-snmp.x86_64 0:1.4.16-5.8.amzn1 will be installed
--> Processing Dependency: /usr/bin/snmpgetnext for package: nagios-plugins-snmp-
1.4.16-5.8.amzn1.x86_64
--> Processing Dependency: /usr/bin/snmpget for package: nagios-plugins-snmp-
1.4.16-5.8.amzn1.x86_64
---> Package nagios-plugins-ssh.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-swap.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-tcp.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-time.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-ups.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-users.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-wave.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package php56.x86_64 0:5.6.40-1.142.amzn1 will be installed
--> Processing Dependency: php56-cli(x86-64) = 5.6.40-1.142.amzn1 for package:
php56-5.6.40-1.142.amzn1.x86_64
--> Processing Dependency: php56-common(x86-64) = 5.6.40-1.142.amzn1 for package:
php56-5.6.40-1.142.amzn1.x86_64
--> Processing Dependency: php56-common for package: php56-5.6.40-
1.142.amzn1.x86_64
--> Running transaction check
---> Package fping.x86_64 0:2.4b2-10.0.amzn1 will be installed
---> Package libXpm.x86_64 0:3.5.10-2.9.amzn1 will be installed
---> Package mysql55-libs.x86_64 0:5.5.62-1.23.amzn1 will be installed
---> Package nagios-plugins.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package nagios-plugins-perl.x86_64 0:1.4.16-5.8.amzn1 will be installed
---> Package net-snmp-utils.x86_64 1:5.5-54.1.20.amzn1 will be installed
--> Processing Dependency: net-snmp-libs = 1:5.5-54.1.20.amzn1 for package: 1:net-
snmp-utils-5.5-54.1.20.amzn1.x86_64
--> Processing Dependency: libnetsnmp.so.20()(64bit) for package: 1:net-snmp-utils-
5.5-54.1.20.amzn1.x86_64
---> Package php56-cli.x86_64 0:5.6.40-1.142.amzn1 will be installed
---> Package php56-common.x86_64 0:5.6.40-1.142.amzn1 will be installed
--> Processing Dependency: php56-process(x86-64) = 5.6.40-1.142.amzn1 for package:
php56-common-5.6.40-1.142.amzn1.x86_64
--> Processing Dependency: php56-xml(x86-64) = 5.6.40-1.142.amzn1 for package:
php56-common-5.6.40-1.142.amzn1.x86_64
--> Processing Dependency: php56-jsonc(x86-64) for package: php56-common-5.6.40-
1.142.amzn1.x86_64
---> Package postgresql8-libs.x86_64 0:8.4.20-5.52.amzn1 will be installed
--> Running transaction check
---> Package net-snmp-libs.x86_64 1:5.5-54.1.20.amzn1 will be installed
---> Package php56-jsonc.x86_64 0:1.3.10-1.20.amzn1 will be installed
---> Package php56-process.x86_64 0:5.6.40-1.142.amzn1 will be installed
---> Package php56-xml.x86_64 0:5.6.40-1.142.amzn1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================
===================================================================================
======================
Package Arch
Version Repository
Size
===================================================================================
===================================================================================
======================
Installing:
nagios x86_64
3.5.1-2.10.amzn1 amzn-main
2.2 M
nagios-common x86_64
3.5.1-2.10.amzn1 amzn-main
18 k
nagios-plugins-all x86_64
1.4.16-5.8.amzn1 amzn-main
13 k
Installing for dependencies:
fping x86_64
2.4b2-10.0.amzn1 amzn-main
33 k
gd x86_64
2.0.35-11.10.amzn1 amzn-main
155 k
libXpm x86_64
3.5.10-2.9.amzn1 amzn-main
54 k
mailx x86_64
12.4-8.8.amzn1 amzn-main
254 k
mysql55-libs x86_64
5.5.62-1.23.amzn1 amzn-updates
816 k
nagios-plugins x86_64
1.4.16-5.8.amzn1 amzn-main
233 k
nagios-plugins-breeze x86_64
1.4.16-5.8.amzn1 amzn-main
14 k
nagios-plugins-by_ssh x86_64
1.4.16-5.8.amzn1 amzn-main
37 k
nagios-plugins-cluster x86_64
1.4.16-5.8.amzn1 amzn-main
30 k
nagios-plugins-dhcp x86_64
1.4.16-5.8.amzn1 amzn-main
37 k
nagios-plugins-dig x86_64
1.4.16-5.8.amzn1 amzn-main
35 k
nagios-plugins-disk x86_64
1.4.16-5.8.amzn1 amzn-main
73 k
nagios-plugins-dns x86_64
1.4.16-5.8.amzn1 amzn-main
37 k
nagios-plugins-dummy x86_64
1.4.16-5.8.amzn1 amzn-main
27 k
nagios-plugins-file_age x86_64
1.4.16-5.8.amzn1 amzn-main
14 k
nagios-plugins-flexlm x86_64
1.4.16-5.8.amzn1 amzn-main
15 k
nagios-plugins-fping x86_64
1.4.16-5.8.amzn1 amzn-main
36 k
nagios-plugins-hpjd x86_64
1.4.16-5.8.amzn1 amzn-main
35 k
nagios-plugins-http x86_64
1.4.16-5.8.amzn1 amzn-main
81 k
nagios-plugins-icmp x86_64
1.4.16-5.8.amzn1 amzn-main
40 k
nagios-plugins-ide_smart x86_64
1.4.16-5.8.amzn1 amzn-main
32 k
nagios-plugins-ircd x86_64
1.4.16-5.8.amzn1 amzn-main
15 k
nagios-plugins-ldap x86_64
1.4.16-5.8.amzn1 amzn-main
35 k
nagios-plugins-load x86_64
1.4.16-5.8.amzn1 amzn-main
32 k
nagios-plugins-log x86_64
1.4.16-5.8.amzn1 amzn-main
15 k
nagios-plugins-mailq x86_64
1.4.16-5.8.amzn1 amzn-main
17 k
nagios-plugins-mrtg x86_64
1.4.16-5.8.amzn1 amzn-main
32 k
nagios-plugins-mrtgtraf x86_64
1.4.16-5.8.amzn1 amzn-main
32 k
nagios-plugins-mysql x86_64
1.4.16-5.8.amzn1 amzn-main
57 k
nagios-plugins-nagios x86_64
1.4.16-5.8.amzn1 amzn-main
33 k
nagios-plugins-nt x86_64
1.4.16-5.8.amzn1 amzn-main
38 k
nagios-plugins-ntp x86_64
1.4.16-5.8.amzn1 amzn-main
85 k
nagios-plugins-ntp-perl x86_64
1.4.16-5.8.amzn1 amzn-main
18 k
nagios-plugins-nwstat x86_64
1.4.16-5.8.amzn1 amzn-main
41 k
nagios-plugins-oracle x86_64
1.4.16-5.8.amzn1 amzn-main
15 k
nagios-plugins-overcr x86_64
1.4.16-5.8.amzn1 amzn-main
34 k
nagios-plugins-perl x86_64
1.4.16-5.8.amzn1 amzn-main
14 k
nagios-plugins-pgsql x86_64
1.4.16-5.8.amzn1 amzn-main
34 k
nagios-plugins-ping x86_64
1.4.16-5.8.amzn1 amzn-main
38 k
nagios-plugins-procs x86_64
1.4.16-5.8.amzn1 amzn-main
71 k
nagios-plugins-real x86_64
1.4.16-5.8.amzn1 amzn-main
34 k
nagios-plugins-rpc x86_64
1.4.16-5.8.amzn1 amzn-main
16 k
nagios-plugins-smtp x86_64
1.4.16-5.8.amzn1 amzn-main
74 k
nagios-plugins-snmp x86_64
1.4.16-5.8.amzn1 amzn-main
74 k
nagios-plugins-ssh x86_64
1.4.16-5.8.amzn1 amzn-main
33 k
nagios-plugins-swap x86_64
1.4.16-5.8.amzn1 amzn-main
33 k
nagios-plugins-tcp x86_64
1.4.16-5.8.amzn1 amzn-main
41 k
nagios-plugins-time x86_64
1.4.16-5.8.amzn1 amzn-main
33 k
nagios-plugins-ups x86_64
1.4.16-5.8.amzn1 amzn-main
36 k
nagios-plugins-users x86_64
1.4.16-5.8.amzn1 amzn-main
30 k
nagios-plugins-wave x86_64
1.4.16-5.8.amzn1 amzn-main
14 k
net-snmp-libs x86_64
1:5.5-54.1.20.amzn1 amzn-main
1.8 M
net-snmp-utils x86_64
1:5.5-54.1.20.amzn1 amzn-main
194 k
php56 x86_64
5.6.40-1.142.amzn1 amzn-updates
3.0 M
php56-cli x86_64
5.6.40-1.142.amzn1 amzn-updates
4.2 M
php56-common x86_64
5.6.40-1.142.amzn1 amzn-updates
1.4 M
php56-jsonc x86_64
1.3.10-1.20.amzn1 amzn-main
82 k
php56-process x86_64
5.6.40-1.142.amzn1 amzn-updates
100 k
php56-xml x86_64
5.6.40-1.142.amzn1 amzn-updates
345 k
postgresql8-libs x86_64
8.4.20-5.52.amzn1 amzn-main
239 k

Transaction Summary
===================================================================================
===================================================================================
======================
Install 3 Packages (+60 Dependent packages)

Total download size: 17 M


Installed size: 47 M
Is this ok [y/d/N]: y
Downloading packages:
(1/63): gd-2.0.35-11.10.amzn1.x86_64.rpm
| 155 kB 00:00:00
(2/63): fping-2.4b2-10.0.amzn1.x86_64.rpm
| 33 kB 00:00:00
(3/63): mailx-12.4-8.8.amzn1.x86_64.rpm
| 254 kB 00:00:00
(4/63): libXpm-3.5.10-2.9.amzn1.x86_64.rpm
| 54 kB 00:00:00
(5/63): nagios-common-3.5.1-2.10.amzn1.x86_64.rpm
| 18 kB 00:00:00
(6/63): mysql55-libs-5.5.62-1.23.amzn1.x86_64.rpm
| 816 kB 00:00:00
(7/63): nagios-plugins-1.4.16-5.8.amzn1.x86_64.rpm
| 233 kB 00:00:00
(8/63): nagios-3.5.1-2.10.amzn1.x86_64.rpm
| 2.2 MB 00:00:00
(9/63): nagios-plugins-all-1.4.16-5.8.amzn1.x86_64.rpm
| 13 kB 00:00:00
(10/63): nagios-plugins-by_ssh-1.4.16-5.8.amzn1.x86_64.rpm
| 37 kB 00:00:00
(11/63): nagios-plugins-cluster-1.4.16-5.8.amzn1.x86_64.rpm
| 30 kB 00:00:00
(12/63): nagios-plugins-dhcp-1.4.16-5.8.amzn1.x86_64.rpm
| 37 kB 00:00:00
(13/63): nagios-plugins-breeze-1.4.16-5.8.amzn1.x86_64.rpm
| 14 kB 00:00:00
(14/63): nagios-plugins-dig-1.4.16-5.8.amzn1.x86_64.rpm
| 35 kB 00:00:00
(15/63): nagios-plugins-disk-1.4.16-5.8.amzn1.x86_64.rpm
| 73 kB 00:00:00
(16/63): nagios-plugins-dns-1.4.16-5.8.amzn1.x86_64.rpm
| 37 kB 00:00:00
(17/63): nagios-plugins-dummy-1.4.16-5.8.amzn1.x86_64.rpm
| 27 kB 00:00:00
(18/63): nagios-plugins-file_age-1.4.16-5.8.amzn1.x86_64.rpm
| 14 kB 00:00:00
(19/63): nagios-plugins-flexlm-1.4.16-5.8.amzn1.x86_64.rpm
| 15 kB 00:00:00
(20/63): nagios-plugins-hpjd-1.4.16-5.8.amzn1.x86_64.rpm
| 35 kB 00:00:00
(21/63): nagios-plugins-fping-1.4.16-5.8.amzn1.x86_64.rpm
| 36 kB 00:00:00
(22/63): nagios-plugins-http-1.4.16-5.8.amzn1.x86_64.rpm
| 81 kB 00:00:00
(23/63): nagios-plugins-icmp-1.4.16-5.8.amzn1.x86_64.rpm
| 40 kB 00:00:00
(24/63): nagios-plugins-ide_smart-1.4.16-5.8.amzn1.x86_64.rpm
| 32 kB 00:00:00
(25/63): nagios-plugins-ircd-1.4.16-5.8.amzn1.x86_64.rpm
| 15 kB 00:00:00
(26/63): nagios-plugins-ldap-1.4.16-5.8.amzn1.x86_64.rpm
| 35 kB 00:00:00
(27/63): nagios-plugins-load-1.4.16-5.8.amzn1.x86_64.rpm
| 32 kB 00:00:00
(28/63): nagios-plugins-log-1.4.16-5.8.amzn1.x86_64.rpm
| 15 kB 00:00:00
(29/63): nagios-plugins-mailq-1.4.16-5.8.amzn1.x86_64.rpm
| 17 kB 00:00:00
(30/63): nagios-plugins-mrtg-1.4.16-5.8.amzn1.x86_64.rpm
| 32 kB 00:00:00
(31/63): nagios-plugins-mysql-1.4.16-5.8.amzn1.x86_64.rpm
| 57 kB 00:00:00
(32/63): nagios-plugins-mrtgtraf-1.4.16-5.8.amzn1.x86_64.rpm
| 32 kB 00:00:00
(33/63): nagios-plugins-nagios-1.4.16-5.8.amzn1.x86_64.rpm
| 33 kB 00:00:00
(34/63): nagios-plugins-nt-1.4.16-5.8.amzn1.x86_64.rpm
| 38 kB 00:00:00
(35/63): nagios-plugins-ntp-perl-1.4.16-5.8.amzn1.x86_64.rpm
| 18 kB 00:00:00
(36/63): nagios-plugins-nwstat-1.4.16-5.8.amzn1.x86_64.rpm
| 41 kB 00:00:00
(37/63): nagios-plugins-ntp-1.4.16-5.8.amzn1.x86_64.rpm
| 85 kB 00:00:00
(38/63): nagios-plugins-overcr-1.4.16-5.8.amzn1.x86_64.rpm
| 34 kB 00:00:00
(39/63): nagios-plugins-oracle-1.4.16-5.8.amzn1.x86_64.rpm
| 15 kB 00:00:00
(40/63): nagios-plugins-pgsql-1.4.16-5.8.amzn1.x86_64.rpm
| 34 kB 00:00:00
(41/63): nagios-plugins-perl-1.4.16-5.8.amzn1.x86_64.rpm
| 14 kB 00:00:00
(42/63): nagios-plugins-ping-1.4.16-5.8.amzn1.x86_64.rpm
| 38 kB 00:00:00
(43/63): nagios-plugins-procs-1.4.16-5.8.amzn1.x86_64.rpm
| 71 kB 00:00:00
(44/63): nagios-plugins-real-1.4.16-5.8.amzn1.x86_64.rpm
| 34 kB 00:00:00
(45/63): nagios-plugins-rpc-1.4.16-5.8.amzn1.x86_64.rpm
| 16 kB 00:00:00
(46/63): nagios-plugins-smtp-1.4.16-5.8.amzn1.x86_64.rpm
| 74 kB 00:00:00
(47/63): nagios-plugins-snmp-1.4.16-5.8.amzn1.x86_64.rpm
| 74 kB 00:00:00
(48/63): nagios-plugins-ssh-1.4.16-5.8.amzn1.x86_64.rpm
| 33 kB 00:00:00
(49/63): nagios-plugins-swap-1.4.16-5.8.amzn1.x86_64.rpm
| 33 kB 00:00:00
(50/63): nagios-plugins-tcp-1.4.16-5.8.amzn1.x86_64.rpm
| 41 kB 00:00:00
(51/63): nagios-plugins-ups-1.4.16-5.8.amzn1.x86_64.rpm
| 36 kB 00:00:00
(52/63): nagios-plugins-time-1.4.16-5.8.amzn1.x86_64.rpm
| 33 kB 00:00:00
(53/63): nagios-plugins-users-1.4.16-5.8.amzn1.x86_64.rpm
| 30 kB 00:00:00
(54/63): nagios-plugins-wave-1.4.16-5.8.amzn1.x86_64.rpm
| 14 kB 00:00:00
(55/63): net-snmp-libs-5.5-54.1.20.amzn1.x86_64.rpm
| 1.8 MB 00:00:00
(56/63): net-snmp-utils-5.5-54.1.20.amzn1.x86_64.rpm
| 194 kB 00:00:00
(57/63): php56-5.6.40-1.142.amzn1.x86_64.rpm
| 3.0 MB 00:00:00
(58/63): php56-cli-5.6.40-1.142.amzn1.x86_64.rpm
| 4.2 MB 00:00:00
(59/63): php56-process-5.6.40-1.142.amzn1.x86_64.rpm
| 100 kB 00:00:00
(60/63): php56-common-5.6.40-1.142.amzn1.x86_64.rpm
| 1.4 MB 00:00:00
(61/63): php56-xml-5.6.40-1.142.amzn1.x86_64.rpm
| 345 kB 00:00:00
(62/63): php56-jsonc-1.3.10-1.20.amzn1.x86_64.rpm
| 82 kB 00:00:00
(63/63): postgresql8-libs-8.4.20-5.52.amzn1.x86_64.rpm
| 239 kB 00:00:00
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
----------------------
Total
7.2 MB/s | 17 MB 00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : nagios-common-3.5.1-2.10.amzn1.x86_64
1/63
Installing : nagios-plugins-1.4.16-5.8.amzn1.x86_64
2/63
Installing : nagios-plugins-perl-1.4.16-5.8.amzn1.x86_64
3/63
Installing : nagios-plugins-ntp-perl-1.4.16-5.8.amzn1.x86_64
4/63
Installing : nagios-plugins-ircd-1.4.16-5.8.amzn1.x86_64
5/63
Installing : nagios-plugins-breeze-1.4.16-5.8.amzn1.x86_64
6/63
Installing : nagios-plugins-file_age-1.4.16-5.8.amzn1.x86_64
7/63
Installing : nagios-plugins-flexlm-1.4.16-5.8.amzn1.x86_64
8/63
Installing : nagios-plugins-mailq-1.4.16-5.8.amzn1.x86_64
9/63
Installing : nagios-plugins-rpc-1.4.16-5.8.amzn1.x86_64
10/63
Installing : nagios-plugins-wave-1.4.16-5.8.amzn1.x86_64
11/63
Installing : nagios-plugins-ups-1.4.16-5.8.amzn1.x86_64
12/63
Installing : nagios-plugins-by_ssh-1.4.16-5.8.amzn1.x86_64
13/63
Installing : nagios-plugins-mrtg-1.4.16-5.8.amzn1.x86_64
14/63
Installing : nagios-plugins-users-1.4.16-5.8.amzn1.x86_64
15/63
Installing : nagios-plugins-log-1.4.16-5.8.amzn1.x86_64
16/63
Installing : nagios-plugins-load-1.4.16-5.8.amzn1.x86_64
17/63
Installing : nagios-plugins-real-1.4.16-5.8.amzn1.x86_64
18/63
Installing : nagios-plugins-http-1.4.16-5.8.amzn1.x86_64
19/63
Installing : nagios-plugins-ide_smart-1.4.16-5.8.amzn1.x86_64
20/63
Installing : nagios-plugins-ping-1.4.16-5.8.amzn1.x86_64
21/63
Installing : nagios-plugins-cluster-1.4.16-5.8.amzn1.x86_64
22/63
Installing : nagios-plugins-tcp-1.4.16-5.8.amzn1.x86_64
23/63
Installing : nagios-plugins-overcr-1.4.16-5.8.amzn1.x86_64
24/63
Installing : nagios-plugins-smtp-1.4.16-5.8.amzn1.x86_64
25/63
Installing : nagios-plugins-nwstat-1.4.16-5.8.amzn1.x86_64
26/63
Installing : nagios-plugins-dns-1.4.16-5.8.amzn1.x86_64
27/63
Installing : nagios-plugins-ldap-1.4.16-5.8.amzn1.x86_64
28/63
Installing : nagios-plugins-disk-1.4.16-5.8.amzn1.x86_64
29/63
Installing : nagios-plugins-oracle-1.4.16-5.8.amzn1.x86_64
30/63
Installing : nagios-plugins-dhcp-1.4.16-5.8.amzn1.x86_64
31/63
Installing : nagios-plugins-nt-1.4.16-5.8.amzn1.x86_64
32/63
Installing : nagios-plugins-mrtgtraf-1.4.16-5.8.amzn1.x86_64
33/63
Installing : nagios-plugins-procs-1.4.16-5.8.amzn1.x86_64
34/63
Installing : nagios-plugins-swap-1.4.16-5.8.amzn1.x86_64
35/63
Installing : nagios-plugins-ssh-1.4.16-5.8.amzn1.x86_64
36/63
Installing : nagios-plugins-ntp-1.4.16-5.8.amzn1.x86_64
37/63
Installing : nagios-plugins-dig-1.4.16-5.8.amzn1.x86_64
38/63
Installing : nagios-plugins-nagios-1.4.16-5.8.amzn1.x86_64
39/63
Installing : nagios-plugins-dummy-1.4.16-5.8.amzn1.x86_64
40/63
Installing : nagios-plugins-time-1.4.16-5.8.amzn1.x86_64
41/63
Installing : nagios-plugins-hpjd-1.4.16-5.8.amzn1.x86_64
42/63
Installing : nagios-plugins-icmp-1.4.16-5.8.amzn1.x86_64
43/63
Installing : php56-jsonc-1.3.10-1.20.amzn1.x86_64
44/63
Installing : php56-cli-5.6.40-1.142.amzn1.x86_64
45/63
Installing : php56-xml-5.6.40-1.142.amzn1.x86_64
46/63
Installing : php56-common-5.6.40-1.142.amzn1.x86_64
47/63
Installing : php56-process-5.6.40-1.142.amzn1.x86_64
48/63
Installing : php56-5.6.40-1.142.amzn1.x86_64
49/63
Installing : libXpm-3.5.10-2.9.amzn1.x86_64
50/63
Installing : gd-2.0.35-11.10.amzn1.x86_64
51/63
Installing : postgresql8-libs-8.4.20-5.52.amzn1.x86_64
52/63
Installing : nagios-plugins-pgsql-1.4.16-5.8.amzn1.x86_64
53/63
Installing : mailx-12.4-8.8.amzn1.x86_64
54/63
Installing : 1:net-snmp-libs-5.5-54.1.20.amzn1.x86_64
55/63
Installing : 1:net-snmp-utils-5.5-54.1.20.amzn1.x86_64
56/63
Installing : nagios-plugins-snmp-1.4.16-5.8.amzn1.x86_64
57/63
Installing : fping-2.4b2-10.0.amzn1.x86_64
58/63
Installing : nagios-plugins-fping-1.4.16-5.8.amzn1.x86_64
59/63
Installing : mysql55-libs-5.5.62-1.23.amzn1.x86_64
60/63
Installing : nagios-plugins-mysql-1.4.16-5.8.amzn1.x86_64
61/63
Installing : nagios-plugins-all-1.4.16-5.8.amzn1.x86_64
62/63
Installing : nagios-3.5.1-2.10.amzn1.x86_64
63/63
Verifying : nagios-plugins-ups-1.4.16-5.8.amzn1.x86_64
1/63
Verifying : nagios-plugins-by_ssh-1.4.16-5.8.amzn1.x86_64
2/63
Verifying : nagios-plugins-ntp-perl-1.4.16-5.8.amzn1.x86_64
3/63
Verifying : mysql55-libs-5.5.62-1.23.amzn1.x86_64
4/63
Verifying : nagios-plugins-pgsql-1.4.16-5.8.amzn1.x86_64
5/63
Verifying : nagios-plugins-mrtg-1.4.16-5.8.amzn1.x86_64
6/63
Verifying : nagios-plugins-ircd-1.4.16-5.8.amzn1.x86_64
7/63
Verifying : nagios-plugins-users-1.4.16-5.8.amzn1.x86_64
8/63
Verifying : php56-process-5.6.40-1.142.amzn1.x86_64
9/63
Verifying : nagios-plugins-log-1.4.16-5.8.amzn1.x86_64
10/63
Verifying : nagios-plugins-load-1.4.16-5.8.amzn1.x86_64
11/63
Verifying : nagios-plugins-real-1.4.16-5.8.amzn1.x86_64
12/63
Verifying : nagios-3.5.1-2.10.amzn1.x86_64
13/63
Verifying : nagios-plugins-breeze-1.4.16-5.8.amzn1.x86_64
14/63
Verifying : php56-jsonc-1.3.10-1.20.amzn1.x86_64
15/63
Verifying : nagios-plugins-http-1.4.16-5.8.amzn1.x86_64
16/63
Verifying : nagios-plugins-file_age-1.4.16-5.8.amzn1.x86_64
17/63
Verifying : php56-common-5.6.40-1.142.amzn1.x86_64
18/63
Verifying : nagios-plugins-ide_smart-1.4.16-5.8.amzn1.x86_64
19/63
Verifying : nagios-plugins-ping-1.4.16-5.8.amzn1.x86_64
20/63
Verifying : nagios-plugins-flexlm-1.4.16-5.8.amzn1.x86_64
21/63
Verifying : php56-cli-5.6.40-1.142.amzn1.x86_64
22/63
Verifying : nagios-plugins-all-1.4.16-5.8.amzn1.x86_64
23/63
Verifying : nagios-plugins-cluster-1.4.16-5.8.amzn1.x86_64
24/63
Verifying : nagios-plugins-mailq-1.4.16-5.8.amzn1.x86_64
25/63
Verifying : fping-2.4b2-10.0.amzn1.x86_64
26/63
Verifying : nagios-plugins-tcp-1.4.16-5.8.amzn1.x86_64
27/63
Verifying : nagios-plugins-overcr-1.4.16-5.8.amzn1.x86_64
28/63
Verifying : php56-5.6.40-1.142.amzn1.x86_64
29/63
Verifying : nagios-plugins-smtp-1.4.16-5.8.amzn1.x86_64
30/63
Verifying : 1:net-snmp-libs-5.5-54.1.20.amzn1.x86_64
31/63
Verifying : nagios-plugins-fping-1.4.16-5.8.amzn1.x86_64
32/63
Verifying : nagios-plugins-1.4.16-5.8.amzn1.x86_64
33/63
Verifying : php56-xml-5.6.40-1.142.amzn1.x86_64
34/63
Verifying : nagios-plugins-nwstat-1.4.16-5.8.amzn1.x86_64
35/63
Verifying : nagios-plugins-mysql-1.4.16-5.8.amzn1.x86_64
36/63
Verifying : mailx-12.4-8.8.amzn1.x86_64
37/63
Verifying : nagios-common-3.5.1-2.10.amzn1.x86_64
38/63
Verifying : nagios-plugins-dns-1.4.16-5.8.amzn1.x86_64
39/63
Verifying : nagios-plugins-ldap-1.4.16-5.8.amzn1.x86_64
40/63
Verifying : nagios-plugins-disk-1.4.16-5.8.amzn1.x86_64
41/63
Verifying : nagios-plugins-rpc-1.4.16-5.8.amzn1.x86_64
42/63
Verifying : postgresql8-libs-8.4.20-5.52.amzn1.x86_64
43/63
Verifying : nagios-plugins-oracle-1.4.16-5.8.amzn1.x86_64
44/63
Verifying : nagios-plugins-dhcp-1.4.16-5.8.amzn1.x86_64
45/63
Verifying : nagios-plugins-nt-1.4.16-5.8.amzn1.x86_64
46/63
Verifying : nagios-plugins-mrtgtraf-1.4.16-5.8.amzn1.x86_64
47/63
Verifying : nagios-plugins-procs-1.4.16-5.8.amzn1.x86_64
48/63
Verifying : nagios-plugins-swap-1.4.16-5.8.amzn1.x86_64
49/63
Verifying : nagios-plugins-wave-1.4.16-5.8.amzn1.x86_64
50/63
Verifying : nagios-plugins-snmp-1.4.16-5.8.amzn1.x86_64
51/63
Verifying : nagios-plugins-ssh-1.4.16-5.8.amzn1.x86_64
52/63
Verifying : nagios-plugins-ntp-1.4.16-5.8.amzn1.x86_64
53/63
Verifying : nagios-plugins-dig-1.4.16-5.8.amzn1.x86_64
54/63
Verifying : nagios-plugins-nagios-1.4.16-5.8.amzn1.x86_64
55/63
Verifying : 1:net-snmp-utils-5.5-54.1.20.amzn1.x86_64
56/63
Verifying : nagios-plugins-dummy-1.4.16-5.8.amzn1.x86_64
57/63
Verifying : nagios-plugins-time-1.4.16-5.8.amzn1.x86_64
58/63
Verifying : gd-2.0.35-11.10.amzn1.x86_64
59/63
Verifying : nagios-plugins-hpjd-1.4.16-5.8.amzn1.x86_64
60/63
Verifying : nagios-plugins-icmp-1.4.16-5.8.amzn1.x86_64
61/63
Verifying : nagios-plugins-perl-1.4.16-5.8.amzn1.x86_64
62/63
Verifying : libXpm-3.5.10-2.9.amzn1.x86_64
63/63

Installed:
nagios.x86_64 0:3.5.1-2.10.amzn1 nagios-common.x86_64
0:3.5.1-2.10.amzn1 nagios-plugins-all.x86_64 0:1.4.16-
5.8.amzn1

Dependency Installed:
fping.x86_64 0:2.4b2-10.0.amzn1 gd.x86_64 0:2.0.35-
11.10.amzn1 libXpm.x86_64 0:3.5.10-2.9.amzn1
mailx.x86_64 0:12.4-8.8.amzn1 mysql55-libs.x86_64
0:5.5.62-1.23.amzn1 nagios-plugins.x86_64 0:1.4.16-5.8.amzn1
nagios-plugins-breeze.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-
by_ssh.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-cluster.x86_64
0:1.4.16-5.8.amzn1
nagios-plugins-dhcp.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-
dig.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-disk.x86_64 0:1.4.16-
5.8.amzn1
nagios-plugins-dns.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-
dummy.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-file_age.x86_64
0:1.4.16-5.8.amzn1
nagios-plugins-flexlm.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-
fping.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-hpjd.x86_64 0:1.4.16-
5.8.amzn1
nagios-plugins-http.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-
icmp.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-ide_smart.x86_64
0:1.4.16-5.8.amzn1
nagios-plugins-ircd.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-
ldap.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-load.x86_64 0:1.4.16-
5.8.amzn1
nagios-plugins-log.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-
mailq.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-mrtg.x86_64 0:1.4.16-
5.8.amzn1
nagios-plugins-mrtgtraf.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-
mysql.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-nagios.x86_64 0:1.4.16-
5.8.amzn1
nagios-plugins-nt.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-
ntp.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-ntp-perl.x86_64
0:1.4.16-5.8.amzn1
nagios-plugins-nwstat.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-
oracle.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-overcr.x86_64 0:1.4.16-
5.8.amzn1
nagios-plugins-perl.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-
pgsql.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-ping.x86_64 0:1.4.16-
5.8.amzn1
nagios-plugins-procs.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-
real.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-rpc.x86_64 0:1.4.16-
5.8.amzn1
nagios-plugins-smtp.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-
snmp.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-ssh.x86_64 0:1.4.16-
5.8.amzn1
nagios-plugins-swap.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-
tcp.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-time.x86_64 0:1.4.16-
5.8.amzn1
nagios-plugins-ups.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-
users.x86_64 0:1.4.16-5.8.amzn1 nagios-plugins-wave.x86_64 0:1.4.16-
5.8.amzn1
net-snmp-libs.x86_64 1:5.5-54.1.20.amzn1 net-snmp-
utils.x86_64 1:5.5-54.1.20.amzn1 php56.x86_64 0:5.6.40-
1.142.amzn1
php56-cli.x86_64 0:5.6.40-1.142.amzn1 php56-common.x86_64
0:5.6.40-1.142.amzn1 php56-jsonc.x86_64 0:1.3.10-1.20.amzn1
php56-process.x86_64 0:5.6.40-1.142.amzn1 php56-xml.x86_64
0:5.6.40-1.142.amzn1 postgresql8-libs.x86_64 0:8.4.20-
5.52.amzn1

Complete!
[ec2-user@ip-172-31-24-13 ~]$
[ec2-user@ip-172-31-24-13 ~]$ htpasswd -c /etc/nagios/passwd nagiosadmin
htpasswd: cannot open file /etc/nagios/passwd for read/write access
[ec2-user@ip-172-31-24-13 ~]$ sudo htpasswd -c /etc/nagios/passwd nagiosadmin
New password:
Re-type new password:
Adding password for user nagiosadmin
[ec2-user@ip-172-31-24-13 ~]$
[ec2-user@ip-172-31-24-13 ~]$ systemctl start httpd
-bash: systemctl: command not found
[ec2-user@ip-172-31-24-13 ~]$ sudo systemctl start httpd
sudo: systemctl: command not found
[ec2-user@ip-172-31-24-13 ~]$ service httpd start
Starting httpd: (13)Permission denied: AH00058: Error retrieving pid file
/var/run/httpd/httpd.pid
AH00059: Remove it before continuing if it is corrupted.
[FAILED]
[ec2-user@ip-172-31-24-13 ~]$ sudo service httpd start
Starting httpd: [ OK ]
[ec2-user@ip-172-31-24-13 ~]$ sudo service httpd enable
Usage: httpd {start|stop|restart|condrestart|reload|status|graceful|help|
configtest}
[ec2-user@ip-172-31-24-13 ~]$ yum list systemd
Loaded plugins: priorities, update-motd, upgrade-helper
819 packages excluded due to repository priority protections
Error: No matching Packages to list
[ec2-user@ip-172-31-24-13 ~]$ systemctl start nagios
-bash: systemctl: command not found
[ec2-user@ip-172-31-24-13 ~]$ service nagios start
Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.
[ec2-user@ip-172-31-24-13 ~]$

You might also like