Solved

changing ping parameters

Posted on 2000-04-10
5
337 Views
Last Modified: 2013-12-23
I use a third party software package to monitor my web servers and WAN connections to other locations.  The WAN connections are monitored by pinging the far side of router and on slow connections the ping command times out and causes an alarm.  The software uses only the NT Ping command and there are no parameters included to change the time out value.  I am wondering if there is a way to modify the ping command paramters within Windows NT.  I know it can be done from the command line but it needs to default to a slower timeout value when you just run a ping xxx.xxx.xxx.xxx command.
0
Comment
Question by:g0swell
5 Comments
 
LVL 3

Expert Comment

by:apadua
ID: 2702467
what you can do, and I hope works, is this. rename Ping.exe to ping2.exe, or whatever.

then create a file called ping.bat, and in it you have a line that says

ping2.exe -w 2500 %1

where 2500 is the timeout value in ms.

That's the only line you'll have in your bat file.

It'll work if your app calles for ping, and won't work if your app calls for ping.exe

Good luck,


ANdre
0
 
LVL 10

Expert Comment

by:rbr
ID: 2703204
Are you sure that the programm uses the Windows NT ping and doesn't ping itself?
0
 
LVL 23

Expert Comment

by:Tim Holman
ID: 2703388
Get some better monitoring software !
Nowhere in the registry can you change ICMP default timeout as the default tools supplied (ping, tracert etc) can be used directly with timeout values applied.
ie - network monitor will let you bring up little PING graphs.
0
 
LVL 3

Expert Comment

by:apadua
ID: 2706145
g0swell,

How are things going? Did it work?

Andre.
0
 

Accepted Solution

by:
ronix earned 100 total points
ID: 2707236
Maybe you can change the registry value for the default TTL.
For Win NT 3.51, default :  32
For Win NT 4.0 , default : 128

Key : Tcpip\Parameters
Value : DefaultTTL
Value Type : REG_DWORD
Valid Range : 1 - 255
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

774 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question