Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

API & Integration

Reply
Highlighted
Accepted Solution

ping sweep method in perl API?

Techie
Posts: 6
3101     0

Is there any means to do a ping sweep of a network or IP range in the perl API, akin to the "ping sweep" button in the GUI?  And have the call return an array or list of IP's that responded to the ping?

Highlighted

Re: ping sweep method in perl API?

Adviser
Posts: 136
3102     0

Hi,

 

There is no such API call, but you can create/start discovery task and discover the network.

 

BR,

Vadim

Highlighted

Re: ping sweep method in perl API?

Techie
Posts: 6
3102     0

Answering my own question, within my perl code I did:

 

@result = `/usr/bin/nmap -sn -n -oG - $ipstart-$end | /usr/bin/grep -v ^#`;

 

Then parse @result to get the info I need.

Showing results for 
Search instead for 
Do you mean 

Recommended for You