Agent does not support HTTP test

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
Son_Of_Diablo
Posts: 5
Joined: Tue Nov 01, 2016 6:30 am

Agent does not support HTTP test

Post by Son_Of_Diablo »

Hello

I'm trying to setup a HTTP test so I can check the header of some sites (look for response codes).

But HM gives me the following message when I try to create the test:
Warning: Agent AgentName does not support specified test.
Would you like to perform this test by HostMonitor?

I need the agent to run the test as the site isn't available publicly.


HostMonitor version: 9.58
Agent version: 4.62



Thanks for reading :)
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You may use URL Request test instead:
http://www.ks-soft.net/hostmon.eng/mfra ... ts.htm#url
Son_Of_Diablo
Posts: 5
Joined: Tue Nov 01, 2016 6:30 am

Post by Son_Of_Diablo »

KS-Soft Europe wrote:You may use URL Request test instead:
http://www.ks-soft.net/hostmon.eng/mfra ... ts.htm#url

I have looked at that as an option, but it doesn't look like it can check the header for response codes.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

URL Request test may check HTTP header and HTTP code.
This can be done using variables %HttpCode% and %HttpHeader%.

E.g. If you need to set Warning status if HTTP code is 403, you may use "Use Warning status if" option with expression like the following:
'%HTTPCode%'=='403'
another example of "Use Warning status if" expression:
('%HTTPCode%'=='403') OR ('%HTTPCode%'=='302')

Please note, "Use Warning status if" option is located on Test properties dialog and can be hidden.
You may press "[+]" icon above "Help" button to show all "Optional status processing" options.

Please check for details at:
http://www.ks-soft.net/hostmon.eng/mfra ... ificmacros
Son_Of_Diablo
Posts: 5
Joined: Tue Nov 01, 2016 6:30 am

Post by Son_Of_Diablo »

KS-Soft Europe wrote:URL Request test may check HTTP header and HTTP code.
This can be done using variables %HttpCode% and %HttpHeader%.

E.g. If you need to set Warning status if HTTP code is 403, you may use "Use Warning status if" option with expression like the following:
'%HTTPCode%'=='403'
another example of "Use Warning status if" expression:
('%HTTPCode%'=='403') OR ('%HTTPCode%'=='302')

Please note, "Use Warning status if" option is located on Test properties dialog and can be hidden.
You may press "[+]" icon above "Help" button to show all "Optional status processing" options.

Please check for details at:
http://www.ks-soft.net/hostmon.eng/mfra ... ificmacros
Thank you very much! that just saved my behind :)
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You are welcome!
Post Reply