
<command name="Open Incident Request">
	<targets>
		<target>/geneos/gateway/directory</target>
	</targets>
	<userCommand>
		<type>script</type>
		<runLocation>gateway</runLocation>
		<args>
			<arg>
				<static>/bin/echo</static>
			</arg>
			<arg>
				<userInput>
					<description>Gateway name</description>
					<xpathOptions>
						<xpathOption>/geneos/gateway/directory/@name</xpathOption>
					</xpathOptions>
				</userInput>
			</arg>
			<arg>
				<userInput>
					<description>Managed Entity name</description>
					<xpathOptions>
						<xpathOption>/geneos/gateway/directory/probe/managedEntity[(state(&quot;severity&quot;)=&quot;3&quot;)]/@name</xpathOption>
					</xpathOptions>
				</userInput>
			</arg>
		</args>
	</userCommand>
</command>