This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

⚠️ We've moved!

Hi there!

To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.

Use 🔗 Github Discussions to ask your questions.

Need help with posting events from nagios to Stackstorm

Trying to Integrate Nagios with Stackstorm but getting error :Failed registering with st2. Won’t post event.

Any clue what could be the issue ?

I used this link:

But did not use that e_nagios pack. However, the missing piece is STATE_ID. Once I added that to Nagios_service_chat.yaml, it started working. My Nagios_service_chat.yaml looks like this:

message: NAGIOS {{trigger.service}} ID:{{trigger.event_id}} STATE:{{trigger.state}}[{{ trigger.state_id }}]/{{trigger.state_type}}
{{trigger.msg}}

Also, in Nagios_service_chat.yaml, hopefully you are using the channel number …something like ‘5c87be9026392e5814…’ and not the name. At least for me, using the name did not work