Weathergoose2 GOOSENAME not initialized in snmptrap handler

Bug #1239139 reported by Roger Bråthen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
Medium
Morten Brekkevold

Bug Description

The GOOSENAME variable is not initialized when the device sending the trap is a Weathergoose 2.
Alertmessages generated are then less informative: "N/A: temperature threshold exceeded...."

GOOSENAME should be initialized in the WeatherGoose2 class as well, see patch.

Revision history for this message
Roger Bråthen (rbr-3) wrote :
Changed in nav:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Morten Brekkevold (mbrekkevold)
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :

Thanks for the patch, Roger. The test suite passes, so we've committed it here: https://nav.uninett.no/hg/stable/rev/7cd7961b65aa

Changed in nav:
status: Confirmed → Fix Committed
milestone: none → 3.15.1
Changed in nav:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.