I want to create a new application to check the local system is currently on or off.
For that I want to ping to the IP Address of that system. How can I perform this activity in Appian.
Discussion posts and replies are publicly visible
I've requested a new plug-in be added to the AppMarket that might help you with this. I'll let you know once it's been reviewed
In case this is still needed: https://community.appian.com/b/appmarket/posts/network-functions
Hi nathanp119,
Do you have to do any more things?
Google.com is not solving well, the only one that gives me true is localhost.
Thanks
From what I've just learnt the InetAddress.isReachable() method which I used in this ping() function has issues (see https://stackoverflow.com/questions/9922543/why-does-inetaddress-isreachable-return-false-when-i-can-ping-the-ip-address). There are some workarounds in the link above but I don't have time at the moment to update the plug-in. I'm happy to give access for someone to update it if requested (https://forum.appian.com/suite/sites/appmarket-submissions/page/home)
Also, Apache also has a telnet java library that could be used in a plug-in to check if an address has a specific port open
I've updated the plugin to replace ping() with isHostListening(). I tested with google.com:80 and 443 successfully
Use Appian’s Integration object to run a script that pings the IP, like how relocation services Dubai streamline logistics.