mirror of
https://github.com/ClusterCockpit/cc-examples.git
synced 2026-03-17 22:17:30 +01:00
cc-metric-collector: update alex
This commit is contained in:
@@ -27,15 +27,11 @@
|
|||||||
"send_derived_values": true
|
"send_derived_values": true
|
||||||
},
|
},
|
||||||
"diskstat" : {},
|
"diskstat" : {},
|
||||||
"iostat" : {},
|
"nfsiostat" : {},
|
||||||
"ibstat" : {
|
"ibstat" : {
|
||||||
"send_abs_values": true,
|
"send_abs_values": true,
|
||||||
"send_derived_values": true
|
"send_derived_values": true
|
||||||
},
|
},
|
||||||
"ipmistat" : {
|
|
||||||
"send_abs_values": true,
|
|
||||||
"send_derived_values": true
|
|
||||||
},
|
|
||||||
"tempstat" : {
|
"tempstat" : {
|
||||||
"tag_override" : {
|
"tag_override" : {
|
||||||
"hwmon0" : {
|
"hwmon0" : {
|
||||||
|
|||||||
@@ -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",
|
||||||
"interval": "60s",
|
"main" : {
|
||||||
"duration": "10s"
|
"interval": "60s",
|
||||||
|
"duration": "10s"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,58 +1,60 @@
|
|||||||
{
|
{
|
||||||
"add_tags" : [
|
"process_messages" : {
|
||||||
{
|
"rename_messages" : {
|
||||||
"key" : "cluster",
|
"load_one" : "cpu_load",
|
||||||
"value" : "alex",
|
"cpu_load_core" : "cpu_load",
|
||||||
"if" : "*"
|
"net_bytes_in_bw" : "net_bytes_in",
|
||||||
}
|
"net_bytes_out_bw" : "net_bytes_out",
|
||||||
],
|
"net_pkts_in_bw" : "net_pkts_in",
|
||||||
"rename_metrics" : {
|
"net_pkts_out_bw" : "net_pkts_out",
|
||||||
"load_one" : "cpu_load",
|
"ib_recv_bw" : "ib_recv",
|
||||||
"cpu_load_core" : "cpu_load",
|
"ib_xmit_bw" : "ib_xmit",
|
||||||
"net_bytes_in_bw" : "net_bytes_in",
|
"ib_recv_pkts_bw": "ib_recv_pkts",
|
||||||
"net_bytes_out_bw" : "net_bytes_out",
|
"ib_xmit_pkts_bw": "ib_xmit_pkts",
|
||||||
"net_pkts_in_bw" : "net_pkts_in",
|
"lustre_read_bytes_diff" : "lustre_read_bytes",
|
||||||
"net_pkts_out_bw" : "net_pkts_out",
|
"lustre_read_requests_diff" : "lustre_read_requests",
|
||||||
"ib_recv_bw" : "ib_recv",
|
"lustre_write_bytes_diff" : "lustre_write_bytes",
|
||||||
"ib_xmit_bw" : "ib_xmit",
|
"lustre_write_requests_diff" : "lustre_write_requests",
|
||||||
"ib_recv_pkts_bw": "ib_recv_pkts",
|
"lustre_open_diff" : "lustre_open",
|
||||||
"ib_xmit_pkts_bw": "ib_xmit_pkts",
|
"lustre_close_diff" : "lustre_close",
|
||||||
"lustre_read_bytes_diff" : "lustre_read_bytes",
|
"lustre_setattr_diff" : "lustre_setattr",
|
||||||
"lustre_read_requests_diff" : "lustre_read_requests",
|
"lustre_getattr_diff" : "lustre_getattr",
|
||||||
"lustre_write_bytes_diff" : "lustre_write_bytes",
|
"lustre_statfs_diff": "lustre_statfs",
|
||||||
"lustre_write_requests_diff" : "lustre_write_requests",
|
"lustre_inode_permission_diff" : "lustre_inode_permission",
|
||||||
"lustre_open_diff" : "lustre_open",
|
"nv_util" : "acc_utilization",
|
||||||
"lustre_close_diff" : "lustre_close",
|
"nv_fb_mem_used" : "acc_mem_used",
|
||||||
"lustre_setattr_diff" : "lustre_setattr",
|
"nv_power_usage" : "acc_power"
|
||||||
"lustre_getattr_diff" : "lustre_getattr",
|
},
|
||||||
"lustre_statfs_diff": "lustre_statfs",
|
"add_tags_if" : [
|
||||||
"lustre_inode_permission_diff" : "lustre_inode_permission",
|
{
|
||||||
"nv_util" : "acc_utilization",
|
"key" : "cluster",
|
||||||
"nv_fb_mem_used" : "acc_mem_used",
|
"value" : "alex",
|
||||||
"nv_power_usage" : "acc_power"
|
"if" : "true"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"drop_messages" : [
|
||||||
|
"net_bytes_in",
|
||||||
|
"net_bytes_out",
|
||||||
|
"ib_recv",
|
||||||
|
"ib_xmit",
|
||||||
|
"ib_recv_pkts",
|
||||||
|
"ib_xmit_pkts",
|
||||||
|
"net_pkts_in",
|
||||||
|
"net_pkts_out",
|
||||||
|
"lustre_read_bytes",
|
||||||
|
"lustre_read_requests",
|
||||||
|
"lustre_write_bytes",
|
||||||
|
"lustre_write_requests"
|
||||||
|
],
|
||||||
|
"change_unit_prefix": {
|
||||||
|
"name == 'mem_used'": "G",
|
||||||
|
"name == 'swap_used'": "G",
|
||||||
|
"name == 'mem_total'": "G",
|
||||||
|
"name == 'swap_total'": "G",
|
||||||
|
"name == 'cpufreq'": "M"
|
||||||
|
},
|
||||||
|
"normalize_metrics" : true
|
||||||
},
|
},
|
||||||
"drop_metrics" : [
|
|
||||||
"net_bytes_in",
|
|
||||||
"net_bytes_out",
|
|
||||||
"ib_recv",
|
|
||||||
"ib_xmit",
|
|
||||||
"ib_recv_pkts",
|
|
||||||
"ib_xmit_pkts",
|
|
||||||
"net_pkts_in",
|
|
||||||
"net_pkts_out",
|
|
||||||
"lustre_read_bytes",
|
|
||||||
"lustre_read_requests",
|
|
||||||
"lustre_write_bytes",
|
|
||||||
"lustre_write_requests"
|
|
||||||
],
|
|
||||||
"interval_timestamp" : false,
|
"interval_timestamp" : false,
|
||||||
"num_cache_intervals" : 0,
|
"num_cache_intervals" : 0
|
||||||
"change_unit_prefix": {
|
|
||||||
"mem_used": "G",
|
|
||||||
"swap_used": "G",
|
|
||||||
"mem_total": "G",
|
|
||||||
"swap_total": "G",
|
|
||||||
"cpufreq": "M"
|
|
||||||
},
|
|
||||||
"normalize_metrics" : true
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,26 +1,27 @@
|
|||||||
{
|
{
|
||||||
"nhrinflux": {
|
"nhrinflux" : {
|
||||||
"type": "influxasync",
|
"type" : "influxasync",
|
||||||
"host": "monitoring-test.nhr.uni-erlangen.de",
|
"host": "monitoring-test.nhr.uni-erlangen.de",
|
||||||
"port": "8086",
|
"port": "8086",
|
||||||
"organization": "ClusterCockpit",
|
"organization" : "ClusterCockpit",
|
||||||
"database": "alex",
|
"database" : "alex",
|
||||||
"password": "XYZ",
|
"password": "XYX",
|
||||||
"ssl": true,
|
"ssl": true,
|
||||||
"meta_as_tags": [
|
"meta_as_tags" : [
|
||||||
"unit"
|
"unit"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"alexstore": {
|
"alexstore" : {
|
||||||
"type": "http",
|
"type" : "http",
|
||||||
"url": "http://monitoring.nhr.fau.de:8082/api/write?cluster=alex",
|
"url" : "http://monitoring.nhr.fau.de:8082/api/write?cluster=alex",
|
||||||
"jwt": "XYZ",
|
"jwt": "XYZ",
|
||||||
"meta_as_tags": [
|
"meta_as_tags" : [
|
||||||
"unit"
|
"unit"
|
||||||
],
|
],
|
||||||
"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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,33 +1,36 @@
|
|||||||
{
|
{
|
||||||
"fritzganglia": {
|
"fritzganglia" : {
|
||||||
"type": "libganglia",
|
"type" : "libganglia",
|
||||||
"gmond_config": "/etc/ganglia/gmond.conf",
|
"gmond_config" : "/etc/ganglia/gmond.conf",
|
||||||
"libganglia_path": "libganglia.so.0",
|
"libganglia_path": "libganglia.so.0",
|
||||||
"add_ganglia_group": true
|
"add_ganglia_group": true
|
||||||
},
|
},
|
||||||
"nhrinflux": {
|
"nhrinflux" : {
|
||||||
"type": "influxasync",
|
"type" : "influxasync",
|
||||||
"host": "monitoring-test.nhr.uni-erlangen.de",
|
"host": "monitoring-test.nhr.uni-erlangen.de",
|
||||||
"port": "8086",
|
"port": "8086",
|
||||||
"organization": "ClusterCockpit",
|
"organization" : "ClusterCockpit",
|
||||||
"database": "fritz_neu",
|
"database" : "alex",
|
||||||
"password": "XZY",
|
"password": "XYZ",
|
||||||
"ssl": true,
|
"ssl": true,
|
||||||
"meta_as_tags": [
|
"meta_as_tags" : [
|
||||||
"unit"
|
"unit"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"fritzstore": {
|
"alexstore" : {
|
||||||
"type": "http",
|
"type" : "http",
|
||||||
"url": "http://monitoring.nhr.fau.de:8082/api/write?cluster=fritz",
|
"url" : "http://monitoring.nhr.fau.de:8082/api/write?cluster=alex",
|
||||||
"jwt": "XZY",
|
"jwt": "XYZ",
|
||||||
"meta_as_tags": [
|
"meta_as_tags" : [
|
||||||
"unit"
|
"unit"
|
||||||
],
|
],
|
||||||
"idle_connection_timeout": "60s"
|
"idle_connection_timeout" : "60s",
|
||||||
},
|
"flush_delay" : "2s",
|
||||||
"debugstdout": {
|
"max_retries" : 1,
|
||||||
"type": "stdout",
|
"timeout" : "10s"
|
||||||
"output_file": "/tmp/debug.log"
|
},
|
||||||
}
|
"debugstdout" : {
|
||||||
|
"type": "stdout",
|
||||||
|
"output_file" : "/tmp/debug.log"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user