deepti vaidya schrieb: >>> Exported Interfaces >>> ------------------- >>> >>> /var/svc/manifest/application/nagios.xml -- SMF XML File -- Its >>> Project Private and uncommittted. >> >> Can't be both?! > SMF xml is private to the project not intended for other users and it > may undergo slight changes later.
So it's Project Private > So may I know why can't it be > It certainly can't be Uncommitted (the interface taxonomy) at the same time [*] as being Project Private. If you just mean that you don't commit to keeping this compatible, then that is implied by Project Private. In that case using the word "uncommitted" next to an interface taxonomy is at least bound to cause confusion. [*] See http://sac.sfbay/cgi-bin/bp.cgi?NAME=interface_taxonomy.bp >>> And the FMRI is, application/nagios:default >> >> This one needs a stability classification too. You should specify a >> complete FMRI. Probably you meant svc:/application/nagios:default ? > DONE >> >>> /usr/bin/nagios -- Executable file -- Its uncomitted. >>> /usr/bin/nagiostats -- Executable file -- Its uncomitted. >> >> Are there man pages? Are just the file locations uncommitted or does >> this extend to options and output? >> > There are no man pages. Nagios and nagiostats are having options. >>> /etc/apache2/2.2/conf.d/nagios.conf -- It is used to authenticate >>> the user -- Its uncomitted. >> >> Is there a man page? Do you actually export this file as *your* >> interface for use by others? > nagios.conf is used by apache webserver to authenticate the user. >> >>> /usr/apache2/2.2/bin/<cgi-scripts> -- Its uncomitted. >> >> I don't think you export this directory or its use for cgi-scripts?! >> >> It seems like you *import /etc/apache2/2.2/{conf.d,bin} as interfaces, >> but is there anything you export here? >> > Nagios installation copies cgi files to this directory. These files are > used by the web interface. > So you import these directories as interfaces, you don't export them. And the files you put there are probably Project Private. Reread the interface taxonomy: "Uncommitted" is a public stability and means that you actually commit to not break the interface in patches or ("micro") updates. >>> Imported Interfaces >>> ------------------- >>> SUNWapache2 >>> SUNWgd2 >>> >>> Not An Interface -------------------- >>> /etc/nagios -- cfg files are copied here >>> /etc/nagios/objects -- cfg files are copied here >> >> Who copies cfg files here? Neither configuration files nor directories >> to which configuration files can be added make sense being Not An >> Interface. AFAICT the NRPE case tries to import this interface by >> putting a config file there. > cfg files are copied to this directories by the nagios installation. > Only nrpe.cfg is copied by NRPE installation but there are other cfg > files copied by nagios > If users or future projects add additional nagios plugins, would they also (have to) add files to this directory? - J?rg >>> /usr/lib/nagios -- When the nagios-plugin is >>> installed, plugins are copied here >> >> Same here. If plugin projects or users adding plugins need to use this >> interface (again NRPE does), it can't be Not An Interface, >> > DONE >>> /usr/share/nagios -- HTML files for web-UI >>> /usr/share/nagios/contexthelp -- HTML files for web-UI >>> /usr/share/nagios/docs -- Nagios Documentation files >>> /usr/share/nagios/docs/images -- Nagios Documentation >>> images >>> /usr/share/nagios/images -- Nagios Web-UI realated >>> images >>> /usr/share/nagios/images/logos -- Nagios Web-UI realaged >>> logos /usr/share/nagios/stylesheets -- css files for UI >>> /var/nagios -- Nagios generates files here >>> /var/nagios/archives -- Nagios log file gets >>> created here /var/nagios/rw -- fifo File gets >>> generated here by nagios >>> /var/nagios/spool/checkresults >> >> You probably mean these to be either Project Private or Volatile. If >> noone uses a directory, it needn't be there. IME file system pathes >> aren't good candidates to be Not An Interface. >> -- Joerg Barfurth phone: +49 40 23646662 / x66662 Software Engineer mailto:joerg.barfurth at sun.com Desktop Technology http://reserv.ireland/twiki/bin/view/Argus/ Thin Client Software http://www.sun.com/software/sunray/ Sun Microsystems GmbH http://www.sun.com/software/javadesktopsystem/