cc-metric-collector: update fritz

This commit is contained in:
Michael Panzlaff
2026-03-04 16:57:28 +01:00
parent 7d0f09ecb9
commit 771d7964df
4 changed files with 84 additions and 118 deletions

View File

@@ -1,8 +1,10 @@
{ {
"sinks": "/etc/cc-metric-collector/sinks.json", "sinks-file": "/etc/cc-metric-collector/sinks.json",
"collectors" : "/etc/cc-metric-collector/collectors.json", "collectors-file" : "/etc/cc-metric-collector/collectors.json",
"receivers" : "/etc/cc-metric-collector/receivers.json", "receivers-file" : "/etc/cc-metric-collector/receivers.json",
"router" : "/etc/cc-metric-collector/router.json", "router-file" : "/etc/cc-metric-collector/router.json",
"main" : {
"interval": "60s", "interval": "60s",
"duration": "10s" "duration": "10s"
} }
}

View File

@@ -1,12 +1,6 @@
{ {
"add_tags" : [ "process_messages": {
{ "rename_messages" : {
"key" : "cluster",
"value" : "fritz",
"if" : "*"
}
],
"rename_metrics" : {
"load_one" : "cpu_load", "load_one" : "cpu_load",
"net_bytes_in_bw" : "net_bytes_in", "net_bytes_in_bw" : "net_bytes_in",
"net_bytes_out_bw" : "net_bytes_out", "net_bytes_out_bw" : "net_bytes_out",
@@ -27,7 +21,14 @@
"lustre_statfs_diff": "lustre_statfs", "lustre_statfs_diff": "lustre_statfs",
"lustre_inode_permission_diff" : "lustre_inode_permission" "lustre_inode_permission_diff" : "lustre_inode_permission"
}, },
"drop_metrics" : [ "add_tags_if" : [
{
"key" : "cluster",
"value" : "fritz",
"if" : "true"
}
],
"drop_messages" : [
"net_bytes_in", "net_bytes_in",
"net_bytes_out", "net_bytes_out",
"ib_recv", "ib_recv",
@@ -41,13 +42,14 @@
"lustre_write_bytes", "lustre_write_bytes",
"lustre_write_requests" "lustre_write_requests"
], ],
"interval_timestamp" : false,
"num_cache_intervals" : 0,
"change_unit_prefix": { "change_unit_prefix": {
"mem_used": "G", "name == 'mem_used'": "G",
"swap_used": "G", "name == 'swap_used'": "G",
"mem_total": "G", "name == 'mem_total'": "G",
"swap_total": "G" "name == 'swap_total'": "G"
}, },
"normalize_metrics" : true "normalize_metrics" : true
},
"interval_timestamp" : false,
"num_cache_intervals" : 0
} }

View File

@@ -1,10 +1,4 @@
{ {
"fritzganglia": {
"type": "libganglia",
"gmond_config": "/etc/ganglia/gmond.conf",
"libganglia_path": "libganglia.so.0",
"add_ganglia_group": true
},
"nhrinflux" : { "nhrinflux" : {
"type" : "influxasync", "type" : "influxasync",
"host": "monitoring-test.nhr.uni-erlangen.de", "host": "monitoring-test.nhr.uni-erlangen.de",
@@ -27,6 +21,7 @@
"idle_connection_timeout": "60s", "idle_connection_timeout": "60s",
"flush_delay" : "2s", "flush_delay" : "2s",
"max_retries" : 1, "max_retries" : 1,
"timeout": "10s" "timeout" : "10s",
"precision": "s"
} }
} }

View File

@@ -1,33 +0,0 @@
{
"fritzganglia": {
"type": "libganglia",
"gmond_config": "/etc/ganglia/gmond.conf",
"libganglia_path": "libganglia.so.0",
"add_ganglia_group": true
},
"nhrinflux": {
"type": "influxasync",
"host": "monitoring-test.nhr.uni-erlangen.de",
"port": "8086",
"organization": "ClusterCockpit",
"database": "fritz_neu",
"password": "XZY",
"ssl": true,
"meta_as_tags": [
"unit"
]
},
"fritzstore": {
"type": "http",
"url": "http://monitoring.nhr.fau.de:8082/api/write?cluster=fritz",
"jwt": "XZY",
"meta_as_tags": [
"unit"
],
"idle_connection_timeout": "60s"
},
"debugstdout": {
"type": "stdout",
"output_file": "/tmp/debug.log"
}
}