Page MenuHomeVyOS Platform

Configuring listen-address for service snmp will result in a warning during commit
Closed, InvalidPublicBUG

Description

The following warning will be displayed during commit:

WARNING: SNMP listen address "192.168.56.2" not configured!

However using "netstat -atunp" verifies that the snmp process do listen to 192.168.56.2 (and 127.0.0.1) after the commit with the warning.

Workaround is to remove listen-address.

The output of "netstat -atunp" will then show that snmp process binds to 0.0.0.0:161

Config example of section snmp:

snmp {
    community TEST {
        authorization ro
        network 192.168.56.0/24
    }
    contact TEST
    listen-address 192.168.56.2 {
        port 161
    }
    location TEST
    trap-source 192.168.56.2
    vrf MGMT
}

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.4-rolling-202306290317
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Related Objects