Archived
1
0
forked from rarias/bscpkgs

Use IPMI host names instead of IP addresses

Reviewed-by: Aleix Boné <abonerib@bsc.es>
This commit is contained in:
2025-02-12 12:14:40 +01:00
parent 14b192b1d9
commit 4f5c8dbbaf
3 changed files with 23 additions and 23 deletions

View File

@@ -208,7 +208,7 @@
# Sets the "instance" label with the remote host we are querying
source_labels = [ "__param_target" ];
separator = ";";
regex = "(.*)";
regex = "(.*)-ipmi"; # Remove "-ipm̀i" at the end
target_label = "instance";
replacement = "\${1}";
action = "replace";
@@ -257,7 +257,7 @@
{ targets = [ "127.0.0.1:9290" ]; }
];
params = {
target = [ "10.0.40.126" ];
target = [ "fox-ipmi" ];
module = [ "fox" ];
};
}