리눅스 nagios 설치

리눅스 nagios 설치
리눅스 나기오스 설치

1 확인[ | ]

[root@zetawiki ~]# rpm -qa | grep ^nagios
[root@zetawiki ~]#

2 설치[ | ]

[root@zetawiki ~]# yum install nagios
... (생략)
======================================================================================================
 Package                  Arch              Version                          Repository          Size
======================================================================================================
Installing:
 nagios                   x86_64            3.5.1-1.el6                      epel               1.2 M
Installing for dependencies:
 apr                      x86_64            1.3.9-5.el6_2                    base               123 k
 apr-util                 x86_64            1.3.9-3.el6_0.1                  base                87 k
 apr-util-ldap            x86_64            1.3.9-3.el6_0.1                  base                15 k
 gd                       x86_64            2.0.35-11.el6                    base               142 k
 httpd                    x86_64            2.2.15-30.el6.centos             updates            821 k
 httpd-tools              x86_64            2.2.15-30.el6.centos             updates             73 k
 libXpm                   x86_64            3.5.10-2.el6                     base                51 k
 mailcap                  noarch            2.1.31-2.el6                     base                27 k
 mailx                    x86_64            12.4-7.el6                       base               235 k
 make                     x86_64            1:3.81-20.el6                    base               389 k
 nagios-common            x86_64            3.5.1-1.el6                      epel                17 k
 php                      x86_64            5.3.3-27.el6_5                   updates            1.1 M
 php-cli                  x86_64            5.3.3-27.el6_5                   updates            2.2 M
 php-common               x86_64            5.3.3-27.el6_5                   updates            525 k
Updating for dependencies:
 openssl                  x86_64            1.0.1e-16.el6_5.7                updates            1.5 M

Transaction Summary
======================================================================================================
Install      15 Package(s)
Upgrade       1 Package(s)

Total download size: 8.4 M
Is this ok [y/N]: y
... (생략)
Installed:
  nagios.x86_64 0:3.5.1-1.el6                                                                         

Dependency Installed:
  apr.x86_64 0:1.3.9-5.el6_2                       apr-util.x86_64 0:1.3.9-3.el6_0.1                  
  apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1           gd.x86_64 0:2.0.35-11.el6                          
  httpd.x86_64 0:2.2.15-30.el6.centos              httpd-tools.x86_64 0:2.2.15-30.el6.centos          
  libXpm.x86_64 0:3.5.10-2.el6                     mailcap.noarch 0:2.1.31-2.el6                      
  mailx.x86_64 0:12.4-7.el6                        make.x86_64 1:3.81-20.el6                          
  nagios-common.x86_64 0:3.5.1-1.el6               php.x86_64 0:5.3.3-27.el6_5                        
  php-cli.x86_64 0:5.3.3-27.el6_5                  php-common.x86_64 0:5.3.3-27.el6_5                 

Dependency Updated:
  openssl.x86_64 0:1.0.1e-16.el6_5.7                                                                  

Complete!

3 확인2[ | ]

[root@zetawiki ~]# rpm -qa | grep ^nagios
nagios-common-3.5.1-1.el6.x86_64
nagios-3.5.1-1.el6.x86_64

4 시작[ | ]

[root@zetawiki ~]# service nagios start
Starting nagios: done.
[root@zetawiki ~]# ps -ef | grep nagios | grep -v grep
nagios    5417     1  0 19:57 ?        00:00:00 /usr/sbin/nagios -d /etc/nagios/nagios.cfg

5 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}