Fixed found translation.
This commit is contained in:
parent
2659073fec
commit
43bc24186b
|
@ -71,9 +71,9 @@ sub new {
|
||||||
"warning-time:s" => { name => 'warning_time' },
|
"warning-time:s" => { name => 'warning_time' },
|
||||||
"critical-time:s" => { name => 'critical_time' },
|
"critical-time:s" => { name => 'critical_time' },
|
||||||
"threshold-value:s" => { name => 'threshold_value', default => 'count' },
|
"threshold-value:s" => { name => 'threshold_value', default => 'count' },
|
||||||
"format-ok:s" => { name => 'format_ok', default => '%{count} element(s) finded' },
|
"format-ok:s" => { name => 'format_ok', default => '%{count} element(s) found' },
|
||||||
"format-warning:s" => { name => 'format_warning', default => '%{count} element(s) finded' },
|
"format-warning:s" => { name => 'format_warning', default => '%{count} element(s) found' },
|
||||||
"format-critical:s" => { name => 'format_critical', default => '%{count} element(s) finded' },
|
"format-critical:s" => { name => 'format_critical', default => '%{count} element(s) found' },
|
||||||
"values-separator:s" => { name => 'values_separator', default => ', ' },
|
"values-separator:s" => { name => 'values_separator', default => ', ' },
|
||||||
});
|
});
|
||||||
$self->{count} = 0;
|
$self->{count} = 0;
|
||||||
|
@ -296,7 +296,7 @@ FORMAT OPTIONS:
|
||||||
|
|
||||||
=item B<--format-ok>
|
=item B<--format-ok>
|
||||||
|
|
||||||
Output format (Default: '%{count} element(s) finded')
|
Output format (Default: '%{count} element(s) found')
|
||||||
Can used:
|
Can used:
|
||||||
'%{values}' = display all values (also text string)
|
'%{values}' = display all values (also text string)
|
||||||
'%{values_ok}' = values from attributes and text node only (seperated by option values-separator)
|
'%{values_ok}' = values from attributes and text node only (seperated by option values-separator)
|
||||||
|
@ -304,11 +304,11 @@ Can used:
|
||||||
|
|
||||||
=item B<--format-warning>
|
=item B<--format-warning>
|
||||||
|
|
||||||
Output warning format (Default: %{count} element(s) finded')
|
Output warning format (Default: %{count} element(s) found')
|
||||||
|
|
||||||
=item B<--format-critical>
|
=item B<--format-critical>
|
||||||
|
|
||||||
Output critical format (Default: %{count} element(s) finded')
|
Output critical format (Default: %{count} element(s) found')
|
||||||
|
|
||||||
=item B<--values-separator>
|
=item B<--values-separator>
|
||||||
|
|
||||||
|
|
|
@ -70,9 +70,9 @@ sub new {
|
||||||
"warning-time:s" => { name => 'warning_time' },
|
"warning-time:s" => { name => 'warning_time' },
|
||||||
"critical-time:s" => { name => 'critical_time' },
|
"critical-time:s" => { name => 'critical_time' },
|
||||||
"threshold-value:s" => { name => 'threshold_value', default => 'count' },
|
"threshold-value:s" => { name => 'threshold_value', default => 'count' },
|
||||||
"format-ok:s" => { name => 'format_ok', default => '%{count} element(s) finded' },
|
"format-ok:s" => { name => 'format_ok', default => '%{count} element(s) found' },
|
||||||
"format-warning:s" => { name => 'format_warning', default => '%{count} element(s) finded' },
|
"format-warning:s" => { name => 'format_warning', default => '%{count} element(s) found' },
|
||||||
"format-critical:s" => { name => 'format_critical', default => '%{count} element(s) finded' },
|
"format-critical:s" => { name => 'format_critical', default => '%{count} element(s) found' },
|
||||||
"values-separator:s" => { name => 'values_separator', default => ', ' },
|
"values-separator:s" => { name => 'values_separator', default => ', ' },
|
||||||
});
|
});
|
||||||
$self->{count} = 0;
|
$self->{count} = 0;
|
||||||
|
@ -309,7 +309,7 @@ FORMAT OPTIONS:
|
||||||
|
|
||||||
=item B<--format-ok>
|
=item B<--format-ok>
|
||||||
|
|
||||||
Output format (Default: '%{count} element(s) finded')
|
Output format (Default: '%{count} element(s) found')
|
||||||
Can used:
|
Can used:
|
||||||
'%{values}' = display all values (also text string)
|
'%{values}' = display all values (also text string)
|
||||||
'%{values_ok}' = values from attributes and text node only (seperated by option values-separator)
|
'%{values_ok}' = values from attributes and text node only (seperated by option values-separator)
|
||||||
|
@ -317,11 +317,11 @@ Can used:
|
||||||
|
|
||||||
=item B<--format-warning>
|
=item B<--format-warning>
|
||||||
|
|
||||||
Output warning format (Default: %{count} element(s) finded')
|
Output warning format (Default: %{count} element(s) found')
|
||||||
|
|
||||||
=item B<--format-critical>
|
=item B<--format-critical>
|
||||||
|
|
||||||
Output critical format (Default: %{count} element(s) finded')
|
Output critical format (Default: %{count} element(s) found')
|
||||||
|
|
||||||
=item B<--values-separator>
|
=item B<--values-separator>
|
||||||
|
|
||||||
|
|
|
@ -163,7 +163,7 @@ sub manage_selection {
|
||||||
|
|
||||||
if (scalar(keys %{$self->{node}}) <= 0) {
|
if (scalar(keys %{$self->{node}}) <= 0) {
|
||||||
$self->{output}->output_add(severity => 'OK',
|
$self->{output}->output_add(severity => 'OK',
|
||||||
short_msg => 'No node(s) finded');
|
short_msg => 'No node(s) found');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -150,7 +150,7 @@ sub manage_selection {
|
||||||
|
|
||||||
if (scalar(keys %{$self->{ap}}) <= 0 && scalar(keys %{$self->{ssid}}) <= 0) {
|
if (scalar(keys %{$self->{ap}}) <= 0 && scalar(keys %{$self->{ssid}}) <= 0) {
|
||||||
$self->{output}->output_add(severity => 'OK',
|
$self->{output}->output_add(severity => 'OK',
|
||||||
short_msg => 'No AP nor SSID finded, check your filter or maybe we are on a slave controller ? ');
|
short_msg => 'No AP nor SSID found, check your filter or maybe we are on a slave controller ? ');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue