[users] problems in nagios-plugins package

Hugo van der Kooij hvdkooij at vanderkooij.org
Tue Jan 29 00:08:32 CET 2008


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

Dag Wieers wrote:
| On Fri, 20 Jul 2007, Jim Nelson wrote:
|
|> I've had a couple of issues dealing with a new nagios implementation
using the
|> rpmforge packages.
|>
|> 1. When using check_by_ssh, there are real problems defining commands
that
|> work on both 32- and 64-bit systems.  The problem lies in that the nagios
|> plugins are installed in /usr/lib on a 32-bit system, and in
/usr/lib64 on a
|> 64-bit system.
|>
|> My fix for it is to symlink /usr/lib64/nagios into /usr/lib, and
write the
|> command definitions based off of the /usr/lib/nagios path.
|
| Hi Jim,
|
| I am not sure how nagios wants me to fix this. The directory contains
| binary stuff so it is normal that it goes into /usr/lib64 on 64-bit
| systems.
|
| Your fix is a valid one, but not something I would do in the package. You
| could also install the 32bit nagios package on 64bit. Although I am not
| sure if everything exist in 32bit (and if that is a good idea altogether).
|
| Maybe we have to bring this up on the Nagios forums ?

Isn't this exactly why there is a variable dedicated to the path of the
plugins?

# Sets $USER1$ to be the path to the plugins
$USER1$=/usr/lib/nagios/plugins

Hugo.


- --
hvdkooij at vanderkooij.org               http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

	A: Yes.
	>Q: Are you sure?
	>>A: Because it reverses the logical flow of conversation.
	>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

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

iD8DBQFHnmBvBvzDRVjxmYERAlTBAJ9GBamDKq6hkCa1W1hRRcskDcym4wCfSYdB
5sZxP4GrEmOMykr10HfEQvI=
=XtC4
-----END PGP SIGNATURE-----


More information about the users mailing list