⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 threshd-configuration.xsd

📁 opennms得相关源码 请大家看看
💻 XSD
字号:
<?xml version="1.0"?><schema xmlns="http://www.w3.org/2001/XMLSchema"	targetNamespace="http://xmlns.opennms.org/xsd/config/threshd">	<element name="threshd-configuration">		<complexType>			<sequence>				<!--- package encapsulating addresses eligible for thresholding.				-->				<element ref="package" minOccurs="1" maxOccurs="unbounded"/>								<!--- service thresholders -->				<element ref="thresholder" minOccurs="1" maxOccurs="unbounded"/>			</sequence>			<!--- the max number of threads used for thresholding -->			<attribute name="threads" type="int" use="required"/>		</complexType>	</element>		<!--- thresholder for a service -->	<element name="thresholder">		<complexType>			<!--- the parameters for performing thresholding via this service -->			<sequence>				<element ref="parameter" minOccurs="0" maxOccurs="unbounded"/>			</sequence>						<!--- the service name -->			<attribute name="service" type="string" use="required"/>			<!--- the class used to perform thresholding via the service -->			<attribute name="class-name" type="string" use="required"/>		</complexType>	</element>		<!--- package encapsulating addresses eligible for thresholding. -->	<element name="package">		<complexType>			<sequence>				<!--- a rule which adresses belonging to this package must pass - 				      this package is applied only to addresses that pass this filter				-->				<element ref="filter" minOccurs="1" maxOccurs="1"/>								<!--- adresseses in this package -->				<element name="specific" type="string" minOccurs="0" maxOccurs="unbounded"/>				<!--- range of adresses in this package -->				<element ref="include-range" minOccurs="0" maxOccurs="unbounded"/>				<!--- range of adresses to be excluded from this package -->				<element ref="exclude-range" minOccurs="0" maxOccurs="unbounded"/>				<!--- a file URL holding specific addresses to be polled. Each line in				      the URL file can be one of-             				<IP><space>#<comments>             				or             				<IP>             				or             				#<comments>             			       Lines starting with a '#' are ignored and so are characters after				       a '<space>#' in a line.				-->				<element name="include-url" type="string" minOccurs="0" maxOccurs="unbounded"/>				<!--- services for which thresholding is to occur in this package -->				<element ref="service" minOccurs="0" maxOccurs="unbounded"/>								<!--- scheduled outages - thresholding is not performed during scheduled outages -->				<element name="outage-calendar" type="string" minOccurs="0" maxOccurs="unbounded"/>			</sequence>			<!--- the name or identifier for this package -->			<attribute name="name" type="string" use="required"/>					</complexType>	</element>	<!--- a rule which adresses belonging to this package must pass - 	      this package is applied only to addresses that pass this filter	-->	<element name="filter">		<complexType>			<simpleContent>				<extension base="string"/>			</simpleContent>		</complexType>	</element>		<!--- range of adresses to be included in this package -->	<element name="include-range">		<complexType>			<!--- starting address of the range -->			<attribute name="begin" type="string" use="required"/>			<!--- ending address of the range -->			<attribute name="end" type="string" use="required"/>		</complexType>	</element>	<!--- range of adresses to be excluded from this package -->	<element name="exclude-range">		<complexType>			<!--- starting address of the range -->			<attribute name="begin" type="string" use="required"/>			<!--- ending address of the range -->			<attribute name="end" type="string" use="required"/>		</complexType>	</element>		<!--- service for which thresholding is to be performed for addresses in this package -->	<element name="service">		<complexType>			<!--- parameters to be used for doing thresholding via this service 				"thresholding-group" : name of the thresholding group to use						       Thresholding groups are defined in 						       'thresholding-config.xml'.			-->				<sequence>				<element ref="parameter" minOccurs="0" maxOccurs="unbounded"/>			</sequence>			<!--- the service name -->			<attribute name="name" type="string" use="required"/>			<!--- the interval at which the service is to be threshold checked -->			<attribute name="interval" type="long" use="required"/>			<!--- marker to say if service is user defined, used specifically for UI purposes -->			<attribute name="user-defined" type="string" use="optional">				<simpleType>					<restriction base="string">						<pattern value="(true|false)"/>					</restriction>				</simpleType>			</attribute>			<!--- status of the service, service is threshold checked only if on -->			<attribute name="status" type="string" use="optional">				<simpleType>					<restriction base="string">						<pattern value="(on|off)"/>					</restriction>				</simpleType>			</attribute>		</complexType>	</element>		<!--- parameters to be used for threshold checking this service -  Parameters are specfic to	      the service thresholder	-->	<element name="parameter">		<complexType>			<attribute name="key" type="string" use="required"/>			<attribute name="value" type="string" use="required"/>		</complexType>	</element></schema>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -