Closed xpliz closed 5 years ago
it seems there is a problem with regexp in preprocessing (it was started in 4.0 zabbix). you can fix it by yourself by taking the expression in parentheses and getting non first matching. example:
@XplizitBe which template? Template for 3.4, for example, doesn't have any items or triggers - everything is discovered by LLD, so see the discovery section inside the template - where you would find items and trigger prototypes.
I have imported the 3.4 template into Zabbix 4.0 with no issues and the items are discovered with no problem, but the values are indeed parsed incorrectly (screen).
Unfortunately my knowledge of regex is close to none; has anyone tried to edit the expressions or ideally the whole template to use with Zabbix 4.0?
something like that. You can check expressions here https://regex101.com/.
@jpaulickcz , can you please attach smartctl -A
output?
closing this now, please reopen if still having issues.
I have a problem with importing the template into Zabbix 4.0. It imports without errors but only application, and discovery script get import. No items no triggers?
Querying by hand through zabbix_get works fine.