mirror of
https://github.com/ClusterCockpit/cc-examples.git
synced 2026-03-17 22:17:30 +01:00
Rename folder and update config
This commit is contained in:
43
nhr@fau/cc-metric-collector/fritz.spr/collectors.json
Normal file
43
nhr@fau/cc-metric-collector/fritz.spr/collectors.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"nfs4stat" : {},
|
||||
"memstat" : {
|
||||
"node_stats": true
|
||||
},
|
||||
"cpustat" : {},
|
||||
"loadavg" : {},
|
||||
"lustrestat" : {
|
||||
"send_all_metrics" : true,
|
||||
"use_sudo": false,
|
||||
"send_diff_values": true,
|
||||
"send_derived_values": true,
|
||||
"send_abs_values": false
|
||||
},
|
||||
"netstat" : {
|
||||
"include_devices" : [
|
||||
"enp1s0",
|
||||
"enp22s0"
|
||||
],
|
||||
"send_abs_values": true,
|
||||
"send_derived_values": true
|
||||
},
|
||||
"diskstat" : {},
|
||||
"iostat" : {},
|
||||
"ibstat" : {
|
||||
"send_abs_values": true,
|
||||
"send_derived_values": true
|
||||
},
|
||||
"tempstat" : {
|
||||
"tag_override" : {
|
||||
"hwmon0" : {
|
||||
"type" : "socket",
|
||||
"type-id" : "0"
|
||||
},
|
||||
"hwmon1" : {
|
||||
"type" : "socket",
|
||||
"type-id" : "1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"cpufreq_cpuinfo": {},
|
||||
"nfsiostat": {}
|
||||
}
|
||||
8
nhr@fau/cc-metric-collector/fritz.spr/config.json
Normal file
8
nhr@fau/cc-metric-collector/fritz.spr/config.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"sinks": "/home/hpc/unrz/unrz139/Work/cc-metric-collector/configs/fritz.spr2/sinks2.json",
|
||||
"collectors" : "/home/hpc/unrz/unrz139/Work/cc-metric-collector/configs/fritz.spr2/collectors.json",
|
||||
"receivers" : "/home/hpc/unrz/unrz139/Work/cc-metric-collector/configs/fritz.spr2/receivers.json",
|
||||
"router" : "/home/hpc/unrz/unrz139/Work/cc-metric-collector/configs/fritz.spr2/router.json",
|
||||
"interval": "60s",
|
||||
"duration": "10s"
|
||||
}
|
||||
1
nhr@fau/cc-metric-collector/fritz.spr/receivers.json
Normal file
1
nhr@fau/cc-metric-collector/fritz.spr/receivers.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
54
nhr@fau/cc-metric-collector/fritz.spr/router.json
Normal file
54
nhr@fau/cc-metric-collector/fritz.spr/router.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"add_tags" : [
|
||||
{
|
||||
"key" : "cluster",
|
||||
"value" : "fritz",
|
||||
"if" : "*"
|
||||
}
|
||||
],
|
||||
"rename_metrics" : {
|
||||
"load_one" : "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",
|
||||
"cpufreq" : "clock"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"normalize_metrics" : true
|
||||
}
|
||||
32
nhr@fau/cc-metric-collector/fritz.spr/sinks.json
Normal file
32
nhr@fau/cc-metric-collector/fritz.spr/sinks.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"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",
|
||||
"flush_delay": "2s",
|
||||
"max_retries": 1,
|
||||
"timeout": "10s"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user