Added diskstats to collector configjson

This commit is contained in:
kpraneeth2003 2024-01-26 19:24:10 +00:00
parent f496db4905
commit 550e61b650
4 changed files with 26 additions and 47 deletions

BIN
cc-metric-collector Executable file

Binary file not shown.

View File

@ -6,6 +6,11 @@
"test_fs"
]
},
"diskstat": {
"exclude_metrics": [
"disk_total"
]
},
"ibstat": {},
"loadavg": {
"exclude_metrics": [

View File

@ -1,44 +1,8 @@
{
"natsrecv": {
"type": "nats",
"address": "nats://my-url",
"port": "4222",
"database": "testcluster"
},
"redfish_recv": {
"type": "redfish",
"endpoint": "https://%h-bmc",
"client_config": [
{
"host_list": "my-host-1-[1-2]",
"username": "username-1",
"password": "password-1"
},
{
"host_list": "my-host-2-[1,2]",
"username": "username-2",
"password": "password-2"
}
]
},
"ipmi_recv": {
"type": "ipmi",
"endpoint": "ipmi-sensors://%h-ipmi",
"exclude_metrics": [
"fan_speed",
"voltage"
],
"client_config": [
{
"username": "username-1",
"password": "password-1",
"host_list": "my-host-1-[1-2]"
},
{
"username": "username-2",
"password": "password-2",
"host_list": "my-host-2-[1,2]"
}
]
"nats_recv": {
"type": "nats",
"address" : "127.0.0.1",
"port" : "4222",
"subject" : "subject"
}
}
}

View File

@ -1,8 +1,18 @@
{
"mystdout": {
"type": "stdout",
"meta_as_tags": [
"unit"
]
"influxdb": {
"type": "influxasync",
"database": "Bucket",
"host": "localhost",
"port": "8086",
"user": "",
"password": "9GQv2m099okVndYbhkZT_lcMsH2XMcjlGkJT59D-fJyytowDwTNgiG8FJli1YI6HSvjaJOf_xtF2cZZis7CbJQ==",
"organization": "myorg",
"ssl": false,
"batch_size": 200,
"retry_interval": "1s",
"retry_exponential_base": 2,
"max_retries": 20,
"max_retry_time": "168h",
"meta_as_tags": []
}
}