Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphite template edit #247

Open
aplace-lab opened this issue Oct 22, 2020 · 1 comment
Open

Graphite template edit #247

aplace-lab opened this issue Oct 22, 2020 · 1 comment

Comments

@aplace-lab
Copy link

Hi,

I'm trying to edit the graphite templates that (from Icingaweb2 documentation) I believe is located in /usr/local/share/icingaweb2/modules/graphite in the Icinga container.

I tried to add a volume for this directory in the docker-compose.yml like this:

volumes:
   - ./data/icinga/modules:/usr/local/share/icingaweb2/modules

But I receive these errors when I try and run docker-compose up

icingaweb2  | Found invalid module in enabledModule directory "/etc/icingaweb2/enabledModules": "/etc/icingaweb2/enabledModules/reactbundle" points to non existing path "false"
icingaweb2  | Found invalid module in enabledModule directory "/etc/icingaweb2/enabledModules": "/etc/icingaweb2/enabledModules/incubator" points to non existing path "false"
icingaweb2  | Found invalid module in enabledModule directory "/etc/icingaweb2/enabledModules": "/etc/icingaweb2/enabledModules/ipl" points to non existing path "false"
icingaweb2  | Found invalid module in enabledModule directory "/etc/icingaweb2/enabledModules": "/etc/icingaweb2/enabledModules/graphite" points to non existing path "false"
icingaweb2  | Found invalid module in enabledModule directory "/etc/icingaweb2/enabledModules": "/etc/icingaweb2/enabledModules/director" points to non existing path "false"
icingaweb2  | Module path "/etc/icingaweb2/userModules" does not exist
icingaweb2  | ERROR: Icinga\Exception\ConfigurationError in /usr/share/php/Icinga/Application/Modules/Manager.php:248 with message: Cannot enable module "director". Module is not installed.
icingaweb2  | run-parts: /opt/setup/61-icingaweb2-director exited with return code 1
@jjethwa
Copy link
Owner

jjethwa commented Oct 22, 2020

Hi @ajc-it

You shouldn't need to edit the graphite module at all. Standard configuration can be done in the docker command or compose file: https://github.com/jjethwa/icinga2#graphite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants