| 1 |
# |
| 2 |
# Copyright 2024 Centreon (http://www.centreon.com/) |
| 3 |
# |
| 4 |
# Centreon is a full-fledged industry-strength solution that meets |
| 5 |
# the needs in IT infrastructure and application monitoring for |
| 6 |
# service performance. |
| 7 |
# |
| 8 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 |
# you may not use this file except in compliance with the License. |
| 10 |
# You may obtain a copy of the License at |
| 11 |
# |
| 12 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 13 |
# |
| 14 |
# Unless required by applicable law or agreed to in writing, software |
| 15 |
# distributed under the License is distributed on an "AS IS" BASIS, |
| 16 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 |
# See the License for the specific language governing permissions and |
| 18 |
# limitations under the License. |
| 19 |
# |
| 20 |
|
| 21 |
package hardware::pdu::schleifenbauer::gateway::snmp::mode::components::resources; |
| 22 |
|
| 23 |
use strict; |
| 24 |
use warnings; |
| 25 |
use Exporter; |
| 26 |
|
| 27 |
our $oid_pdumeasuresEntry; |
| 28 |
our $oid_deviceName; |
| 29 |
our $mapping; |
| 30 |
|
| 31 |
our @ISA = qw(Exporter); |
| 32 |
our @EXPORT_OK = qw($oid_pdumeasuresEntry $oid_deviceName $mapping); |
| 33 |
|
| 34 |
$oid_pdumeasuresEntry = '.1.3.6.1.4.1.31034.1.1.8.1'; |
| 35 |
$oid_deviceName = '.1.3.6.1.4.1.31034.1.1.4.1.3'; |
| 36 |
|
| 37 |
$mapping = { |
| 38 |
pduIntTemperature => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.3' }, |
| 39 |
pduExtTemperature => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.4' }, |
| 40 |
sensor1Type => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.7' }, |
| 41 |
sensor1Value => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.8' }, |
| 42 |
sensor1Name => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.9' }, |
| 43 |
sensor2Type => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.10' }, |
| 44 |
sensor2Value => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.11' }, |
| 45 |
sensor2Name => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.12' }, |
| 46 |
sensor3Type => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.13' }, |
| 47 |
sensor3Value => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.14' }, |
| 48 |
sensor3Name => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.15' }, |
| 49 |
sensor4Type => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.16' }, |
| 50 |
sensor4Value => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.17' }, |
| 51 |
sensor4Name => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.18' }, |
| 52 |
sensor5Type => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.19' }, |
| 53 |
sensor5Value => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.20' }, |
| 54 |
sensor5Name => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.21' }, |
| 55 |
sensor6Type => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.22' }, |
| 56 |
sensor6Value => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.23' }, |
| 57 |
sensor6Name => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.24' }, |
| 58 |
sensor7Type => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.25' }, |
| 59 |
sensor7Value => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.26' }, |
| 60 |
sensor7Name => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.27' }, |
| 61 |
sensor8Type => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.28' }, |
| 62 |
sensor8Value => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.29' }, |
| 63 |
sensor8Name => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.30' }, |
| 64 |
sensor9Type => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.31' }, |
| 65 |
sensor9Value => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.32' }, |
| 66 |
sensor9Name => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.33' }, |
| 67 |
sensor10Type => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.34' }, |
| 68 |
sensor10Value => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.35' }, |
| 69 |
sensor10Name => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.36' }, |
| 70 |
sensor11Type => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.37' }, |
| 71 |
sensor11Value => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.38' }, |
| 72 |
sensor11Name => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.39' }, |
| 73 |
sensor12Type => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.40' }, |
| 74 |
sensor12Value => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.41' }, |
| 75 |
sensor12Name => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.42' }, |
| 76 |
sensor13Type => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.43' }, |
| 77 |
sensor13Value => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.44' }, |
| 78 |
sensor13Name => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.45' }, |
| 79 |
sensor14Type => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.46' }, |
| 80 |
sensor14Value => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.47' }, |
| 81 |
sensor14Name => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.48' }, |
| 82 |
sensor15Type => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.49' }, |
| 83 |
sensor15Value => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.50' }, |
| 84 |
sensor15Name => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.51' }, |
| 85 |
sensor16Type => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.52' }, |
| 86 |
sensor16Value => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.53' }, |
| 87 |
sensor16Name => { oid => '.1.3.6.1.4.1.31034.1.1.8.1.54' }, |
| 88 |
}; |
| 89 |
|
| 90 |
1; |