Page MenuHomeVyOS Platform

'SNMP AgentX already enabled' when commit after SNMP config change
Closed, ResolvedPublicBUG

Description

when you change something in SNMP configuration, you get 5 times 'SNMP AgentX already enabled' after COMMIT.

How to reproduce:

vyos@router# set service snmp v3 view test oid 1
[edit]
vyos@router# commit
[ service snmp ]
SNMP AgentX already enabled
SNMP AgentX already enabled
SNMP AgentX already enabled
SNMP AgentX already enabled
SNMP AgentX already enabled

Details

Difficulty level
Unknown (require assessment)
Version
1.2.0-rc5
Why the issue appeared?
Will be filled on close

Event Timeline

syncer triaged this task as Low priority.
syncer edited projects, added VyOS 1.2 Crux (VyOS 1.2.0-rc6); removed VyOS 1.2 Crux.

This is a purely cosmetic issue, but I agree, an annoying one, especially with lots of duplicate messages. I've reported the issue to FRR.

Since those messages go to stdout but actual error messages of vtysh we may care about go to stderr, I've just redirected stdout to /dev/null

Another thing of note: it is not possible to disable agentx in FRR once it's enabled.

dmbaturin claimed this task.
dmbaturin added a subscriber: hagbard.