Zabbix 7.4 on Alma 9
I'm monitoring a number of network printers using the Universal Printer template and snmp
It works well, but different manufacturers have different names for their supplies. So when I try to build a dashboard for just the supplies, I end up with multiple entries like
I mucked around a bit and tried to put regex in preprocessing on the five item prototypes in the template of universal printer
replace with
but that doesn't seem to be working. Feels like I'm in the wrong spot?
Where do I insert the regex to standardize things?
I'm monitoring a number of network printers using the Universal Printer template and snmp
It works well, but different manufacturers have different names for their supplies. So when I try to build a dashboard for just the supplies, I end up with multiple entries like
- "Remaining Black Toner Cartridge S/N:CRUM-123456789"
- "Remaining Black Toner" and
- "Remaining Black Cartridge"
I mucked around a bit and tried to put regex in preprocessing on the five item prototypes in the template of universal printer
Code:
(?i)^(.*?)\s*(?:toner\s*)?(?:cartridge|module|s/n).*
Code:
\1 Toner
Where do I insert the regex to standardize things?
Comment