Révision cd70960d
| ID | cd70960d1e274838fc66e19d9ddf902be9dff4b7 |
prefix fieldnames in config too
| plugins/relayd | ||
|---|---|---|
| 85 | 85 |
print("graph_info Ratio of time when this host was up. This is provided by relayd itself (not averaged by this plugin)\n");
|
| 86 | 86 |
for my $host (@hosts) {
|
| 87 | 87 |
my $clean = clean_fieldname($host); |
| 88 |
$clean = clean_fieldname('host'.$host) unless ($clean ne '_');
|
|
| 88 | 89 |
print("$clean.label $host\n");
|
| 89 | 90 |
} |
| 90 | 91 |
print("\nmultigraph relayd_incidents\n\n");
|
| ... | ... | |
| 95 | 96 |
print("graph_info Number of times this host went down during \${graph_period}\n");
|
| 96 | 97 |
for my $host (@hosts) {
|
| 97 | 98 |
my $clean = clean_fieldname($host); |
| 99 |
$clean = clean_fieldname('host'.$host) unless ($clean ne '_');
|
|
| 98 | 100 |
print("$clean.type ABSOLUTE\n");
|
| 99 | 101 |
print("$clean.label $host\n");
|
| 100 | 102 |
} |
Formats disponibles : Unified diff