how to write script to get ping result

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
nieaicai
Posts: 73
Joined: Fri Aug 03, 2012 9:05 pm

how to write script to get ping result

Post by nieaicai »

we often need to get the result of ping from specially appointed source address to specially appointed destination address
can anyone tell me how to write script to achieve it

first telnet a network device
then ping specially appointed address。
get the value of ping
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Ping from hostA to hostB while HostMonitor installed on hostC?
Probably you can use SSH test method.
It depends what OS do you use (OS runnign on hostA)...

On the other hand, you may install Remote Monitoring Agent (RMA) on hostA and use it for various tests, inluding Ping.
RMA for Windows: http://www.ks-soft.net/hostmon.eng/rma-win/index.htm
RMA for UNIX: http://www.ks-soft.net/hostmon.eng/rma-unix/index.htm

Regards
Alex
nieaicai
Posts: 73
Joined: Fri Aug 03, 2012 9:05 pm

Post by nieaicai »

tks for your help

here hostA is a network device such as cisco 、 3com、 juniper routers or switch we can not install rma on it

it is very useful to network administrator.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Then I think its better to check manual for your device.
Some routers may check channel quality and send SNMP Trap messages when problem detected.

Regards
Alex
Post Reply