From 11ad243ed9028aa1d146c9a2b1ccac2553a6d42d Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Wed, 1 Jul 2015 13:09:43 +0200 Subject: [PATCH] + Add hsrp mode --- apps/java/peoplesoft/jmx/mode/queuelength.pm | 1 - apps/java/peoplesoft/jmx/mode/sessions.pm | 1 - centreon/common/jvm/mode/cpuload.pm | 1 - centreon/common/jvm/mode/fdusage.pm | 1 - centreon/common/jvm/mode/loadaverage.pm | 1 - centreon/common/jvm/mode/memory.pm | 1 - network/cisco/standard/snmp/plugin.pm | 1 + 7 files changed, 1 insertion(+), 6 deletions(-) diff --git a/apps/java/peoplesoft/jmx/mode/queuelength.pm b/apps/java/peoplesoft/jmx/mode/queuelength.pm index f40fa12fc..12728ce3b 100644 --- a/apps/java/peoplesoft/jmx/mode/queuelength.pm +++ b/apps/java/peoplesoft/jmx/mode/queuelength.pm @@ -70,7 +70,6 @@ sub check_options { sub run { my ($self, %options) = @_; - # $options{snmp} = snmp object $self->{connector} = $options{custom}; my $mbean = "com.bea:Name=weblogic.kernel.Default,Server=PIA,Type=ExecuteQueue"; diff --git a/apps/java/peoplesoft/jmx/mode/sessions.pm b/apps/java/peoplesoft/jmx/mode/sessions.pm index e3c6ab032..adaa8b535 100644 --- a/apps/java/peoplesoft/jmx/mode/sessions.pm +++ b/apps/java/peoplesoft/jmx/mode/sessions.pm @@ -70,7 +70,6 @@ sub check_options { sub run { my ($self, %options) = @_; - # $options{snmp} = snmp object $self->{connector} = $options{custom}; my $mbean = "com.bea:ApplicationRuntime=peoplesoft,Name=PIA_,ServerRuntime=PIA,Type=WebAppComponentRuntime"; diff --git a/centreon/common/jvm/mode/cpuload.pm b/centreon/common/jvm/mode/cpuload.pm index adcda9708..38c9e3555 100644 --- a/centreon/common/jvm/mode/cpuload.pm +++ b/centreon/common/jvm/mode/cpuload.pm @@ -80,7 +80,6 @@ sub check_options { sub run { my ($self, %options) = @_; - # $options{snmp} = snmp object $self->{connector} = $options{custom}; $self->{request} = [ diff --git a/centreon/common/jvm/mode/fdusage.pm b/centreon/common/jvm/mode/fdusage.pm index 83609e1ff..0079d9930 100644 --- a/centreon/common/jvm/mode/fdusage.pm +++ b/centreon/common/jvm/mode/fdusage.pm @@ -70,7 +70,6 @@ sub check_options { sub run { my ($self, %options) = @_; - # $options{snmp} = snmp object $self->{connector} = $options{custom}; $self->{request} = [ diff --git a/centreon/common/jvm/mode/loadaverage.pm b/centreon/common/jvm/mode/loadaverage.pm index 80eed0c8a..d4e1586ab 100644 --- a/centreon/common/jvm/mode/loadaverage.pm +++ b/centreon/common/jvm/mode/loadaverage.pm @@ -70,7 +70,6 @@ sub check_options { sub run { my ($self, %options) = @_; - # $options{snmp} = snmp object $self->{connector} = $options{custom}; $self->{request} = [ diff --git a/centreon/common/jvm/mode/memory.pm b/centreon/common/jvm/mode/memory.pm index c18af43ed..bb6b097f3 100644 --- a/centreon/common/jvm/mode/memory.pm +++ b/centreon/common/jvm/mode/memory.pm @@ -80,7 +80,6 @@ sub check_options { sub run { my ($self, %options) = @_; - # $options{snmp} = snmp object $self->{connector} = $options{custom}; $self->{request} = [ diff --git a/network/cisco/standard/snmp/plugin.pm b/network/cisco/standard/snmp/plugin.pm index ab2592285..eeaf2f96b 100644 --- a/network/cisco/standard/snmp/plugin.pm +++ b/network/cisco/standard/snmp/plugin.pm @@ -50,6 +50,7 @@ sub new { 'anycast' => 'snmp_standard::mode::anycast', 'cpu' => 'centreon::common::cisco::standard::snmp::mode::cpu', 'environment' => 'centreon::common::cisco::standard::snmp::mode::environment', + 'hsrp' => 'centreon::common::cisco::standard::snmp::mode::hsrp', 'ipsla' => 'centreon::common::cisco::standard::snmp::mode::ipsla', 'list-interfaces' => 'snmp_standard::mode::listinterfaces', 'memory' => 'centreon::common::cisco::standard::snmp::mode::memory',