mcc registers sensors RRD files in wrong directory

Bug #936926 reported by Morten Brekkevold
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
High
John-Magne Bredal

Bug Description

In a typical Debian setup of NAV, the cricket configuration is in /etc/nav/cricket-config, and Cricket's top-level Defaults file configures the data directory to be /var/lib/nav/cricket-data.

All of mcc.py's handler modules correctly find this data directory, except for the sensors.py module, which uses the /etc/nav/cricket-config directory itself as the data directory prefix when registering RRD files in NAV's database.

I.e. NAV will reference a bunch of non-existant files, and will have no idea where the real files are.

Tags: mcc
Revision history for this message
John-Magne Bredal (john-m-bredal) wrote :

Fixed. Patch sent for review.

Changed in nav:
status: Confirmed → Fix Committed
assignee: nobody → John-Magne Bredal (john-m-bredal)
status: Fix Committed → In Progress
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :

Here's the patch sent by JM

Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :
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.