| 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 network::cisco::firepower::fxos::snmp::mode::components::resources; |
| 22 |
|
| 23 |
use strict; |
| 24 |
use warnings; |
| 25 |
use Exporter; |
| 26 |
|
| 27 |
our $map_operability; |
| 28 |
|
| 29 |
our @ISA = qw(Exporter); |
| 30 |
our @EXPORT_OK = qw($map_operability); |
| 31 |
|
| 32 |
$map_operability = { |
| 33 |
0 => 'unknown', 1 => 'operable', |
| 34 |
2 => 'inoperable', 3 => 'degraded', |
| 35 |
4 => 'poweredOff', 5 => 'powerProblem', |
| 36 |
6 => 'removed', 7 => 'voltageProblem', |
| 37 |
8 => 'thermalProblem', 9 => 'performanceProblem', |
| 38 |
10 => 'accessibilityProblem', 11 => 'identityUnestablishable', |
| 39 |
12 => 'biosPostTimeout', 13 => 'disabled', |
| 40 |
14 => 'malformedFru', 51 => 'fabricConnProblem', |
| 41 |
52 => 'fabricUnsupportedConn', 81 => 'config', |
| 42 |
82 => 'equipmentProblem', 83 => 'decomissioning', |
| 43 |
84 => 'chassisLimitExceeded', 100 => 'notSupported', |
| 44 |
101 => 'discovery', 102 => 'discoveryFailed', |
| 45 |
103 => 'identify', 104 => 'postFailure', |
| 46 |
105 => 'upgradeProblem', 106 => 'peerCommProblem', |
| 47 |
107 => 'autoUpgrade', 108 => 'linkActivateBlocked' |
| 48 |
}; |
| 49 |
|
| 50 |
1; |