On Fri, Jul 11, 2008 at 3:50 AM, Greg Martin <<a href="mailto:gmartin@gmartin.org">gmartin@gmartin.org</a>> 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. I built a separate script for the nagios plugins that installs the plugins below /usr/share/nagios in a. /plugins directory. Is this a no-no? That is to have one package install below another? </blockquote>
<div>Never mind. You may 'mkdir -p $PKG/usr/share/nagios/plugins' 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. </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 "the two should be independent" and I can understand that as well. 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. It needs special permissions and is something that always trips me up. 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've specified both packages to use the nagios.nagios user/group pair. Should I create the user & 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.