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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.