graphite - swtch monitoring via snmp
* Add custom storage schema * add rewrites for unification etc
This commit is contained in:
parent
974ce127bf
commit
68a6c3f09a
|
@ -24,3 +24,16 @@
|
||||||
# Rewrite temperature sensors to be less ugly
|
# Rewrite temperature sensors to be less ugly
|
||||||
# temperature-Temp_1_system_internal_expansion_board_16_5_/value.wsp
|
# temperature-Temp_1_system_internal_expansion_board_16_5_/value.wsp
|
||||||
temperature-Temp_([0-9]+)_([a-zA-Z0-9_]+)__(.*)\. = Temp-\1_\2.
|
temperature-Temp_([0-9]+)_([a-zA-Z0-9_]+)__(.*)\. = Temp-\1_\2.
|
||||||
|
|
||||||
|
# nest under common root
|
||||||
|
if_errors-(.*).(rx|tx)$ = \1.errors.\2
|
||||||
|
if_octets-(.*).(rx|tx)$ = \1.octets.\2
|
||||||
|
|
||||||
|
# expand cisco naming
|
||||||
|
Vl([0-9]+) = Vlan\1
|
||||||
|
|
||||||
|
# rename tplink ports
|
||||||
|
port_([0-9]+):_Gigabit_(Fiber|Copper) = Gi\1
|
||||||
|
|
||||||
|
# rename tplink vlans
|
||||||
|
Vlan-interface([0-9]+) = Vlan\1
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
pattern = ^carbon\.
|
pattern = ^carbon\.
|
||||||
retentions = 10:30d
|
retentions = 10:30d
|
||||||
|
|
||||||
|
# SNMP monitoring shit
|
||||||
|
[switches_snmp]
|
||||||
|
pattern = sw\.snmp\.
|
||||||
|
retentions = 60s:30d
|
||||||
|
|
||||||
# final defaults
|
# final defaults
|
||||||
[default_10s_6months]
|
[default_10s_6months]
|
||||||
pattern = .*
|
pattern = .*
|
||||||
|
|
Loading…
Reference in New Issue