Lowercase cricket rrd file not found when sysname has uppercase letters

Bug #802408 reported by Jon Skarpeteig
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
Medium
Trond Kandal

Bug Description

Report -> ip devices -> Find switch with uppercase letters in sysname -> Statistics -> c5000Bandwidth

Returns: Cannot find the RRD file "/var/lib/nav/cricket-data/routers/MYSWITCH.com.rrd".

The file exists as: "/var/lib/nav/cricket-data/routers/myswitch.com.rrd".

Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :

Trond/John-Magne, would you look at this? When a netbox has an uppercase reverse name, it appears that either cricket or makecricketconfig lowercases the actual filename in the cricket config, but the uppercase version is stored in the database by makecricketconfig.

Changed in nav:
assignee: nobody → NTNU NAVdevs (ntnu-nav)
Changed in nav:
status: New → Triaged
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :
Changed in nav:
status: Triaged → Fix Committed
importance: Undecided → Medium
assignee: NTNU NAVdevs (ntnu-nav) → Trond Kandal (trond-kandal)
milestone: none → 3.9.2
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :

the patched file, python/nav/mcc/utils.py was completely refactored on the sensors branch, so the patch for 3.9.x may no longer be a complete solution on that branch (which will merge to default soon).

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.