Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

OpsGenie nagios configuration for multiple teams in the business


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

0 votes
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
Community showcase
Published in Opsgenie

Leveraging Atlassian’s Opsgenie and AWS Cloudformation Registry to stay ahead of incidents

In the past, managing IT infrastructure was a hard job. It required a lot of manual effort and it was hard to keep track of all the necessary information (monitoring, scalability etc). Thankfully, as...

948 views 0 8
Read article

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