-
Notifications
You must be signed in to change notification settings - Fork 9
/
RB_Linux_StartupDiag.json
1 lines (1 loc) · 4.24 KB
/
RB_Linux_StartupDiag.json
1
[{"name":"Linux - Startup Diagnostics","description":"This runbooks gives details about the start time consumed by critical Linux components.","steps":[{"number":1,"description":"\n<p dir=\"ltr\">In the first step you get an overview of the <strong>boot-up performance</strong> of critical components for the specified target system: <span class=\"span-grp rba-param\" contenteditable=\"false\">TARGET</span></p>\n\n<p dir=\"ltr\"><strong>Note:</strong> This automation only works on systemd controlled systems.</p>\n\n<p dir=\"ltr\"><span class=\"span-grp rba-autom\" data-automationid=\"§§exportedAutomation_0_§§\" data-mappingid=\"2\" contenteditable=\"false\">Get Boot-up Performance</span></p>\n\n<p dir=\"ltr\"> </p>\n\n"},{"number":2,"description":"\n<p dir=\"ltr\">List all services defined on the specified system <span class=\"span-grp rba-param\" contenteditable=\"false\">TARGET</span>in order to check the individual services in next step.</p>\n\n<p dir=\"ltr\"><span class=\"span-grp rba-autom\" data-automationid=\"§§exportedAutomation_1_§§\" data-mappingid=\"3\" contenteditable=\"false\">Get Status of all Defined Services</span></p>\n\n<p dir=\"ltr\">The automation provides you a list and the status of defined services on your system.<br>\nIt is possible to list startup time for those listed services by updating the service name in the parameter section of the runbook and run the automation in following step.</p>\n\n<p dir=\"ltr\">In case you do not want more details about individual service startup times <span class=\"span-grp rba-goto\" data-stepid=\"-1\" contenteditable=\"false\">END</span></p>\n\n<p dir=\"ltr\"> </p>\n\n"},{"number":3,"description":"\n<p dir=\"ltr\">In this step you can check the individual services on the specified 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_0_§§\" data-mappingid=\"4\" contenteditable=\"false\">Get Boot-up Performance</span></p>\n"}],"parameters":[{"name":"TARGET","description":"System to be checked"},{"name":"SERVICENAME","isNotReqOnStart":true,"description":"This is the service to be controlled","defaultValue":""}],"tags":["linux.","boot","performance"],"automationMappings":[{"mappingId":"2","parameterMappings":[{"automationParameterName":"target","parameterMappingType":"parameter","parameterValue":"TARGET"},{"automationParameterName":"user","parameterMappingType":"fixed","parameterValue":"root"},{"automationParameterName":"$Service","parameterMappingType":"parameter","parameterValue":"SERVICENAME"}]},{"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"},{"automationParameterName":"$Service","parameterMappingType":"parameter","parameterValue":"SERVICENAME"}]}],"automations":{"§§exportedAutomation_0_§§":{"name":"Get Boot-up Performance","type":"SCRIPT","description":"This automation makes use of the systemd-analyze feature to check for the time required by critical components to start.","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":"$Service","description":"This is the service to be controlled","defaultValue":""}],"fields":[{"name":"script_ssh","description":"script content","encoding":"base64","value":"c3lzdGVtZC1hbmFseXplIGNyaXRpY2FsLWNoYWluICRTZXJ2aWNl"}]},"§§exportedAutomation_1_§§":{"name":"Get Status of all Defined Services","type":"SCRIPT","description":"This automation lists the status of all defined services on the system specified by parameter.","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":"c2VydmljZSAtLXN0YXR1cy1hbGw="}]}}}]