Werk #19716: Fix TypeError during AKCP discovery
| Component | Checks & agents | ||||||
| Title | Fix TypeError during AKCP discovery | ||||||
| Date | Jul 30, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Previously, service discovery on AKCP devices could crash with
TypeError: 'item' must be a non empty string or ommited entirely, got ''
Some AKCP devices intermittently report sensor rows with empty fields. If the sensor description was among them, the row was turned into a service with an empty item, and discovery rejects those.
This has been fixed for the following services:
- AKCP: Drycontact Sensor
- AKCP sensorProbe: Humidity
- AKCP sensorProbe: Temperature
- AKCP securityProbe: Dry Contact
- AKCP securityProbe: Humidity
- AKCP securityProbe: Temperature
- AKCP securityProbe: Water Sensor
- AKCP securityProbe: Smoke Sensor
Rows without a description are now ignored. Rows that kept their description but lost other values are still discovered, so the service does not disappear from your configuration on the next discovery. Such a service goes stale until the device delivers a complete row again.