<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=296234321-03052005><FONT face="Courier New" color=#0000ff
size=2>Holy incomplete thoughts, Batman.</FONT></SPAN></DIV>
<DIV><SPAN class=296234321-03052005><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=296234321-03052005><FONT face="Courier New" color=#0000ff
size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=296234321-03052005><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=296234321-03052005><FONT face="Courier New" color=#0000ff
size=2>At any rate, you will need libiconv for the plugins to work, which
sunfreeware also distro's in a precompiled format, use
pkgadd.</FONT></SPAN></DIV>
<DIV><SPAN class=296234321-03052005><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=296234321-03052005><FONT face="Courier New" color=#0000ff
size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=296234321-03052005><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=296234321-03052005></SPAN><SPAN class=296234321-03052005><FONT
face="Courier New" color=#0000ff size=2># mkdir
/usr/local/nagios</FONT></SPAN></DIV>
<DIV><SPAN class=296234321-03052005><FONT face="Courier New" color=#0000ff
size=2># mkdir /usr/local/nagios/libexec </FONT></SPAN></DIV>
<DIV><SPAN class=296234321-03052005></SPAN><SPAN class=296234321-03052005><FONT
face="Courier New" color=#0000ff size=2># mv /usr/local/bin/check_*
/usr/local/nagios/libexec</FONT></SPAN></DIV>
<DIV><SPAN class=296234321-03052005><FONT face="Courier New" color=#0000ff
size=2># mv /usr/local/bin/utils*
/usr/local/nagios/libexec</FONT></SPAN></DIV>
<DIV><SPAN class=296234321-03052005><FONT face="Courier New" color=#0000ff
size=2># mv /usr/local/bin/urlize /usr/local/nagios/libexec</FONT></SPAN></DIV>
<DIV><SPAN class=296234321-03052005><FONT face="Courier New" color=#0000ff
size=2># chown -R nagios:nagios /usr/local/nagios</FONT></SPAN></DIV>
<DIV><SPAN class=296234321-03052005><FONT face="Courier New" color=#0000ff
size=2># crle -l /usr/local/lib:/usr/lib</FONT></SPAN></DIV>
<DIV><SPAN class=296234321-03052005><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=296234321-03052005><FONT face="Courier New" color=#0000ff
size=2>-Marc</FONT></SPAN></DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN class=296234321-03052005><FONT
face="Courier New" color=#0000ff> </FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN
class=296234321-03052005> </SPAN>-----Original Message-----<BR><B>From:</B>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net]<B>On Behalf Of </B>Marc
Belanger<BR><B>Sent:</B> Tuesday, May 03, 2005 5:36 PM<BR><B>To:</B>
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE: [Nagios-users] compile
plugins<BR><BR></DIV></FONT></FONT>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV>* PGP Signed: 05/03/05 at 17:36:08<BR><BR></DIV>
<DIV><SPAN class=640023021-03052005><FONT face="Courier New" color=#0000ff
size=2>Greetings,</FONT></SPAN></DIV>
<DIV><SPAN class=640023021-03052005><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=640023021-03052005><FONT face="Courier New" color=#0000ff
size=2>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 -> <A
href="http://www.nagiosexchange.org/Solaris.50.0.html?&tx_netnagext_pi1[p_view]=115">http://www.nagiosexchange.org/Solaris.50.0.html?&tx_netnagext_pi1[p_view]=115</A> 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.</FONT></SPAN></DIV>
<DIV><SPAN class=640023021-03052005><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=640023021-03052005><FONT face="Courier New" color=#0000ff
size=2>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).</FONT></SPAN></DIV>
<DIV><SPAN class=640023021-03052005><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=640023021-03052005><FONT face="Courier New" color=#0000ff
size=2>-Marc</FONT></SPAN></DIV>
<P><FONT face="Courier New" color=#0000ff
size=2></FONT> </P></BLOCKQUOTE></BODY></HTML>