- application/nagios SMF
- Thursday, September 24th, 2009 at 5:56:21am MDT
- <?xml version='1.0'?>
- <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
- <service_bundle type='manifest' name='export'>
- <service name='application/nagios' type='service' version='0'>
- <single_instance/>
- <dependency name='fs' grouping='require_all' restart_on='none' type='service'>
- <service_fmri value='svc:/system/filesystem/local'/>
- </dependency>
- <dependency name='network' grouping='require_all' restart_on='error' type='service'>
- <service_fmri value='svc:/milestone/network:default'/>
- </dependency>
- <exec_method name='start' type='method' exec='/opt/local/nagios-3.2.0/method/nagios start' timeout_seconds='120'>
- <method_context working_directory='/tmp'>
- <method_credential user='root' group='root'/>
- <method_environment>
- <envvar name='LC_ALL' value='C'/>
- <envvar name='LANG' value='C'/>
- </method_environment>
- </method_context>
- </exec_method>
- <exec_method name='stop' type='method' exec='/opt/local/nagios-3.2.0/method/nagios stop' timeout_seconds='60'>
- <method_context>
- <method_credential user='root' group='root'/>
- <method_environment>
- <envvar name='LC_ALL' value='C'/>
- <envvar name='LANG' value='C'/>
- </method_environment>
- </method_context>
- </exec_method>
- <exec_method name='restart' type='method' exec='/opt/local/nagios-3.2.0/method/nagios restart' timeout_seconds='180'>
- <method_context>
- <method_credential user='root' group='root'/>
- <method_environment>
- <envvar name='LC_ALL' value='C'/>
- <envvar name='LANG' value='C'/>
- </method_environment>
- </method_context>
- </exec_method>
- <instance name='default' enabled='true'>
- <property_group name='general' type='framework'>
- <propval name='action_authorization' type='astring' value='solaris.smf.manage.nagios/3.2.0'/>
- <propval name='modify_authorization' type='astring' value='solaris.smf.manage.nagios/3.2.0'/>
- <propval name='value_authorization' type='astring' value='solaris.smf.manage.nagios/3.2.0'/>
- </property_group>
- </instance>
- <template>
- <common_name>
- <loctext xml:lang='C'>Nagios, Network Monitor</loctext>
- </common_name>
- </template>
- </service>
- </service_bundle>
advertising
Update the Post
Soit mettez à jour ce message et ré-envoyez-le avec les modifications, soit créer un nouveau message.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.