Hi,
I’m not getting events from icinga2 to stackstorm. Here is the error logs from sensors.
2018-12-17 12:07:27,553 DEBUG [-] Starting new HTTPS connection (1): xx.xx.xx.xx
2018-12-17 12:07:27,621 DEBUG [-] https://xx.xx.xx.xx:5665
“POST /v1/events?queue=m&types=CheckResult&filter=event.check_result.vars_after.state_type==1.0
HTTP/1.1” 401 None
2018-12-17 12:07:27,623 INFO [-] Icinga2ReqSensor status_code: 401
But if i run the post call through curl i get the result. Not sure what’s wrong.
Note: IP has been masked for security purpose.
Any insight will be of great help.
Icinga Pack Used: icinga2req