This commit is contained in:
arnaud-michel 2017-12-06 18:22:45 +01:00
parent c29fb74a61
commit 08b058240c

View File

@ -1,37 +1,22 @@
################################################################################
# Copyright 2005-2013 MERETHIS
# Centreon is developped by : Julien Mathis and Romain Le Merlus under
# GPL Licence 2.0.
# #
# This program is free software; you can redistribute it and/or modify it under # Copyright 2017 Centreon (http://www.centreon.com/)
# the terms of the GNU General Public License as published by the Free Software
# Foundation ; either version 2 of the License.
# #
# This program is distributed in the hope that it will be useful, but WITHOUT ANY # Centreon is a full-fledged industry-strength solution that meets
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A # the needs in IT infrastructure and application monitoring for
# PARTICULAR PURPOSE. See the GNU General Public License for more details. # service performance.
# #
# You should have received a copy of the GNU General Public License along with # Licensed under the Apache License, Version 2.0 (the "License");
# this program; if not, see <http://www.gnu.org/licenses>. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# #
# Linking this program statically or dynamically with other modules is making a # http://www.apache.org/licenses/LICENSE-2.0
# combined work based on this program. Thus, the terms and conditions of the GNU
# General Public License cover the whole combination.
# #
# As a special exception, the copyright holders of this program give MERETHIS # Unless required by applicable law or agreed to in writing, software
# permission to link this program with independent modules to produce an executable, # distributed under the License is distributed on an "AS IS" BASIS,
# regardless of the license terms of these independent modules, and to copy and # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# distribute the resulting executable under terms of MERETHIS choice, provided that # See the License for the specific language governing permissions and
# MERETHIS also meet, for each linked independent module, the terms and conditions # limitations under the License.
# of the license of that module. An independent module is a module which is not
# derived from this program. If you modify this program, you may extend this
# exception to your version of the program, but you are not obliged to do so. If you
# do not wish to do so, delete this exception statement from your version.
# #
# For more information : contact@centreon.com
# Authors : Quentin Garnier <qgarnier@merethis.com>
#
####################################################################################
package network::arista::standard::snmp::plugin; package network::arista::standard::snmp::plugin;
@ -53,8 +38,6 @@ sub new {
'interfaces' => 'snmp_standard::mode::interfaces', 'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces', 'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'ntp' => 'snmp_standard::mode::ntp', 'ntp' => 'snmp_standard::mode::ntp',
'numericvalue' => 'snmp_standard::mode::numericvalue',
'stringvalue' => 'snmp_standard::mode::stringvalue',
'tcpcon' => 'snmp_standard::mode::tcpcon', 'tcpcon' => 'snmp_standard::mode::tcpcon',
'uptime' => 'snmp_standard::mode::uptime', 'uptime' => 'snmp_standard::mode::uptime',
'vrrp' => 'snmp_standard::mode::vrrp', 'vrrp' => 'snmp_standard::mode::vrrp',