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