CentOS 5: Install Nagios via RPM
Last week took over an already running and in production box, with CentOS 5.8 (64 bits) installed and no extra repositories in use...
Since I don't want to add any extra repositorie to this production box, I've proceed to install the necessary packages by hand... First things first, so get it:
Since I don't want to add any extra repositorie to this production box, I've proceed to install the necessary packages by hand... First things first, so get it:
wget http://pkgs.repoforge.org/nagios/nagios-3.2.3-4.el5.test.x86_64.rpmThis one is a piece of cake:
# rpm --test -ivh nagios-3.2.3-4.el5.test.x86_64.rpm warning: nagios-3.2.3-4.el5.test.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6 Preparing... ########################################### [100%]Lets see the how things go with the Nagios plugins:
wget http://pkgs.repoforge.org/nagios-plugins/nagios-plugins-1.4.9-1.el5.rf.x86_64.rpmAnd now the real fun begins:
# rpm --test -ivh nagios-plugins-1.4.9-1.el5.rf.x86_64.rpm warning: nagios-plugins-1.4.9-1.el5.rf.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6 error: Failed dependencies: perl(Net::SNMP) is needed by nagios-plugins-1.4.9-1.el5.rf.x86_64 fping is needed by nagios-plugins-1.4.9-1.el5.rf.x86_64Fping, no problems there:
wget http://pkgs.repoforge.org/fping/fping-3.1-1.el5.rf.x86_64.rpm # rpm --test -ivh fping-3.1-1.el5.rf.x86_64.rpm warning: fping-3.1-1.el5.rf.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6 Preparing... ########################################### [100%]Full dressing test:
# ls -1 fping-3.1-1.el5.rf.x86_64.rpm nagios-3.2.3-4.el5.test.x86_64.rpm nagios-plugins-1.4.9-1.el5.rf.x86_64.rpm # rpm --test -ivh nagios-3.2.3-4.el5.test.x86_64.rpm nagios-plugins-1.4.9-1.el5.rf.x86_64.rpm \ fping-3.1-1.el5.rf.x86_64.rpm warning: nagios-3.2.3-4.el5.test.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6 error: Failed dependencies: perl(Net::SNMP) is needed by nagios-plugins-1.4.9-1.el5.rf.x86_64So get it, and run another test:
wget http://pkgs.repoforge.org/perl-Crypt-DES/perl-Crypt-DES-2.05-3.2.el5.rf.x86_64.rpm rpm --test -ivh nagios-3.2.3-4.el5.test.x86_64.rpm nagios-plugins-1.4.9-1.el5.rf.x86_64.rpm \ fping-3.1-1.el5.rf.x86_64.rpm perl-Net-SNMP-5.2.0-1.2.el5.rf.noarch.rpm perl-Crypt-DES-2.05-3.2.el5.rf.x86_64.rpm warning: nagios-3.2.3-4.el5.test.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6 Preparing... ########################################### [100%]Bingo! So, just do the install and that's it:
# rpm -ivh nagios-3.2.3-4.el5.test.x86_64.rpm nagios-plugins-1.4.9-1.el5.rf.x86_64.rpm \ fping-3.1-1.el5.rf.x86_64.rpm perl-Net-SNMP-5.2.0-1.2.el5.rf.noarch.rpm perl-Crypt-DES-2.05-3.2.el5.rf.x86_64.rpm warning: nagios-3.2.3-4.el5.test.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6 Preparing... ########################################### [100%] 1:perl-Crypt-DES ########################################### [ 20%] 2:fping ########################################### [ 40%] 3:nagios ########################################### [ 60%] 4:perl-Net-SNMP ########################################### [ 80%] 5:nagios-plugins ########################################### [100%]
0 Comments:
Post a Comment
<< Home