Hi Darren,

Find my answers to your questions below and also find attached the 
updated nagios-arc one pager.
Please let me know the required changes.


Darren J Moffat wrote:
> John Fischer wrote:
>> Interfaces
>> ==========
>>     nagios user is created. Uncommitted.
>>     nagios group is created. Uncommitted.
>>     nagcmd group id created. Uncommitted.
>
> Why are two new groups needed ?
>
> What reserved gid and uid are used ?
>
nagios group is used for the general nagios process to run.
nagcmd is for allowing external commands to be submitted through the web 
interface

I am not explicitly mentioning any reserved uid or gid for the user and 
group while creating. So I have not mentioned it in the arc-one pager. 
If it has to be there, may I know the reason behind that.

>>     SUNWnagiosr and SUNWnagiosu packages are Uncommitted.
>
> Given that SXCE will no longer exist very soon and OpenSolaris IPS 
> collapses these down we should probably stop pretending we need 
> separate root and usr packages.
>
If some of the files go to /usr and some go under / (not under /usr), 
eg. /etc..., then we need 2 packages.
One root package for the files that go under / (not directly under /usr) 
and other user package for the files that go under /usr.
During the package creation, there is file in which we mention whether 
it is root package or usr package. If it is user package, in that case 
we cannot copy files to directories directly under / other than /usr.

>> Exported Interfaces
>>   -------------------
>>
>>     /var/svc/manifest/application/nagios.xml  -- SMF XML File -- 
>> Project Private.
>
> The SMF XML file is indeed Project Private but there should be
> a Uncommitted or Committed interface that is the actual FMRI,
> what is the FMRI ?
>
I have updated the one-pager with FMRI and uncommitted status.
>>     /usr/bin/nagios -- Executable file -- Uncommitted.
>>     /usr/bin/nagiostats -- Executable file -- Uncommitted.
>
> These two look okay.
>
>>     /etc/apache2/2.2/nagios.conf -- Uncommitted.
>>     /usr/apache2/2.2/bin/<cgi-scripts> -- Uncommitted.
>>
>> Imported Interfaces
>> -------------------
>>     SUNWapache2
>>
>> Not An Interface --------------------
>>     
>>     /usr/etc                   --  cfg files are copied here
>>         /usr/etc/objects           --  cfg files are copied here
>
> /usr/etc isn't acceptable on Solaris, if these are intented to be 
> writtable then they belong in a subdir of /etc for example 
> /etc/nagios/ or if they are large and growing cache rather than config 
> then in /var.
>
I have modified the document accordingly.
>>     /usr/lib           --  When the nagios-plugin is installed, 
>> plugins are copied here
>
> No plugins for nagios shouldn't be dropped into /usr/lib they should
> be in a subdir for example /usr/lib/nagios
>
I have modified the document accordingly.
> If thr
>>     /usr/share                 --  HTML files for web-UI
>>         /usr/share/contexthelp     --  HTML files for web-UI
>>         /usr/share/docs            --  Nagios Documentation files
>>         /usr/share/docs/images     --  Nagios Documentation images
>>         /usr/share/images          --  Nagios Web-UI realated images
>>         /usr/share/images/logos    --  Nagios Web-UI realaged logos  
>>         /usr/share/stylesheets     --  css files for UI
>
> These all look very generic surely there should be a /usr/share/nagios 
> sub dir.
Done
>
>>         /usr/var            --  Nagios generats files here
>>         /usr/var/archives       --  Nagios log file gets created here 
>>         /usr/var/rw              --  fifo File gets generated here by 
>> nagios
>>         /usr/var/spool/checkresults   
>
> /usr/var ?  Again this is wrong  I suspect these should all be below 
> /var/nagios/
>
>
Done
> As specified this case violates many of the rules about filesystem 
> layout, so a big -1 from me on the filesystem layout even though I 
> think delivering nagios is good idea.
>


Thanks and Regards,
Deepti

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nagios-arc.txt
URL: 
<http://mail.opensolaris.org/pipermail/opensolaris-arc/attachments/20091111/8dfabd73/attachment-0001.txt>

Reply via email to