Opened 4 years ago
Last modified 5 weeks ago
#680 new defect
Can't override warning/critical from munin.conf for negative fields
| Reported by: | jxh | Owned by: | nobody |
|---|---|---|---|
| Priority: | normal | Milestone: | Munin 2.1.0 |
| Component: | master | Version: | 1.2.5 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Using SNMP to graph if_err_, the plugin has two fields, recv and send, with default warnings as follows:
recv.warn -12500000 send.warn 12500000
I want to override these both to zero in munin.conf so I see if any errors at all are detected, e.g.:
[Group-snmp;rgi1]
address 127.0.0.1
use_node_name no
snmp_rgi1_if_err_2.recv.warning 0:0
snmp_rgi1_if_err_2.send.warning 0:0
This works for send, but not recv, apparently because recv is "hidden" under the "send.negative recv" configuration in the plugin. (I happen to have two hosts getting errors, one only on send and the other only on receive, and only one of them is yellow.)
Change History (5)
comment:1 Changed 4 years ago by janl
- Milestone set to Munin 1.4
comment:2 Changed 4 years ago by janl
- Milestone changed from Munin 1.4 to Munin 1.4.1
comment:3 Changed 3 years ago by janl
- Milestone changed from Munin 1.4.4 to Munin 1.4.5
comment:4 Changed 16 months ago by snide
- Milestone changed from Munin 1.4.7 to Munin 2.1
comment:5 Changed 5 weeks ago by somenet
Note: See
TracTickets for help on using
tickets.

This still is an issue!
Recently a switch behind a switch died therefore the monitored interfaces didnt go down, but because of the vlan configuration there was no incomming traffic on eth1 anymore, leading to some legacy (=windows, without any monitoring) systems becomming unreachable.
I have hoped to get a critical warning, because i had set up the interfaces so that if no traffic in any direction passes, there must be something broken.
But because clients were still trying to reach the subnet, the up never went to 0, just there was no response and down = 0 for like 8 hours until someone call'd.
[10;srv254] address 10.10.0.254 if_eth1.down.critical 1: if_eth1.up.critical 1:I played with the plugin a little, and actually managed to get the down display as critical.
Therefore i think one solution would be to introduce a new value for xxx.graph called hidden, meaning: