Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

Tool to check network connectivity

SOLVED
Go to solution
Chandrahasa s
Valued Contributor

Tool to check network connectivity

Hi Masters,

I am looking for tool(or script)which will monitor multiple servers connectivity(ping) and send alert if any server found not reachable.
Tool should be opensource and able to install on hpunix system.

Chandra
13 REPLIES
Steven Schweda
Honored Contributor

Re: Tool to check network connectivity

> I am looking for tool(or script) [...]

Why not write a script yourself?

> [...] send alert [...]

Console message? E-mail?

> [...] on hpunix system.

Then why ask in a Linux forum instead of in
an HP-UX forum?

http://forums.itrc.hp.com/service/forums/familyhome.do?familyId=117
P Muralidhar Kini
Honored Contributor

Re: Tool to check network connectivity

Steven E. Protter
Exalted Contributor

Re: Tool to check network connectivity

Shalom,

linkloop.

Take a look at my latest post on http://hpux.ws and steal the linkloop line.

Very good check of network connectivity.

HP-UX only, and btw you posted to Linux.

HP's openview/ITO tool sets and open source hobbit have good network monitoring that do work on Linux and HP-UX

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
rick jones
Honored Contributor

Re: Tool to check network connectivity

There is a port of linkloop to Linux. it may also be an optional package in SLES11.
there is no rest for the wicked yet the virtuous have no pillows
Raj D.
Honored Contributor

Re: Tool to check network connectivity

Chandrahasa,

Check this out:
The code using here is :
# ping -c n servername
[ -c n is number of packets to send , usually 2 or 3 is enough to determine the status. ]

# check the 10th post:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?&threadId=960333


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
SoorajCleris
HPE Pro

Re: Tool to check network connectivity

Hi,

better than searching for a tool, it will be easy to right a small script for this as you want to check only ping.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Steven Schweda
Honored Contributor

Re: Tool to check network connectivity

> [...] it will be easy to [write] a small
> script [...]

Apparently you aren't looking for forum
points, either.
Torsten.
Acclaimed Contributor

Re: Tool to check network connectivity

You can include

UDN (Unreachable Device Notification)

into your (windows) SMH!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Bhadresh
Trusted Contributor

Re: Tool to check network connectivity

Hi,

You can use fping tool to monitor network connectivity,

There are multiple scripts given in following thread to monitor network traffic:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?&threadId=960333

Regards,
Bhadresh
Steven Schweda
Honored Contributor

Re: Tool to check network connectivity

> There are multiple scripts [...]

A Forum search for keywords like, say:
ping script
might find several things, too.

Personally, I find "ping" scripts less useful
than (slightly) more complex scripts which
test actual functionality. For example, if I
wanted to know if an FTP or Web server on
some system were working, then I would use a
program like wget to fetch an actual file or
Web page from that server. If some such
_real_ task failed, _then_ I might run a
"ping" test, but it would not be my primary
test method.

Why are you running these "multiple servers"?
Are they supposed to do some actual work, or
are they there only to respond to ICMP echo
requests? Why are you testing them?

I've seen many systems which were hung in
some horrible ways, where the only thing they
could do was respond to "ping". If "ping"
response is what you really care about, then
test with "ping". If something else is what
you really care about, then it might make
more sense to test with something else.
Chandrahasa s
Valued Contributor

Re: Tool to check network connectivity

Hi,
As i said we have no. of servers if any server goes down we should get alert saying that server is down.
We have rsp confgured but still we want alternate way also.

Chandra
Bhadresh
Trusted Contributor
Solution

Re: Tool to check network connectivity

>As i said we have no. of servers if any server goes down we should get alert saying that server is down.

There are multiple scripts given in following thread to which sends alert saying that server is down. Please have a look at the thread:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?&threadId=960333

Regards,
Bhadresh
Chandrahasa s
Valued Contributor

Re: Tool to check network connectivity

Thanks to all,

Chandra