Sorry if this has been covered before, but i cannot get DHCP test to work.
I enter the host of ip of the dhcp server, timeout 5000, request ip ='current local ip', and i get status of 'no answer'.
If i download your dhcpcheck.exe and test it manually from command prompt, i get 'Host is alive: 14 ms'
Any hints as to what i am doing wrong ?
Thanks in advance.
Dave
DHCP
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Could you provide more information, please?
- What version of HostMonitor do you use?
- What Windows do you use? Service Pack?
- Is HostMonitor started as a service or as an application?
- What exact parameters have you specified fot dhcpcheck.exe utility?
- Have you started dhcpcheck.exe utility from the same machine, where HostMonitor is running?
Regards,
Max
- What version of HostMonitor do you use?
- What Windows do you use? Service Pack?
- Is HostMonitor started as a service or as an application?
- What exact parameters have you specified fot dhcpcheck.exe utility?
- Have you started dhcpcheck.exe utility from the same machine, where HostMonitor is running?
Regards,
Max
I am using the latest version 7.70 beta (also didn't work with 7.52)
Using Windows XP service pack 2
HostMonitor is currently being used as an application.
Parameters with dhcpcheck.exe...
C:\Program Files\HostMonitor7>dhcpcheck.exe -host:172.16.16.65 -timeout 5000
ScriptRes:Host is alive:14 ms
I am running the dhcpcheck.exe utility from the same machine as Hostmonitor is running on.
Dave
Using Windows XP service pack 2
HostMonitor is currently being used as an application.
Parameters with dhcpcheck.exe...
C:\Program Files\HostMonitor7>dhcpcheck.exe -host:172.16.16.65 -timeout 5000
ScriptRes:Host is alive:14 ms
I am running the dhcpcheck.exe utility from the same machine as Hostmonitor is running on.
Dave
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Hm. In your case I would suggest you to use "Shell Script" test method. dhcpcheck.exe utility is designed for "Schell Script" test method, so you may setup "Shell Script" test method to execute dhcpcheck.exe utility: http://www.ks-soft.net/hostmon.eng/mfra ... m#chkShell
You just should create a new script in "Script Manager" with following settings:
Start cmd: %Script% %Params%
Script: C:\Program Files\HostMonitor7\dhcpcheck.exe -host:%1 -timeout 5000
When you setup new test using foregoing script, you should specify 172.16.16.65 into "Params" inout box.
Regards,
Max
You just should create a new script in "Script Manager" with following settings:
Start cmd: %Script% %Params%
Script: C:\Program Files\HostMonitor7\dhcpcheck.exe -host:%1 -timeout 5000
When you setup new test using foregoing script, you should specify 172.16.16.65 into "Params" inout box.
Regards,
Max
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
dhcpcheck.exe utility sends DHCPINFORM packet to the DHCP server, while "DHCP" test method sends DHCPREQUEST packet in order to request specified IP. Probably, "DHCP" test will work for you if you specify IP-address from the scope, managed by target server, instead of <current local IP> into "Request IP" input box in "Test Properties" window.
Regards,
Max
Regards,
Max
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact: