KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Hostmonitor Alerting via URL ?

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
cedriclocqueneux



Joined: 25 Apr 2012
Posts: 1

PostPosted: Wed Apr 25, 2012 9:20 am    Post subject: Hostmonitor Alerting via URL ? Reply with quote

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?devid=v10F3A78ED73F2C4&tickets=50

I configure action like this:



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
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Wed Apr 25, 2012 10:07 am    Post subject: Reply with quote

Your request looks well.
Maybe your server requires additional http headers like:
GET http://api.pushingbox.com/pushingbox?devid=v10F3A78ED73F2C4&tickets=50 HTTP/1.0
Host: api.pushingbox.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Offer



Joined: 13 Dec 2010
Posts: 21

PostPosted: Sat Oct 06, 2018 7:50 pm    Post subject: I have the same problem. Reply with quote

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!
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Sun Oct 07, 2018 2:58 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Offer



Joined: 13 Dec 2010
Posts: 21

PostPosted: Mon Oct 08, 2018 3:07 am    Post subject: Some details: Reply with quote

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!
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Mon Oct 08, 2018 3:48 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index