Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New huawei WLC snmp - change existing huawei to standard #5146

Closed
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# limitations under the License.
#

package network::huawei::snmp::mode::components::fan;
package centreon::common::huawei::standard::snmp::mode::components::fan;

use strict;
use warnings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# limitations under the License.
#

package network::huawei::snmp::mode::components::temperature;
package centreon::common::huawei::standard::snmp::mode::components::temperature;

use strict;
use warnings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# limitations under the License.
#

package network::huawei::snmp::mode::cpu;
package centreon::common::huawei::standard::snmp::mode::cpu;

use base qw(centreon::plugins::templates::counter);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# limitations under the License.
#

package network::huawei::snmp::mode::hardware;
package centreon::common::huawei::standard::snmp::mode::hardware;

use base qw(centreon::plugins::templates::hardware);

Expand All @@ -41,7 +41,7 @@ sub set_system {
]
};

$self->{components_path} = 'network::huawei::snmp::mode::components';
$self->{components_path} = 'centreon::common::huawei::standard::snmp::mode::components';
$self->{components_module} = ['fan', 'temperature'];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# limitations under the License.
#

package network::huawei::snmp::mode::interfaces;
package centreon::common::huawei::standard::snmp::mode::interfaces;

use base qw(snmp_standard::mode::interfaces);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# limitations under the License.
#

package network::huawei::snmp::mode::memory;
package centreon::common::huawei::standard::snmp::mode::memory;

use base qw(centreon::plugins::templates::counter);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# limitations under the License.
#

package network::huawei::snmp::plugin;
package network::huawei::standard::snmp::plugin;

use strict;
use warnings;
Expand All @@ -30,11 +30,11 @@ sub new {
bless $self, $class;

$self->{modes} = {
'cpu' => 'network::huawei::snmp::mode::cpu',
'hardware' => 'network::huawei::snmp::mode::hardware',
'interfaces' => 'network::huawei::snmp::mode::interfaces',
'cpu' => 'centreon::common::huawei::standard::snmp::mode::cpu',
'hardware' => 'centreon::common::huawei::standard::snmp::mode::hardware',
'interfaces' => 'centreon::common::huawei::standard::snmp::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'memory' => 'network::huawei::snmp::mode::memory',
'memory' => 'centreon::common::huawei::standard::snmp::mode::memory',
'uptime' => 'snmp_standard::mode::uptime'
};

Expand Down
Loading