Icinga2 feature file missing

Jared Cassidy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 18, 2025

I am following this guide:

https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-icinga2/

 

the following file in this step does not exist after installing the OEC icinga package:

 

Define Icinga contacts

1. Copy /home/opsgenie/oec/conf/opsgenie.conf as an available Icinga feature:

Shell: cp /home/opsgenie/oec/conf/opsgenie.conf /etc/icinga2/features-available/opsgenie.conf

 

root@icinga:/home/opsgenie/oec# cat /home/opsgenie/oec/conf/opsgenie.conf cat: /home/opsgenie/oec/conf/opsgenie.conf: No such file or directory

root@icinga:/home/opsgenie/oec# ls /home/opsgenie/oec/conf/

config.json opsgenie-integration.conf

 

1 answer

0 votes
Egor
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 20, 2025

Hey Jared,
Thanks for reaching out to Atlassian Community!

It seems like the file opsgenie.conf mentioned in the guide doesn’t exist in your installation. Don’t worry—this can be resolved!

First, check for an alternative file. Since you found opsgenie-integration.conf in /home/opsgenie/oec/conf/, it’s possible this file has replaced opsgenie.conf in a newer version of the OEC Icinga package. Try copying opsgenie-integration.conf instead to the directory /etc/icinga2/features-available/ using the following command:

cp /home/opsgenie/oec/conf/opsgenie-integration.conf /etc/icinga2/features-available/opsgenie.conf

Next, confirm that the guide you’re following is compatible with your version of the OEC Icinga package.

After copying the file, open opsgenie-integration.conf and review its contents. Check for any configurations related to Opsgenie, such as API keys, team routing, or other settings. If the file includes these, it’s likely the correct configuration file to use.

Finally, enable the feature and restart Icinga. Once the file is in place, run the following commands:

icinga2 feature enable opsgenie
systemctl restart icinga2

If these steps don’t resolve the issue or if you’re unsure about the correct file to use, I recommend reaching out to us using a ticket - https://support.atlassian.com/opsgenie/ 

Best Regards,
Egor

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events