Hostmonitor Alerting via URL ?

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
cedriclocqueneux
Posts: 1
Joined: Wed Apr 25, 2012 9:11 am

Hostmonitor Alerting via URL ?

Post by cedriclocqueneux »

Hi,

I try to configure an alert with a http request, but i don't understand how to use it :/

I want to use this request to send a notification on my mobile:

http://api.pushingbox.com/pushingbox?de ... tickets=50

I configure action like this:

Image

But it does nothing, and i don't have error message.
If i copy this url in IE, it works without problem.

Can you explain me how to use it, the help is not very clear for me :(
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Your request looks well.
Maybe your server requires additional http headers like:
GET http://api.pushingbox.com/pushingbox?de ... tickets=50 HTTP/1.0
Host: api.pushingbox.com
Offer
Posts: 21
Joined: Mon Dec 13, 2010 10:43 am

I have the same problem.

Post by Offer »

copied and pasted the URL from a working example in IE, but nothing happens.
How can I trace the request and answer from the server so I can troubleshoot this?
Thanks!
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Could you please provide some details?
- What software do you use (version)?
- What exactly means "copied and pasted the URL"? Are you using "HTTP request" action method? HTTP request? HTTPS?
- What exactly means "nothing happens"? Have you checked server logs?

Regards
Alex
Offer
Posts: 21
Joined: Mon Dec 13, 2010 10:43 am

Some details:

Post by Offer »

Thanks for trying to help me.

I'm trying to use the 'HTTP reuqest action' (tried also TCP/UDP action without success) to send a URL to a SMS server.

The server is external to me, so I don't have its logs. if nececary - I can try this action with a web server of me.

There is no logging/dubug option in HM to see exactly what string was sent and what was received back?

Thanks again!
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

HTTP protocol? HTTPS?
May we see your settings?

>There is no logging/dubug option in HM to see exactly what string was sent and what was received back?

There is HostMonitor "system" log file that shows action results and error messages.
There is Quick Log pane (menu View), it may show test results and action results for selected test (or set of the tests).
There is Auditing Tool (menu View) that may show recent errors as well.

You may use some sniffer like WireShark to check network packets.
Also you may setup URL test using the same URL and check reply using variables like %HttpCode%, %HttpHeader%, %HttpPage%

Regards
Alex
Post Reply