mcc does not update maximum threshold value for interfaces

Bug #901623 reported by Morten Brekkevold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
High
Morten Brekkevold
3.10
Fix Released
High
Morten Brekkevold
3.9
Fix Released
High
Morten Brekkevold

Bug Description

mcc.py is supposed to update the max value for thresholds on interfaces on every run, but a bug in its SQL statement causes it to never update existing rrd_datasource entries.

Specifically, the query updates the datasource row if the units or max columns have different values than the new ones, using the "<>" operator. Unfortunately, this doesn't work when the columns have NULL values.

Tags: mcc threshold
Changed in nav:
status: Confirmed → In Progress
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :

The bug is also present in the completely refactored mcc code in trunk

Changed in nav:
milestone: 3.9.4 → none
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :

fix for 3.10 (default branch) is here: http://metanav.uninett.no/hg/default/rev/60345b0cce22

Changed in nav:
status: In Progress → Fix Committed
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.