xref: /titanic_44/usr/src/cmd/fm/notify/notify-params.xml (revision be468fc6d7266e97f1330ad9a761169925f5f3f1)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
5
6 CDDL HEADER START
7
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.
11
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.
16
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]
22
23 CDDL HEADER END
24
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
28	file.
29-->
30
31<service_bundle type='manifest' name='SUNWckr:notify-params'>
32
33<service
34	name='system/fm/notify-params'
35	type='service'
36	version='1'>
37
38	<!--
39	  Fault Manager notification parameters
40	-->
41
42	<exec_method
43	    type='method'
44	    name='start'
45	    exec=':true'
46	    timeout_seconds='0' />
47
48	<exec_method
49	    type='method'
50	    name='stop'
51	    exec=':true'
52	    timeout_seconds='0' />
53
54	<!--
55	    SMF property groups match the regex
56	    ([A-Za-z][ A-Za-z0-9.-]*,)?[A-Za-z][ A-Za-z0-9-]*
57	    swfma was added at the end to allow the class dotted names
58	    The macro SCF_NOTIFY_PG_POSTFIX in libscf.h translates to "swfma"
59	-->
60
61	<instance name='default' enabled='false'>
62		<!--
63		This sets the default notification preferences for FMA events
64		which is to send an email to root and emit a console message via
65		syslog for list.suspect events and to send an SNMP trap for
66		list.suspect, list.repaired and list.resolved events.
67		-->
68
69		<notification_parameters>
70			<event value='problem-diagnosed' />
71			<type name='smtp' active='true'>
72				<paramval name='to' value='root@localhost' />
73				<paramval name='reply-to'
74				    value='root@localhost' />
75			</type>
76			<type name='snmp' active='true' />
77			<type name='syslog' active='true' />
78		</notification_parameters>
79		<notification_parameters>
80			<event value='problem-repaired,problem-resolved' />
81			<type name='snmp' active='true' />
82		</notification_parameters>
83	</instance>
84
85	<stability value='Evolving' />
86
87	<template>
88	    	<common_name>
89		    	<loctext xml:lang='C'>
90				Solaris Fault Manager notification parameters
91			</loctext>
92		</common_name>
93
94		<documentation>
95		    	<manpage
96			    title='smf'
97			    section='5'
98			    manpath='/usr/share/man' />
99		</documentation>
100	</template>
101</service>
102
103</service_bundle>
104