On Fri, Jul 11, 2008 at 3:50 AM, Greg Martin &lt;<a href="mailto:gmartin@gmartin.org">gmartin@gmartin.org</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I think I have a lot of this worked out. &nbsp;I built a separate script for the nagios plugins that installs the plugins below /usr/share/nagios in a. /plugins directory. &nbsp;Is this a no-no? &nbsp;That is to have one package install below another? &nbsp;</blockquote>
<div>Never mind. You may &#39;mkdir -p $PKG/usr/share/nagios/plugins&#39; within nagios-plugins.SlackBuild. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Seems like a good idea on one-hand to keep everything together. &nbsp;</blockquote><div>Yeah, +1. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On the other hand, I can hear someone say &quot;the two should be independent&quot; and I can understand that as well. &nbsp;Guidance, anyone?</blockquote><div>Independent means what? IMO, nagios-plugins need nagios package. <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Next issue - there is an external command directory that typically gets setup as /var/lib/nagios/rw. &nbsp;It needs special permissions and is something that always trips me up. &nbsp;Would be appropriate to add the creation and configuration of this directory into the doinst.sh?</blockquote>
<div>Just do it within SlackBuild files. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
And along those lines, I&#39;ve specified both packages to use the nagios.nagios user/group pair. &nbsp;Should I create the user &amp; group? or is that a no-no?</blockquote><div>Yeah, we need this. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<font color="#888888">
<br>
\\Greg</font></blockquote></div>My 2 cents. THX.<br>-- <br>Rgds,<br>Cherife.