lausser / check_nwc_health

nwc = network component. This plugin checks lots of aspects of routers, switches, wlan controllers, firewalls,.....
http://labs.consol.de/nagios/check_nwc_health
GNU General Public License v2.0
147 stars 87 forks source link

Cisco WLC 6500 Wism PowerSupply skip #242

Open dcec opened 4 years ago

dcec commented 4 years ago

Hi Teams,

I have encountered a problem with the PowerSupply on Cisco WLC on 6500 Wism module, if i add the blacklist before PowerSupply all working fine. Is correct this change?

Thanks

skip PowerSupply for wism models

my $model = $self->get_snmp_object('ENTITY-MIB', 'entPhysicalModelName', 1); if ($model && $model =~ /WISM/i) { $self->blacklist(); }

end skip

if ($self->{ps1_present} eq "true") { if ($self->{ps1_operational} ne "true") { $self->add_warning("Powersupply 1 is not operational"); } } if ($self->{ps2_present} eq "true") { if ($self->{ps2_operational} ne "true") { $self->add_warning("Powersupply 2 is not operational"); }