This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathRB_Linux_NetworkDiag.json
1 lines (1 loc) · 6.97 KB
/
RB_Linux_NetworkDiag.json
1
[{"name":"Linux - Network Diagnostics","description":"This runbook is intended to provide steps with automations each doing some basic network diagnostic steps on/from the targeted system. \nAutomations provided by this runbook can be used in your own runbook as well.","steps":[{"number":1,"description":"\n<p dir=\"ltr\">Have a closer look to the <strong>network interfaces </strong>of the specified target system <span class=\"span-grp rba-param\" contenteditable=\"false\">TARGET</span></p>\n\n<p dir=\"ltr\"><span class=\"span-grp rba-autom\" data-automationid=\"§§exportedAutomation_2_§§\" data-mappingid=\"3\" contenteditable=\"false\">Get Network Interfaces</span></p>\n\n"},{"number":2,"description":"\n<p dir=\"ltr\">Get the default <strong>routing </strong>table on the specified target system: <span class=\"span-grp rba-param\" contenteditable=\"false\">TARGET</span></p>\n\n<p dir=\"ltr\"><span class=\"span-grp rba-autom\" data-automationid=\"§§exportedAutomation_3_§§\" data-mappingid=\"4\" contenteditable=\"false\">Get standard Network Routing Tables</span></p>\n\n<p dir=\"ltr\"> \n</p>"},{"number":3,"description":"<p></p>\n\n<p dir=\"ltr\">In the first step we check that the specified destination <span class=\"span-grp rba-param\" contenteditable=\"false\">DESTINATION</span> can be reached by the specified target system <span class=\"span-grp rba-param\" contenteditable=\"false\">TARGET</span> via a standard <strong>PING </strong>command.</p>\n\n<p dir=\"ltr\"> </p>\n\n<p dir=\"ltr\"><span class=\"span-grp rba-autom\" data-automationid=\"§§exportedAutomation_0_§§\" data-mappingid=\"1\" contenteditable=\"false\">Check Network Connection</span></p>\n\n<p dir=\"ltr\"> </p>\n\n<p dir=\"ltr\">The <strong>\"Ping statistics\" </strong>section shows average numbers created by the probes done by the for the ping process. It is displayed the number of packets sent and received. You see number and percentage of packets that were lost. In case that any packets are lost, you seem to have a network connection problem.</p>\n\n<p dir=\"ltr\">In the <strong>\"Approximate round trip times\" </strong>section you get an overview of your connection speed.<br>\nA higher number here has to be seen as a slower connection to the destination.</p>\n\n<p dir=\"ltr\"> </p>\n\n"},{"number":4,"description":"\n<p dir=\"ltr\">In this step a more detailed check is done to reach the specified destination<br>\n<span class=\"span-grp rba-param\" contenteditable=\"false\">DESTINATION</span> from the target system <span class=\"span-grp rba-param\" contenteditable=\"false\">TARGET</span></p>\n\n<p dir=\"ltr\"> </p>\n\n<p dir=\"ltr\"><span class=\"span-grp rba-autom\" data-automationid=\"§§exportedAutomation_1_§§\" data-mappingid=\"2\" contenteditable=\"false\">Route Network Path</span></p>\n\n<p dir=\"ltr\"><br>\n </p>\n"}],"parameters":[{"name":"TARGET","description":"Target system where the script will be executed"},{"name":"DESTINATION","description":"This is the Destination server to be used for the checks from the target"}],"tags":["linux","network"],"automationMappings":[{"mappingId":"1","parameterMappings":[{"automationParameterName":"target","parameterMappingType":"parameter","parameterValue":"TARGET"},{"automationParameterName":"user","parameterMappingType":"fixed","parameterValue":"root"},{"automationParameterName":"$Iterations","parameterMappingType":"fixed","parameterValue":"5"},{"automationParameterName":"$Destination","parameterMappingType":"parameter","parameterValue":"DESTINATION"}]},{"mappingId":"2","parameterMappings":[{"automationParameterName":"target","parameterMappingType":"parameter","parameterValue":"TARGET"},{"automationParameterName":"user","parameterMappingType":"fixed","parameterValue":"root"},{"automationParameterName":"$Destination","parameterMappingType":"parameter","parameterValue":"DESTINATION"},{"automationParameterName":"$MaxHops","parameterMappingType":"fixed","parameterValue":"8"}]},{"mappingId":"3","parameterMappings":[{"automationParameterName":"target","parameterMappingType":"parameter","parameterValue":"TARGET"},{"automationParameterName":"user","parameterMappingType":"fixed","parameterValue":"root"}]},{"mappingId":"4","parameterMappings":[{"automationParameterName":"target","parameterMappingType":"parameter","parameterValue":"TARGET"},{"automationParameterName":"user","parameterMappingType":"fixed","parameterValue":"root"}]}],"automations":{"§§exportedAutomation_0_§§":{"name":"Check Network Connection","type":"SCRIPT","description":"This simple automation runs a number of ping calls from the target system to a specified endpoint","parameters":[{"name":"target","description":"Target system where the script will be executed"},{"name":"user","description":"User ID that is used to run the script"},{"name":"$Iterations","description":"This is the number of iterations that ping should run","defaultValue":"3"},{"name":"$Destination","description":"This is the Destination to be checked from the Target"}],"fields":[{"name":"script_ssh","description":"script content","encoding":"base64","value":"aWYgWyAtbiAkSXRlcmF0aW9ucyAtYSAkSXRlcmF0aW9ucyAtZ3QgMCBdOyB0aGVuCiAgZWNobyAnQ2hlY2tpbmcgJyRJdGVyYXRpb25zJyB0aW1lcycKICBwaW5nIC1jICRJdGVyYXRpb25zICREZXN0aW5hdGlvbgplbHNlIAogIGVjaG8gJ0l0ZXJhdGlvbiBtdXN0IGJlIHNldCB0byA+IDAnCmZp"}]},"§§exportedAutomation_1_§§":{"name":"Route Network Path","type":"SCRIPT","description":"With the traceroute command used in this automation you trace the connection path which is taken from the current system to a specified Destination","parameters":[{"name":"target","description":"Target system where the script will be executed"},{"name":"user","description":"User ID that is used to run the script"},{"name":"$Destination","description":"This is the destination server to be used to route the connection"},{"name":"$MaxHops","description":"This is the maximum number of hops to the destination","defaultValue":"5"}],"fields":[{"name":"script_ssh","description":"script content","encoding":"base64","value":"dHJhY2VwYXRoIC1iIC1tICRNYXhIb3BzICREZXN0aW5hdGlvbg=="}]},"§§exportedAutomation_2_§§":{"name":"Get Network Interfaces","type":"SCRIPT","description":"With the command ifconfig you get an overview of all network interfaces and the assigned IP addresses.","parameters":[{"name":"target","description":"Target system where the script will be executed"},{"name":"user","description":"User ID that is used to run the script"}],"fields":[{"name":"script_ssh","description":"script content","encoding":"base64","value":"aWZjb25maWc="}]},"§§exportedAutomation_3_§§":{"name":"Get standard Network Routing Tables","type":"SCRIPT","description":"With netstat you can check a lot of different network settings of your system. This automation show the routing table only.","parameters":[{"name":"target","description":"Target system where the script will be executed"},{"name":"user","description":"User ID that is used to run the script"}],"fields":[{"name":"script_ssh","description":"script content","encoding":"base64","value":"bmV0c3RhdCAtcg=="}]}}}]