Page MenuHomePhabricator

SNMP hostname not changed after commit
Closed, ResolvedPublicBUG


The hostname returned by SNMP was not changed after using set system host-name.

The hostname did change after I changed some other SNMP setting and committed that.

I assume the snmpd service had to be restarted.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Implementation mistake

Event Timeline

pasik added a subscriber: pasik.Dec 20 2018, 5:14 PM
syncer assigned this task to c-po.
syncer triaged this task as Normal priority.

I've added SNMP restart on hostname change, it will be in the next nightly build.

Could you verify if restart is needed, or reload is sufficient? Perhaps we can make it somewhat less disruptive than full daemon restart.

dmbaturin closed this task as Resolved.
dmbaturin changed Why the issue appeared? from Will be filled on close to Implementation mistake.
dmbaturin added a subscriber: c-po.

Ok, ignore it, I decided not to be a lazy butt and test it myself. ;)
Reload is not enough, restart is needed, so the fix should be complete.

Thank you very much, will try!

Line2 added a subscriber: Line2.Jan 2 2019, 11:59 AM

I can confirm, it works in VyOS-1.2.0-EPA2