blob: 85a0a5bab6df069ad1c86b23cefb152c3e117656 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
Copyright (c) 2016 Nagios(R) Core(TM) Development Team
-->
<service_bundle type='manifest' name='NGOS:nrpe'>
<service
name='network/nagios/nrpe'
type='service'
version='1'>
<restarter>
<service_fmri value='svc:/network/inetd:default' />
</restarter>
<dependency name='config_data'
grouping='require_all'
restart_on='restart'
type='path'>
<service_fmri
value='file://localhost@sysconfdir@/nrpe.cfg' />
</dependency>
<exec_method
type='method'
name='inetd_start'
exec='@sbindir@/nrpe -c @pkgsysconfdir@/nrpe.cfg -i'
timeout_seconds='0'>
<method_context>
<method_credential user='@nrpe_user@' group='@nrpe_group@'/>
</method_context>
</exec_method>
<exec_method
type='method'
name='inetd_offline'
exec=':kill_process'
timeout_seconds='0'/>
<exec_method
type='method'
name='inetd_disable'
exec=':kill'
timeout_seconds='0'/>
<property_group name='inetd' type='framework'>
<stability value='Evolving' />
<propval name='name' type='astring' value='nrpe' />
<propval name='endpoint_type' type='astring' value='stream' />
<propval name='proto' type='astring' value='tcp' />
<propval name='wait' type='boolean' value='false' />
<propval name='isrpc' type='boolean' value='false' />
</property_group>
<property_group name='general' type='framework'>
<propval name='enabled'
type='boolean'
value='false'/>
<propval name='action_authorization'
type='astring'
value='solaris.smf.manage.nrpe'/>
<propval name='value_authorization'
type='astring'
value='solaris.smf.manage.nrpe'/>
</property_group>
<instance name='default' enabled='false' />
<stability value='Unstable' />
<template>
<common_name>
<loctext xml:lang="C">NRPE daemon</loctext>
</common_name>
<description>
<loctext xml:lang="C">
Nagios Remote Plugin Executor daemon
</loctext>
</description>
<documentation>
<doc_link name='nagios.org' uri='http://www.nagios.org' />
</documentation>
</template>
</service>
</service_bundle>
|