252N/A<?xml version="1.0"?>
252N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
252N/A<!--
252N/A CDDL HEADER START
252N/A
252N/A The contents of this file are subject to the terms of the
252N/A Common Development and Distribution License (the "License").
252N/A You may not use this file except in compliance with the License.
252N/A
252N/A You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
252N/A or http://www.opensolaris.org/os/licensing.
252N/A See the License for the specific language governing permissions
252N/A and limitations under the License.
252N/A
252N/A When distributing Covered Code, include this CDDL HEADER in each
252N/A file and include the License file at usr/src/OPENSOLARIS.LICENSE.
252N/A If applicable, add the following below this CDDL HEADER, with the
252N/A fields enclosed by brackets "[]" replaced with your own identifying
252N/A information: Portions Copyright [yyyy] [name of copyright owner]
252N/A
252N/A CDDL HEADER END
252N/A
5868N/A Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved.
252N/A
252N/A NOTE: This service description is not editable; its contents
252N/A may be overwritten by package or patch operations, including
252N/A operating system upgrade. Make customizations in a different
252N/A file.
252N/A
252N/A Service manifest for the net-snmp daemon
252N/A-->
252N/A
252N/A<service_bundle type='manifest' name='SUNWnet-snmp-core:net-snmp'>
252N/A
252N/A<service
252N/A name='application/management/net-snmp'
252N/A type='service'
252N/A version='1'>
252N/A
252N/A <create_default_instance enabled='false' />
252N/A
252N/A <single_instance />
252N/A
252N/A <dependency
298N/A name='multi-user'
252N/A grouping='require_all'
252N/A restart_on='none'
252N/A type='service'>
298N/A <service_fmri value='svc:/milestone/multi-user' />
252N/A </dependency>
252N/A
252N/A <!-- Need / & /usr filesystems mounted, /var mounted read/write -->
252N/A <dependency
252N/A name='fs-local'
252N/A type='service'
252N/A grouping='require_all'
252N/A restart_on='none'>
252N/A <service_fmri value='svc:/system/filesystem/local' />
252N/A </dependency>
252N/A
252N/A <dependency
252N/A name='name-services'
252N/A grouping='optional_all'
252N/A restart_on='none'
252N/A type='service'>
252N/A <service_fmri value='svc:/milestone/name-services' />
252N/A </dependency>
252N/A
252N/A <dependency
252N/A name='system-log'
252N/A grouping='optional_all'
252N/A restart_on='none'
252N/A type='service'>
252N/A <service_fmri value='svc:/system/system-log' />
252N/A </dependency>
252N/A
252N/A <dependency
252N/A name='rstat'
252N/A grouping='optional_all'
252N/A restart_on='none'
252N/A type='service'>
252N/A <service_fmri value='svc:/network/rpc/rstat' />
252N/A </dependency>
252N/A
252N/A <dependency name='cryptosvc'
252N/A grouping='require_all'
252N/A restart_on='restart'
252N/A type='service'>
252N/A <service_fmri value='svc:/system/cryptosvc' />
252N/A </dependency>
252N/A
252N/A <dependency
252N/A name='network'
252N/A grouping='require_all'
252N/A restart_on='restart'
252N/A type='service'>
252N/A <service_fmri value='svc:/milestone/network' />
252N/A </dependency>
252N/A
252N/A <dependency
252N/A name='config-file'
252N/A grouping='require_all'
252N/A restart_on='refresh'
252N/A type='path'>
252N/A <service_fmri
252N/A value='file://localhost/etc/net-snmp/snmp/snmpd.conf' />
252N/A </dependency>
252N/A
252N/A <exec_method
252N/A type='method'
252N/A name='start'
252N/A exec='/lib/svc/method/svc-net-snmp'
252N/A timeout_seconds='60'>
252N/A </exec_method>
252N/A
252N/A <exec_method
252N/A type='method'
252N/A name='stop'
252N/A exec=':kill'
252N/A timeout_seconds='60'>
252N/A </exec_method>
252N/A
252N/A <exec_method
252N/A type='method'
252N/A name='refresh'
252N/A exec=':kill -HUP'
252N/A timeout_seconds='60'>
252N/A </exec_method>
252N/A
252N/A <property_group name='general' type='framework'>
252N/A <!-- to start/stop net-snmp -->
252N/A <propval name='action_authorization' type='astring'
252N/A value='solaris.smf.manage.net-snmp' />
252N/A <propval name='value_authorization' type='astring'
252N/A value='solaris.smf.manage.net-snmp' />
252N/A </property_group>
252N/A
252N/A <stability value='Unstable' />
252N/A
252N/A <template>
252N/A <common_name>
252N/A <loctext xml:lang='C'>
252N/A net-snmp SNMP daemon
252N/A </loctext>
252N/A </common_name>
252N/A
252N/A <documentation>
252N/A <manpage title='snmpd' section='8'
252N/A manpath='/usr/share/man/' />
252N/A </documentation>
252N/A
252N/A </template>
252N/A
252N/A</service>
252N/A
252N/A</service_bundle>