Opened 3 years ago
Last modified 8 weeks ago
#778 new defect
go through plugins to support the MUNIN_DEBUG environment variable
| Reported by: | janl | Owned by: | nobody |
|---|---|---|---|
| Priority: | high | Milestone: | Munin 2.1.0 |
| Component: | plugins | Version: | 1.4.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
munin-run supports --pidebug, which sets MUNIN_DEBUG (I'd like it to set DEBUG too). Go through plugins and if they have debugging code make it activate when MUNIN_DEBUG (or DEBUG) is set.
Change History (3)
comment:1 Changed 3 years ago by janl
- Milestone changed from Munin 1.4.4 to Munin 1.4.5
comment:2 Changed 3 years ago by ligne
comment:3 Changed 8 weeks ago by snide
- Milestone changed from Munin 1.4.7 to Munin 2.1.0
Note: See
TracTickets for help on using
tickets.

i've updated Munin::Plugin::SNMP to use MUNIN_DEBUG environment variable to toggle debug output, just as Munin::Plugin does (r3349 and r3451).
just working on updating all the SNMP plugins to set that variable, rather than the $DEBUG variable in main package. most of those didn't work because they were declared as 'my' rather than 'our' variables. most (all?) should have been done in r3452, but i still need to double-check them.