HTTPS request as Action on alert

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
Oleg
Posts: 2
Joined: Wed Mar 16, 2016 5:37 am

HTTPS request as Action on alert

Post by Oleg »

Hello!

Is it possible to use HTTPS request as Action on alert?
I need make request like this:

https://api.telegram.org/botxxx/sendMes ... ext=xxxxxx

I try use action HTTP request:
Host: api.telegram.org
Port: 443
Request: botxxx/sendMessage?chat_id=xxxx&text=xxxxxx

but it doesnt work :(

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

Post by KS-Soft »

No, not possible.
Will be implemented soon...

Regards
Alex
Oleg
Posts: 2
Joined: Wed Mar 16, 2016 5:37 am

Post by Oleg »

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

Post by KS-Soft »

If you are using HostMonitor v.10.10 then you may apply this update
www.ks-soft.net/download/hm1011.zip
(just unzip and replace hostmon.exe; if you need to perform action using RMA agents, then replace rma.exe or rma_active.exe)

Server should be specified with https:// prefix
Request field may look like

Code: Select all

POST https://api.telegram.org/bot179425811:AAHhvjRwVY_ik5VlJPz53oldjDYhg/sendMessage
Host: api.telegram.org

chat_id=yourchatid&text=yourtext
Regards
Alex
Post Reply