Problem in compiling nagios-plugin-1.4.9

Max Hetrick btmanmeh at verizon.net
Mon Jul 2 22:57:52 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paikray, Manas (GE Money, consultant) wrote:
> Hi Max,
> 
> Getting below error while trying using rpm, 
> 
> [root at MYUSVWSHQLAB025 ~]# rpm -ivh
> nagios-plugins-1.4.4-1.el4.rf.i386.rpm
> warning: nagios-plugins-1.4.4-1.el4.rf.i386.rpm: V3 DSA signature:
> NOKEY, key ID 6b8d79e6
> error: Failed dependencies:
>         perl(Net::SNMP) is needed by nagios-plugins-1.4.4-1.el4.rf.i386
> 

Yeah, I forgot about that. There are a few dependencies for using the
RPM. If you're not against installing them, then you can add Dag's repo
to your RHEL configuration long enough to install, and then remove it.

Install Dag's package key:

rpm -import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

Add to /etc/sysconfig/rhn/sources

#Uncomment dag's repo to install/update packages
yum dag http://dag.atrpms.net/redhat/el4/en/$basearch/dag

Remember to comment the yum line back out after you are done installing
things, as to not screw up the RPM database by accident at a later date.

This isn't supported by Red Hat, so if this is a production machine,
please be aware of that. I've done this before, however, on two
production machines and not had a problem, but that doesn't mean
something won't break.

Now, do your normal up2date to install things.

up2date --install nagios-plugins

I don't remember if it takes care of dependencies or not, but if it
doesn't, you can install perl-Net-SNMP the same:

up2date --install perl-Net-SNMP

This will also make it easier to upgrade the package in the future, just
remember to comment the yum dag line out when you are finished
installing or upgrading packages from his repo.

Regards,
Max


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFGiWbQHoeeepPau2ERAkbHAJwPwiHK7m+M1RGAfCX7cRJKNxwJWgCfdJNt
6Hh40rCK8/lKuONNpjpFSUI=
=B/Co
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list