cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Check if endpoint is live

SL12345
New Contributor III

Hi snaplogic experts,
Is it possible to ping a server and check if it is up or down using snap? or do i need to create workaround lets say, use file reader or directory browser?
(now i use directory browser, but after that i need to clean it little bit in order to get one result)

thank you

1 ACCEPTED SOLUTION

bojanvelevski
Valued Contributor

Hi @SL12345,

What type of server?

If itโ€™s an http/s you can simply use the Rest Get snap to check if itโ€™s up.
If you want to ping the server directly, you can use a script snap that will start up a CMD console and execute a certain command, in your case:

โ€œping server_addressโ€

View solution in original post

1 REPLY 1

bojanvelevski
Valued Contributor

Hi @SL12345,

What type of server?

If itโ€™s an http/s you can simply use the Rest Get snap to check if itโ€™s up.
If you want to ping the server directly, you can use a script snap that will start up a CMD console and execute a certain command, in your case:

โ€œping server_addressโ€