#872 closed enhancement (fixed)
Don't use tie() for saving update_rate state
| Reported by: | snide | Owned by: | snide |
|---|---|---|---|
| Priority: | normal | Milestone: | Munin 2.0.0 |
| Component: | master | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Right now tie() with /tmp/munin_plugins_last_updated is used to save the update_rate last_update time.
It should use a real state file. Maybe /var/lib/munin/datafile ?
Change History (1)
comment:1 Changed 3 years ago by snide
- Resolution set to fixed
- Status changed from new to closed
- Type changed from defect to enhancement
Note: See
TracTickets for help on using
tickets.

tie() is finally OK, just using DB_file that is part of Perl Core.
It uses a real state datafile (last_updated.db) in the $dbdir directory.