5 Commits

Author SHA1 Message Date
Maksim Totmin
fd45734a74 fix Zabbix 6.0 template triggers: avg(#3) on scenario.failed, remove duplicate ok trigger
- Change ses.scenario.failed triggers: last() -> avg(#3) for reliable detection
- Remove ses.scenario.ok trigger (duplicates scenario.failed > 0)
- Fix preprocessing: parameters with parameter child elements for Zabbix 6.0
- Remove UUID dashes (32 hex chars) for Zabbix 6.0 compatibility
- Fix template_groups -> groups format for Zabbix 6.0
- Fix strlen() -> length() for Zabbix 6.0 trigger compatibility
- All templates now have 6 triggers each
2026-06-23 19:24:03 +07:00
Maksim Totmin
cc53577e31 fix parameters tag: wrap value in <parameter> element for Zabbix 5.0/6.0 compatibility 2026-06-23 18:18:29 +07:00
Maksim Totmin
b3b18b019b fix preprocessing step tag for Zabbix 5.0/6.0 compatibility: params -> parameters 2026-06-23 18:17:01 +07:00
Maksim Totmin
11a96222f4 add triggers to all Zabbix templates
- add WARNING trigger on ses.license.days_remaining (< 30 days)
- add CRITICAL trigger on ses.scenario.error (strlen > 0)
- populate all 5 missing triggers in zbx_ses_template_5.0_up.xml

All 4 templates now have 7 triggers each.
2026-06-23 18:13:43 +07:00
Maksim Totmin
32c59a4005 feat: Zabbix 6.4 UserParameter template + fix scenario metrics
- Add zbx_ses_template_up.xml: Zabbix 6.4 template for UserParameter mode
  (1 master item + 11 dependent items with JSONPath preprocessing)
- Add write_agentd_config() to UserParameterWriter: atomically writes
  zbx_agentd_ses.conf on startup
- Call write_agentd_config() in main.py start() for userparameter mode
- Fix _run_due_scenarios: always write scenario metrics (even when
  disabled/empty) to prevent Zabbix JSONPath preprocessing failures
- Fill placeholder zbx_ses_monitor.conf with actual UserParameter line
- Update README: Zabbix 6/5 template table, Include instructions
2026-06-23 17:41:27 +07:00