DHCP

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
dstj
Posts: 24
Joined: Wed Mar 15, 2006 2:12 pm

DHCP

Post by dstj »

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
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

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
dstj
Posts: 24
Joined: Wed Mar 15, 2006 2:12 pm

Post by dstj »

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
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

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
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

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
dstj
Posts: 24
Joined: Wed Mar 15, 2006 2:12 pm

Post by dstj »

Thanks for the help.

"Shell Script" method worked great.

'DHCP test' still no go, even if i use my current local IP in the 'request ip' input box. (very odd).

Dave
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

dstj wrote:"Shell Script" method worked great.
Glad to hear that.
dstj wrote:'DHCP test' still no go, even if i use my current local IP in the 'request ip' input box. (very odd).
Ok. Thank you for your feedback. We will check the code.

Regards,
Max
Post Reply