Projet

Général

Profil

Révision cd70960d

IDcd70960d1e274838fc66e19d9ddf902be9dff4b7

Ajouté par Antoine Beaupré il y a plus de 13 ans

prefix fieldnames in config too

Voir les différences:

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