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.
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.
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should just be able to create a second Nagios integration. We have multiple integrations of the same type in our environment, no problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to clarify, if this is more on the Nagios side, I apologize, I am unfamiliar with how that tech is configured.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.