Page MenuHomeVyOS Platform

zabbix-agent: verify compares mode to 'pre_shared_secret' instead of 'pre-shared-secret'
In progress, HighPublicBUG

Description

The zabbix-agent PSK check compares against the underscored value, which never matches the hyphenated CLI value.

Location
src/conf_mode/service_monitoring_zabbix-agent.py:69

interface-definitions/include/auth-mode-pre-shared-secret.xml.i
data/templates/zabbix-agent/zabbix-agent.conf.j2:79

Problem
Leaf values are not key-mangled; the check never matches.

Impact
PSK mode without id/secret commits; agent fails to start silently (restart unchecked).

Details

Version
rolling
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

natali-rs1985 changed the task status from Open to In progress.
natali-rs1985 claimed this task.
natali-rs1985 triaged this task as High priority.