compile plugins

Marc Belanger bru1n at comcast.net
Tue May 3 23:55:41 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Holy incomplete thoughts, Batman.

The pre-compiled plugin packages will install into /usr/local/bin; odd, but true. I moved them to /usr/local/nagios/libexec - make sure you grab utils.* and urlize if you do the same. this is so $USER1$ works, and you don't use up another of the 32 user variables to make things nice and neat.

At any rate, you will need libiconv for the plugins to work, which sunfreeware also distro's in a precompiled format, use pkgadd.

You will most likely need to update crle. I found that I needed to put /usr/local/lib (for libiconv I presume) before /usr/lib. I got ld.so.1 errors if it was the other way around.

# mkdir /usr/local/nagios
# mkdir /usr/local/nagios/libexec 
# mv /usr/local/bin/check_* /usr/local/nagios/libexec
# mv /usr/local/bin/utils* /usr/local/nagios/libexec
# mv /usr/local/bin/urlize /usr/local/nagios/libexec
# chown -R nagios:nagios /usr/local/nagios
# crle -l /usr/local/lib:/usr/lib

- -Marc
 
 -----Original Message-----
From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Marc Belanger
Sent: Tuesday, May 03, 2005 5:36 PM
To: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] compile plugins


  * PGP Signed: 05/03/05 at 17:36:08


  Greetings,

  For Soalris 8 you will need gcc, make, libiconv, and thier dependancies. sunfreeware.com has a nice guide that spells it all out. You could also use the pre-compiled versions located here -> http://www.nagiosexchange.org/Solaris.50.0.html?&tx_netnagext_pi1[p_view]=115 which I found very helpful. I did not want to go through all the motions of getting gcc, make, etc working on sol7 and 8 boxes. Just use pkgadd.

  I can't say for sure about RH, but linux is ~usually~ a bit more friendly to GNU software than default Solaris installs (even SUNWxcall).

  -Marc


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.0 (Build 2001)

iQEVAwUBQnfzXmquTKnl/rl2AQgIywf8D0/CbMN4dIfeUbNSW3urgeyJtucXTkyU
ERfbDWXHdrXFBke8CLwVdKT/v4ATOtaU3yvTBWqC2kCn3xahs6SDq0jPfLFlvx9j
4CeqyrBzxIYBOeTmogCnASlldIUgEmEv8fdy8uAD+zkN6dLMdxb0qOLp8ZC7ExF2
c/W2xY9Zs30zLlhSPcqx4NQgLtIuNYNY+3fo2Q+BsrSK/m9uUVPZlq6Jc2n6gaG/
5HItXvQqzL/EkTQsdVdLF7kj0fgocfmTdUXXRgWjWIBJVZJZ3B7UskMnzoWDIU5u
9DNN+jJMg1iaBybHDq15sN7lTxZLAgzdUKHYvmAJfWrAIyNrK+I2KA==
=K84z
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050503/3d519c45/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGPexch.htm.sig
Type: application/octet-stream
Size: 280 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050503/3d519c45/attachment.obj>


More information about the Users mailing list