Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,585
Community Members
 
Community Events
165
Community Groups

OpsGenie nagios configuration for multiple teams in the business

Hi,

Is there any way to integrate OpsGenie with Nagios to notify different teams based on the alert triggered. 

I'm not sure if generating two individual API Keys for Nagios integration would work in this case. Currently, the alerts triggered in Nagios are going to a single team configured in OpsGenie but need it to be dynamic enough to send the alerts to a different team. 

1 answer

1 accepted

1 vote
Answer accepted

So, if you know which alerts go to which team, you should be able to create multiple "Create" statements, and then assign the responder that way.  You would just need to filter each Create setting.2021-07-08 11_58_51-Opsgenie - Integration.png

Thanks Connor, 

Is there anyway to configure two Nagios OpsGenie integration keys into the Nagios configuration? 

I've managed to get Nagios and OpsGenie integration to work based on a single API key but wondering if its possible to create two individual API keys for different teams so Nagios alerts based on which API key has been configured for the alert?

Not sure if the below is possible to do  - 

"define command {
command_name notify-service-by-opsgenie
command_line /home/opsgenie/oec/opsgenie-nagios/send2opsgenie -apiKey="5c4950b5-14a1-45d9-9f31-1f6f3f8a7c97" -apiKey="b7f718d4-8650-4759-a19d-8d59c3937cb4" "

You should just be able to create a second Nagios integration.  We have multiple integrations of the same type in our environment, no problem.

Just to clarify, if this is more on the Nagios side, I apologize, I am unfamiliar with how that tech is configured.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

304 views 0 9
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you