New Nagios BASH plugin output error: “Such Instance currently exists at this OID: integer expression expected”
问题 I'm trying to write my first Nagios plugin to check the statuses on WLAN Controllers APs. The goal was to make a kind of "universal" plugin but I'm getting an error: .1.3.6.1.4.1.14179.2.2.1.1.3.0.: Unknown Object Identifier () /usr/lib/nagios/plugins/check_wlc_ap_state.sh: line 50: [: Such Instance currently exists at this OID: integer expression expected /usr/lib/nagios/plugins/check_wlc_ap_state.sh: line 53: [: Such Instance currently exists at this OID: integer expression expected /usr