Random Project

Blacklist questions

I am trying to get the blacklist working on this. We have an access point that comes up for a few hours a day, so I thought I could blacklist it. Maybe I don’t understand how this works. I thought if I listed that access point in the blacklist file, if the AP was there, it would be ignored so that when it is not there, it would not show as an error. I have tried everything I can think of and cannot get this one thing to work. I love this script for everything else and it seems to work well, but either I have something wrong with my blacklist or I just don’t understand how it works.

check_snmp_cisco_wlc_1.5 -H (hostname) -C (snmp) -B –exclude=/usr/local/nagios/libexec/ap_blacklist –showerror_only

in the blacklist, I have put in the ap name, and I have tried it with the entire string out of the “old” file used to compare it to including the Hex to Decimal string.

This is the only issue I have had and everything else seems to work great!