Advertisement
Guest User

Untitled

a guest
Jan 18th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.64 KB | None | 0 0
  1. <joblist>
  2. <job>
  3. <context>
  4. <options preserveOrder='true'>
  5. <option name='deviceSSHPassword' secure='true' valueExposed='true' />
  6. <option name='nodeName' required='true' value='localhost' />
  7. <option name='nodeSSHPassword' secure='true' valueExposed='true' />
  8. <option name='remoteChannelIp' required='true' />
  9. <option delimiter=',' multivalued='true' name='remoteDeviceIP' required='true' />
  10. <option delimiter=',' multivalued='true' name='remoteInterfaces' />
  11. <option name='regionName' />
  12. <option name='regionCode' />
  13. <option name='officeName' />
  14. <option name='officeCode' />
  15. <option name='cityName' />
  16. <option name='streetName' />
  17. <option name='houseName' />
  18. <option name='equipmentRole' />
  19. <option name='linkBw' />
  20. <option name='linkBwUnits' />
  21. <option name='linkMedia' />
  22. </options>
  23. </context>
  24. <description></description>
  25. <dispatch>
  26. <excludePrecedence>false</excludePrecedence>
  27. <keepgoing>false</keepgoing>
  28. <rankOrder>ascending</rankOrder>
  29. <threadcount>5</threadcount>
  30. </dispatch>
  31. <executionEnabled>true</executionEnabled>
  32. <group>diagn</group>
  33. <id>7ed86f96-e80b-4986-ae60-d11c8455cc9c</id>
  34. <loglevel>INFO</loglevel>
  35. <multipleExecutions>true</multipleExecutions>
  36. <name>Diag4</name>
  37. <nodeFilterEditable>true</nodeFilterEditable>
  38. <nodefilters>
  39. <filter>hostname: ${option.nodeName}</filter>
  40. </nodefilters>
  41. <nodesSelectedByDefault>true</nodesSelectedByDefault>
  42. <scheduleEnabled>true</scheduleEnabled>
  43. <sequence keepgoing='true' strategy='node-first'>
  44. <command>
  45. <node-step-plugin type='localexec'>
  46. <configuration>
  47. <entry key='command' value=' echo &lt;regionName&gt;${option.regionName}&lt;/regionName&gt;&lt;regionCode&gt;${option.regionCode}&lt;/regionCode&gt;&lt;officeName&gt;${option.officeName}&lt;/officeName&gt;&lt;officeCode&gt;${option.officeCode}&lt;/officeCode&gt;' />
  48. </configuration>
  49. </node-step-plugin>
  50. </command>
  51. <command>
  52. <jobref group='diagn' name='Diagnostics_channel_ru'>
  53. <arg line='-remote_channel_ip ${option.remoteChannelIp} -remote_device_ip ${option.remoteDeviceIP}' />
  54. </jobref>
  55. </command>
  56. <command>
  57. <jobref group='diagn' name='Diagnostics_channel_mu'>
  58. <arg line='-remote_channel_ip ${option.remoteChannelIp} -remote_device_ip ${option.remoteDeviceIP} -node_name ${option.nodeName} -node_ssh_password ${option.nodeSSHPassword}' />
  59. </jobref>
  60. </command>
  61. <command>
  62. <jobref group='diagn' name='Check_interfaces'>
  63. <arg line='-interfaces ${option.remoteInterfaces} -node_name ${option.remoteDeviceIP} -node_ssh_password ${option.deviceSSHPassword}' />
  64. </jobref>
  65. </command>
  66. <command>
  67. <jobref group='diagn' name='Check_cpuload'>
  68. <arg line='-node_name ${option.remoteDeviceIP} -node_ssh_password ${option.deviceSSHPassword}' />
  69. </jobref>
  70. </command>
  71. <command>
  72. <jobref group='diagn' name='Check_bgp'>
  73. <arg line='-node_name ${option.remoteDeviceIP} -node_ssh_password ${option.deviceSSHPassword}' />
  74. </jobref>
  75. </command>
  76. <command>
  77. <jobref group='diagn' name='Check_uptime' nodeStep='true'>
  78. <arg line='-node_name ${option.remoteDeviceIP} -node_ssh_password ${option.deviceSSHPassword}' />
  79. </jobref>
  80. </command>
  81. </sequence>
  82. <uuid>7ed86f96-e80b-4986-ae60-d11c8455cc9c</uuid>
  83. </job>
  84. </joblist>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement