Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <joblist>
- <job>
- <context>
- <options preserveOrder='true'>
- <option name='deviceSSHPassword' secure='true' valueExposed='true' />
- <option name='nodeName' required='true' value='localhost' />
- <option name='nodeSSHPassword' secure='true' valueExposed='true' />
- <option name='remoteChannelIp' required='true' />
- <option delimiter=',' multivalued='true' name='remoteDeviceIP' required='true' />
- <option delimiter=',' multivalued='true' name='remoteInterfaces' />
- <option name='regionName' />
- <option name='regionCode' />
- <option name='officeName' />
- <option name='officeCode' />
- <option name='cityName' />
- <option name='streetName' />
- <option name='houseName' />
- <option name='equipmentRole' />
- <option name='linkBw' />
- <option name='linkBwUnits' />
- <option name='linkMedia' />
- </options>
- </context>
- <description></description>
- <dispatch>
- <excludePrecedence>false</excludePrecedence>
- <keepgoing>false</keepgoing>
- <rankOrder>ascending</rankOrder>
- <threadcount>5</threadcount>
- </dispatch>
- <executionEnabled>true</executionEnabled>
- <group>diagn</group>
- <id>7ed86f96-e80b-4986-ae60-d11c8455cc9c</id>
- <loglevel>INFO</loglevel>
- <multipleExecutions>true</multipleExecutions>
- <name>Diag4</name>
- <nodeFilterEditable>true</nodeFilterEditable>
- <nodefilters>
- <filter>hostname: ${option.nodeName}</filter>
- </nodefilters>
- <nodesSelectedByDefault>true</nodesSelectedByDefault>
- <scheduleEnabled>true</scheduleEnabled>
- <sequence keepgoing='true' strategy='node-first'>
- <command>
- <node-step-plugin type='localexec'>
- <configuration>
- <entry key='command' value=' echo <regionName>${option.regionName}</regionName><regionCode>${option.regionCode}</regionCode><officeName>${option.officeName}</officeName><officeCode>${option.officeCode}</officeCode>' />
- </configuration>
- </node-step-plugin>
- </command>
- <command>
- <jobref group='diagn' name='Diagnostics_channel_ru'>
- <arg line='-remote_channel_ip ${option.remoteChannelIp} -remote_device_ip ${option.remoteDeviceIP}' />
- </jobref>
- </command>
- <command>
- <jobref group='diagn' name='Diagnostics_channel_mu'>
- <arg line='-remote_channel_ip ${option.remoteChannelIp} -remote_device_ip ${option.remoteDeviceIP} -node_name ${option.nodeName} -node_ssh_password ${option.nodeSSHPassword}' />
- </jobref>
- </command>
- <command>
- <jobref group='diagn' name='Check_interfaces'>
- <arg line='-interfaces ${option.remoteInterfaces} -node_name ${option.remoteDeviceIP} -node_ssh_password ${option.deviceSSHPassword}' />
- </jobref>
- </command>
- <command>
- <jobref group='diagn' name='Check_cpuload'>
- <arg line='-node_name ${option.remoteDeviceIP} -node_ssh_password ${option.deviceSSHPassword}' />
- </jobref>
- </command>
- <command>
- <jobref group='diagn' name='Check_bgp'>
- <arg line='-node_name ${option.remoteDeviceIP} -node_ssh_password ${option.deviceSSHPassword}' />
- </jobref>
- </command>
- <command>
- <jobref group='diagn' name='Check_uptime' nodeStep='true'>
- <arg line='-node_name ${option.remoteDeviceIP} -node_ssh_password ${option.deviceSSHPassword}' />
- </jobref>
- </command>
- </sequence>
- <uuid>7ed86f96-e80b-4986-ae60-d11c8455cc9c</uuid>
- </job>
- </joblist>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement