Use package hostlist to expand a host list

This commit is contained in:
Holger Obermaier
2022-12-01 09:48:34 +01:00
parent 6f1f33f3a5
commit 31a8e63d72
4 changed files with 28 additions and 22 deletions

View File

@@ -7,23 +7,23 @@
},
"redfish_recv": {
"type": "redfish",
"endpoint": "https://%h-bmc",
"client_config": [
{
"hostname": "my-host-1",
"host_list": "my-host-1-[1-2]",
"username": "username-1",
"password": "password-1",
"endpoint": "https://my-endpoint-1"
"password": "password-1"
},
{
"hostname": "my-host-2",
"host_list": "my-host-2-[1,2]",
"username": "username-2",
"password": "password-2",
"endpoint": "https://my-endpoint-2"
"password": "password-2"
}
]
},
"ipmi_recv": {
"type": "ipmi",
"endpoint": "ipmi-sensors://%h-ipmi",
"exclude_metrics": [
"fan_speed",
"voltage"
@@ -32,15 +32,13 @@
{
"username": "username-1",
"password": "password-1",
"endpoint": "ipmi-sensors://%h-ipmi",
"host_list": "my-host-1-[1-2]"
},
{
"username": "username-2",
"password": "password-2",
"endpoint": "ipmi-sensors://%h-ipmi",
"host_list": "my-host-2-[1,2]"
}
]
}
}
}