Skip to content

Commit

Permalink
ping dns/ip
Browse files Browse the repository at this point in the history
Signed-off-by: Romy <[email protected]>
  • Loading branch information
romayalon committed Dec 9, 2024
1 parent a0c0f19 commit cfec6c2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/tools/diagnostics/analyze_network.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ async function test_network(services_info) {
* analyze_service
*/
async function analyze_service(service_type, service_info) {
await ping_service(service_info);
await nslookup_service(service_info);
await ping_service(service_info); // ping DNS
await ping_service(service_info); // ping IP
await curl_service(service_info);
const analyze_service_closure = ANALYZE_FUNCTION_BY_SERVICE_TYPE[service_type];
await analyze_service_closure(service_info);
Expand Down Expand Up @@ -86,7 +87,7 @@ async function analyze_sts(service_info) {
}

async function analyze_iam(service_info) {

// nice to have
}

async function analyze_db(service_info) {
Expand All @@ -104,6 +105,7 @@ async function analyze_metrics(service_info) {
/////////////////////////////////
/// NC //
/////////////////////////////////

async function analyze_forks() {

}
Expand Down

0 comments on commit cfec6c2

Please sign in to comment.