From: mhoellein Date: Wed, 26 May 2021 13:54:22 +0000 (+0200) Subject: saving uncommitted changes in /etc prior to apt run X-Git-Url: https://git.hoellein.online/?a=commitdiff_plain;h=044af5bef320a16bfb9ebaff393d337a35661c18;p=vserver saving uncommitted changes in /etc prior to apt run --- diff --git a/graphite/local_settings.py b/graphite/local_settings.py index 7fd19c7b4..84884868e 100644 --- a/graphite/local_settings.py +++ b/graphite/local_settings.py @@ -263,11 +263,11 @@ WHISPER_DIR = '/var/lib/graphite/whisper' # DATABASES = { 'default': { - 'NAME': '/var/lib/graphite/graphite.db', - 'ENGINE': 'django.db.backends.sqlite3', - 'USER': '', - 'PASSWORD': '', - 'HOST': '', + 'NAME': 'graphite', + 'ENGINE': 'django.db.backends.mysql', + 'USER': 'graphite', + 'PASSWORD': 'StrongP@Ssword', + 'HOST': '127.0.0.1', 'PORT': '' } } diff --git a/icinga2/conf.d/services.conf b/icinga2/conf.d/services.conf index c8e1b3cc6..335c96d23 100644 --- a/icinga2/conf.d/services.conf +++ b/icinga2/conf.d/services.conf @@ -95,6 +95,7 @@ apply Service "procs" { check_command = "procs" assign where host.name == NodeName + vars.procs_warning = "350" } apply Service "swap" { diff --git a/icingaweb2/modules/graphite/config.ini b/icingaweb2/modules/graphite/config.ini index 555a3c55a..9e8e5735d 100644 --- a/icingaweb2/modules/graphite/config.ini +++ b/icingaweb2/modules/graphite/config.ini @@ -1,5 +1,5 @@ [graphite] -url = "http://localhost:2003" +url = "http://207.180.228.45:2003" user = "admin" password = "LgnhywREd4INdvhsQdqYAsuicEju0Yxi" insecure = "0"