fix kingdee
This commit is contained in:
parent
58a33b803d
commit
496f7d8a8a
|
@ -33,9 +33,9 @@ sub new {
|
|||
|
||||
$options{options}->add_options(
|
||||
arguments => {
|
||||
"urlpath:s" => { name => 'url_path', default => "/easportal/tools/nagios/checkrpc.jsp" },
|
||||
"warning:s" => { name => 'warning' , default => ",,,,,,"},
|
||||
"critical:s" => { name => 'critical' , default => ",,,,,,"},
|
||||
'urlpath:s' => { name => 'url_path', default => "/easportal/tools/nagios/checkrpc.jsp" },
|
||||
'warning:s' => { name => 'warning' , default => ",,,,,,"},
|
||||
'critical:s' => { name => 'critical' , default => ",,,,,,"},
|
||||
}
|
||||
);
|
||||
|
||||
|
@ -141,7 +141,7 @@ sub run {
|
|||
{ label => 'warn_activethreadcount', 'exit_litteral' => 'warning' } ]);
|
||||
$self->{output}->output_add(
|
||||
severity => $exit,
|
||||
short_msg => sprintf("ActiveTrheadCount: %d", $activethreadcount)
|
||||
short_msg => sprintf("ActiveThreadCount: %d", $activethreadcount)
|
||||
);
|
||||
$exit = $self->{perfdata}->threshold_check(value => $stubcount,
|
||||
threshold => [ { label => 'crit_stubcount', 'exit_litteral' => 'critical' },
|
||||
|
@ -187,7 +187,7 @@ sub run {
|
|||
);
|
||||
|
||||
$self->{output}->perfdata_add(
|
||||
label => "ActiveTrheadCount",
|
||||
label => "ActiveThreadCount",
|
||||
value => $activethreadcount,
|
||||
warning => $self->{perfdata}->get_perfdata_for_output(label => 'warn_activethreadcount'),
|
||||
critical => $self->{perfdata}->get_perfdata_for_output(label => 'crit_activethreadcount'),
|
||||
|
@ -217,13 +217,13 @@ sub run {
|
|||
critical => $self->{perfdata}->get_perfdata_for_output(label => 'crit_serversessioncount'),
|
||||
);
|
||||
$self->{output}->perfdata_add(
|
||||
label => "InvokeCount /min",
|
||||
label => "InvokeCountPerMinute",
|
||||
value => $invokecountpermin,
|
||||
warning => $self->{perfdata}->get_perfdata_for_output(label => 'warn_invokecountpermin'),
|
||||
critical => $self->{perfdata}->get_perfdata_for_output(label => 'crit_invokecountpermin'),
|
||||
);
|
||||
$self->{output}->perfdata_add(
|
||||
label => "ServiceCount /min",
|
||||
label => "ServiceCountPerMinute",
|
||||
value => $servicecountpermin,
|
||||
warning => $self->{perfdata}->get_perfdata_for_output(label => 'warn_servicecountpermin'),
|
||||
critical => $self->{perfdata}->get_perfdata_for_output(label => 'crit_servicecountpermin'),
|
||||
|
|
Loading…
Reference in New Issue