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”