Visokio website     Downloads     Video tutorials     KnowledgeBase  
Sources: initiating a PING and getting the results - Visokio Forums
Sources: initiating a PING and getting the results
  •     sherriff April 22, 2015 4:25AM
    Is there a way to initiate a ping from Omniscope to a remote IP address and get the results?
  • 4 Comments
  •        daniel April 22, 2015 6:17AM
    You might be able to write something in the content view using javascript in html mode which could do the ping for you. This only works to tell you if a server is up.

    In the below example it looks it's hosting an image where if the server is up then it will serve that image. Otherwise it would get a broken link. You don't need to have all the javascript code either. A web image link to the server should work, I used to have a 1x1 pixel in a content view which sole purpose was to record how many people/ip address was accessing a said Omniscope report by looking at a Google analytics report of the link that the 1x1 was on.

    http://www.ehow.com/how_8702459_ping-javascript.html


    Stack overflow has something more complex with AJAX which will return more detailed latency information but you may need some help from someone technical to set that up

    http://stackoverflow.com/questions/4954741/how-to-ping-ip-addresses-using-javascript
  • antonio     antonio April 22, 2015 7:09AM
    If you refer to the PING command, Omniscope does not support PING. PING uses ICMP protocol. Daniel's suggestion will only work if the target runs an HTTP or FTP server.

  • antonio     antonio April 22, 2015 7:12AM
    As a workaround you can embed an online webpage in Content View to ping (e.g. http://ping.eu/ping/ ) and scrape out the results.
  •     sherriff April 22, 2015 10:36PM
    daniel and antonio thank you both most kindly

    I will research and consider your various suggestions.

    my best alternative so far is to use the following API but it pings from a remote server.
    http://api.hackertarget.com/nping/?q=8.8.8.8

    This is fine for establishing whether a node is alive but the latency numbers relate to the round trip time from the remote server not from the machine hosting Omniscope.

Welcome!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership