ログ監視ツール設定



##############################################################################
●logwatch をインストール

[root@localhost ~]# yum -y install logwatch
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Determining fastest mirrors
epel/metalink                                            | 5.5 kB     00:00
 * base: ftp.iij.ad.jp
 * epel: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * rpmforge: ftp.kddilabs.jp
 * updates: ftp.iij.ad.jp
base                                                     | 3.7 kB     00:00
extras                                                   | 3.5 kB     00:00
rpmforge                                                 | 1.9 kB     00:00
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 3.5 MB     00:00
75 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package logwatch.noarch 0:7.3.6-49.el6 will be installed
--> Processing Dependency: perl(Date::Manip) for package: logwatch-7.3.6-49.el6.noarch
--> Running transaction check
---> Package perl-Date-Manip.noarch 0:6.24-1.el6 will be installed
--> Processing Dependency: perl(YAML::Syck) for package: perl-Date-Manip-6.24-1.el6.noarch
--> Running transaction check
---> Package perl-YAML-Syck.i686 0:1.07-4.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch           Version              Repository    Size
================================================================================
Installing:
 logwatch                noarch         7.3.6-49.el6         base         298 k
Installing for dependencies:
 perl-Date-Manip         noarch         6.24-1.el6           base         1.4 M
 perl-YAML-Syck          i686           1.07-4.el6           base          75 k

Transaction Summary
================================================================================
Install       3 Package(s)

Total download size: 1.7 M
Installed size: 11 M
Downloading Packages:
(1/3): logwatch-7.3.6-49.el6.noarch.rpm                  | 298 kB     00:00
(2/3): perl-Date-Manip-6.24-1.el6.noarch.rpm             | 1.4 MB     00:00
(3/3): perl-YAML-Syck-1.07-4.el6.i686.rpm                |  75 kB     00:00
--------------------------------------------------------------------------------
Total                                           4.6 MB/s | 1.7 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : perl-YAML-Syck-1.07-4.el6.i686                               1/3
  Installing : perl-Date-Manip-6.24-1.el6.noarch                            2/3
  Installing : logwatch-7.3.6-49.el6.noarch                                 3/3
  Verifying  : logwatch-7.3.6-49.el6.noarch                                 1/3
  Verifying  : perl-YAML-Syck-1.07-4.el6.i686                               2/3
  Verifying  : perl-Date-Manip-6.24-1.el6.noarch                            3/3

Installed:
  logwatch.noarch 0:7.3.6-49.el6

Dependency Installed:
  perl-Date-Manip.noarch 0:6.24-1.el6      perl-YAML-Syck.i686 0:1.07-4.el6

Complete!



戻る