2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
4 Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
8 The contents of this file are subject to the terms of the
9 Common Development and Distribution License (the "License").
10 You may not use this file except in compliance with the License.
12 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13 or http://www.opensolaris.org/os/licensing.
14 See the License for the specific language governing permissions
15 and limitations under the License.
17 When distributing Covered Code, include this CDDL HEADER in each
18 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19 If applicable, add the following below this CDDL HEADER, with the
20 fields enclosed by brackets "[]" replaced with your own identifying
21 information: Portions Copyright [yyyy] [name of copyright owner]
25 NOTE: This service manifest is not editable; its contents will
26 be overwritten by package or patch operations, including
27 operating system upgrade. Make customizations in a different
31 <service_bundle type='manifest' name='SUNWckr:fmd'>
34 name='system/fm/snmp-notify'
38 <create_default_instance enabled='false' />
41 Just one instance of snmp-notify should be running in any OS instance.
46 Add a dependency on SUNWfmd being installed
50 grouping='require_all'
53 <service_fmri value='file://localhost/usr/lib/fm/notify/snmp-notify' />
58 grouping='require_all'
61 <service_fmri value='svc:/milestone/multi-user:default' />
62 <service_fmri value='svc:/system/fmd:default' />
63 <service_fmri value='svc:/application/management/net-snmp:default' />
69 exec='/usr/lib/fm/notify/snmp-notify'
70 timeout_seconds='0' />
76 timeout_seconds='60' />
84 <method_credential user='root' group='root' />
88 <property_group name="general" type="framework">
89 <propval name='action_authorization' type='astring'
90 value='solaris.smf.manage.snmp-notify' />
91 <propval name='value_authorization' type='astring'
92 value='solaris.smf.value.snmp-notify' />
95 <property_group name="config" type="application">
96 <propval name="debug" type="boolean" value="false"/>
97 <propval name="rootdir" type="astring" value="/"/>
98 <propval name='action_authorization' type='astring'
99 value='solaris.smf.manage.snmp-notify' />
100 <propval name='value_authorization' type='astring'
101 value='solaris.smf.value.snmp-notify' />
104 <stability value='Evolving' />
108 <loctext xml:lang='C'>
109 Solaris SNMP Event Notification Agent
113 <manpage title='snmp-notify' section='1M'
114 manpath='/usr/share/man' />
116 <pg_pattern name='config' type='application' target='this'
118 <prop_pattern name='debug' type='boolean'
121 <loctext xml:lang='C'>
122 When set to true, smtp-notify will spool debug messages to /var/fm/notify/snmp-notify.log
125 <visibility value='readwrite'/>
126 <cardinality min='1' max='1'/>
128 <prop_pattern name='rootdir' type='astring'
131 <loctext xml:lang='C'>
132 The root directory that will be used for all pathnames evaluated by snmp-notify
135 <visibility value='readwrite'/>
136 <cardinality min='1' max='1'/>