Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kukuriku
python-carbon
python-carbon-path.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-carbon-path.patch of Package python-carbon
Index: carbon-1.1.8/conf/carbon.conf.example =================================================================== --- carbon-1.1.8.orig/conf/carbon.conf.example +++ carbon-1.1.8/conf/carbon.conf.example @@ -30,6 +30,12 @@ # #LOCAL_DATA_DIR = /opt/graphite/storage/whisper/ +# SUSE: +STORAGE_DIR = /var/lib/graphite/storage/ +LOCAL_DATA_DIR = /var/lib/graphite/storage/whisper/ +CONF_DIR = /etc/graphite/ +LOG_DIR = /var/log/graphite/storage/ + # Specify the database library used to store metric data on disk. Each database # may have configurable options to change the behaviour of how it writes to # persistent storage. @@ -317,9 +323,10 @@ WHISPER_FALLOCATE_CREATE = True # BIND_PATTERNS = # # URL of graphite-web instance, this is used to add incoming series to the tag database -# GRAPHITE_URL = http://127.0.0.1:80 +GRAPHITE_URL = http://127.0.0.1:8000 # Tag support, when enabled carbon will make HTTP calls to graphite-web to update the tag index +# Suse: Disable for Icinga2 because graphaite-web will not use. # ENABLE_TAGS = True # Skip tagging when metric do not contain tags Index: carbon-1.1.8/distro/redhat/init.d/carbon-aggregator =================================================================== --- carbon-1.1.8.orig/distro/redhat/init.d/carbon-aggregator +++ carbon-1.1.8/distro/redhat/init.d/carbon-aggregator @@ -11,7 +11,7 @@ if [ -e /etc/rc.d/init.d/functions ]; th fi; CARBON_DAEMON="aggregator" -GRAPHITE_DIR="/opt/graphite" +GRAPHITE_DIR="/var/lib/graphite" INSTANCES=`grep "^\[${CARBON_DAEMON}" ${GRAPHITE_DIR}/conf/carbon.conf | cut -d \[ -f 2 | cut -d \] -f 1 | cut -d : -f 2` function die { Index: carbon-1.1.8/distro/redhat/init.d/carbon-cache =================================================================== --- carbon-1.1.8.orig/distro/redhat/init.d/carbon-cache +++ carbon-1.1.8/distro/redhat/init.d/carbon-cache @@ -9,7 +9,7 @@ if [ -e /etc/rc.d/init.d/functions ]; th fi; CARBON_DAEMON="cache" -GRAPHITE_DIR="/opt/graphite" +GRAPHITE_DIR="/var/lib/graphite" INSTANCES=`grep "^\[${CARBON_DAEMON}" ${GRAPHITE_DIR}/conf/carbon.conf | cut -d \[ -f 2 | cut -d \] -f 1 | cut -d : -f 2` export PYTHONPATH="$GRAPHITE_DIR/lib:$PYTHONPATH" Index: carbon-1.1.8/distro/redhat/init.d/carbon-relay =================================================================== --- carbon-1.1.8.orig/distro/redhat/init.d/carbon-relay +++ carbon-1.1.8/distro/redhat/init.d/carbon-relay @@ -11,7 +11,7 @@ if [ -e /etc/rc.d/init.d/functions ]; th fi; CARBON_DAEMON="relay" -GRAPHITE_DIR="/opt/graphite" +GRAPHITE_DIR="/var/lib/graphite" INSTANCES=`grep "^\[${CARBON_DAEMON}" ${GRAPHITE_DIR}/conf/carbon.conf | cut -d \[ -f 2 | cut -d \] -f 1 | cut -d : -f 2` function die { Index: carbon-1.1.8/conf/storage-schemas.conf.example =================================================================== --- carbon-1.1.8.orig/conf/storage-schemas.conf.example +++ carbon-1.1.8/conf/storage-schemas.conf.example @@ -29,6 +29,15 @@ pattern = ^carbon\. retentions = 60:90d +# Icinga2 checked every 1 minute +#[icinga2_metadata] +#pattern = ^icinga2\..*\.metadata\. +#retentions = 1m:2d,5m:10d,30m:90d,360m:4y + +#[icinga2_perfdata] +#pattern = ^icinga2\..*\.perfdata\. +#retentions = 1m:2d,5m:10d,30m:90d,360m:4y + [default] pattern = .* retentions = 60s:1d,5m:30d,1h:3y
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor