break: cisco ironport cpu metrics
This commit is contained in:
parent
1405d00775
commit
dcee25df07
|
@ -32,20 +32,20 @@ sub set_counters {
|
||||||
{ name => 'global', type => 0, message_separator => ' - ', skipped_code => { -10 => 1 } },
|
{ name => 'global', type => 0, message_separator => ' - ', skipped_code => { -10 => 1 } },
|
||||||
];
|
];
|
||||||
$self->{maps_counters}->{global} = [
|
$self->{maps_counters}->{global} = [
|
||||||
{ label => 'mail', set => {
|
{ label => 'global-utilization', nlabel => 'cpu.global.utilization.percentage', set => {
|
||||||
key_values => [ { name => 'perCentCPUUtilization' } ],
|
key_values => [ { name => 'perCentCPUUtilization' } ],
|
||||||
output_template => 'CPU Mail usage is: %.2f%%',
|
output_template => 'cpu global usage is: %.2f%%',
|
||||||
perfdatas => [
|
perfdatas => [
|
||||||
{ label => 'cpu_mail', value => 'perCentCPUUtilization_absolute', template => '%.2f',
|
{ label => 'cpu_global', value => 'perCentCPUUtilization_absolute', template => '%.2f',
|
||||||
min => 0, max => 100, unit => '%' },
|
min => 0, max => 100, unit => '%' },
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ label => 'websecurity', set => {
|
{ label => 'proxy-utilization', nlabel => 'cpu.proxy.utilization.percentage', set => {
|
||||||
key_values => [ { name => 'cacheCpuUsage' } ],
|
key_values => [ { name => 'cacheCpuUsage' } ],
|
||||||
output_template => 'CPU WebSecurity usage is: %.2f%%',
|
output_template => 'cpu proxy usage is: %.2f%%',
|
||||||
perfdatas => [
|
perfdatas => [
|
||||||
{ label => 'cpu_websecurity', value => 'cacheCpuUsage_absolute', template => '%.2f',
|
{ label => 'cpu_proxy', value => 'cacheCpuUsage_absolute', template => '%.2f',
|
||||||
min => 0, max => 100, unit => '%' },
|
min => 0, max => 100, unit => '%' },
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
@ -85,19 +85,13 @@ __END__
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check cpu usage of web security and mail (ASYNCOS-MAIL-MIB, ASYNCOSWEBSECURITYAPPLIANCE-MIB).
|
Check cpu usage of web security and mail (ASYNCOS-MAIL-MIB, ASYNCOSWEBSECURITYAPPLIANCE-MIB).
|
||||||
Use linux SNMP plugin for global CPU.
|
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
=item B<--warning-*>
|
=item B<--warning-*> B<--critical-*>
|
||||||
|
|
||||||
Threshold warning.
|
Thresholds.
|
||||||
Can be: 'mail', 'websecurity'.
|
Can be: 'global-utilization', 'proxy-utilization'.
|
||||||
|
|
||||||
=item B<--critical-*>
|
|
||||||
|
|
||||||
Threshold critical.
|
|
||||||
Can be: 'mail', 'websecurity'.
|
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue