avaya cm snmp: wip
This commit is contained in:
parent
ce8b75ca73
commit
d049e1fb8e
|
@ -33,7 +33,7 @@ sub set_counters {
|
||||||
];
|
];
|
||||||
|
|
||||||
$self->{maps_counters}->{global} = [
|
$self->{maps_counters}->{global} = [
|
||||||
{ label => 'total-lasthour', display_ok => 0, nlabel => 'calls.total.lasthour.count', set => {
|
{ label => 'total-lasthour', nlabel => 'calls.total.lasthour.count', set => {
|
||||||
key_values => [ { name => 'avCmListMeasCallRateTotalNumCallsCompLstHr' } ],
|
key_values => [ { name => 'avCmListMeasCallRateTotalNumCallsCompLstHr' } ],
|
||||||
output_template => 'total calls last hour: %s',
|
output_template => 'total calls last hour: %s',
|
||||||
perfdatas => [
|
perfdatas => [
|
||||||
|
@ -46,7 +46,7 @@ sub set_counters {
|
||||||
|
|
||||||
sub new {
|
sub new {
|
||||||
my ($class, %options) = @_;
|
my ($class, %options) = @_;
|
||||||
my $self = $class->SUPER::new(package => __PACKAGE__, %options, foce_new_perfdata => 1);
|
my $self = $class->SUPER::new(package => __PACKAGE__, %options, force_new_perfdata => 1);
|
||||||
bless $self, $class;
|
bless $self, $class;
|
||||||
|
|
||||||
$options{options}->add_options(arguments => {
|
$options{options}->add_options(arguments => {
|
||||||
|
|
|
@ -75,7 +75,7 @@ sub set_counters {
|
||||||
|
|
||||||
sub new {
|
sub new {
|
||||||
my ($class, %options) = @_;
|
my ($class, %options) = @_;
|
||||||
my $self = $class->SUPER::new(package => __PACKAGE__, %options, foce_new_perfdata => 1);
|
my $self = $class->SUPER::new(package => __PACKAGE__, %options, force_new_perfdata => 1);
|
||||||
bless $self, $class;
|
bless $self, $class;
|
||||||
|
|
||||||
$options{options}->add_options(arguments => {
|
$options{options}->add_options(arguments => {
|
||||||
|
|
Loading…
Reference in New Issue