Rpm install fails on RHEL 4


#1

I am attempting to install the latest Nagios on my RHEL 4 64 bit server, but am getting an error when I install the rpm. Here is the message:

[[email protected] tmp]# rpm -i nagios-2.6-1.el4.rf.x86_64.rpm
warning: nagios-2.6-1.el4.rf.x86_64.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6

Does anyone know what this means?


#2

Yes.


#3

Another note, you should install from source. You will get alot more out of it, and actually know what you are doing, when you get done.
nagios.sourceforge.net/docs/2_0/


#4

So you recommend that I don’t use this RPM form dag?


#5

Correct. With the rpm does it install with nagios embedded perl? perl cache? with a nagios-cmd group name? There are many problems with an rpm install, since you can control exactly how it has been compiled.
With source install, you will know exactly what you have when you get done.


#6

I used to install Nagios from rpm every time until I decided to try PNP to graph performance information. Then I found that the rpm packaged version of Nagios was compiled with embedded perl support which breaks PNP so I ended up compiling from source anyway.

Typically the nagios rpms for fedora/redhat put config files and binaries in all kinds of directories on the system (/etc, /usr/lib, /usr/share, /var, … ) which makes it a pain remembering where they all are. If you do a default install from the source tarballs, almost all of the nagios install then goes under /usr/local/nagios so it’s easy to find whatever you’re looking for (and easy to configure your backup script to back up everything you need).