24 Commits

Author SHA1 Message Date
Vladimir Shipilov
ca13cd9b96
Fix collecting for bfd sessions stucked in Init state (#86) 2023-05-09 14:32:05 +02:00
Daniel Czerwonk
f13ef4bd7e
Add support for BFD protocol (#58) 2022-01-27 12:20:22 +01:00
Daniel Czerwonk
7799d636a4 move ospf test 2022-01-14 11:59:10 +01:00
Daniel Czerwonk
c99e498508 remove bgp states introduced in by #46 since the information can now be extracted by using the up metric with better performance 2022-01-14 11:33:50 +01:00
Daniel Czerwonk
cde3432490 set new metric format as default, add RPKI protocol 2022-01-14 11:27:11 +01:00
Daniel Czerwonk
ae7bb26676 remove unused var 2022-01-14 10:08:46 +01:00
Daniel Czerwonk
f0f068ca4c
Merge pull request #46 from ctripcloud/add-bgp-state-metrics
Add bgp state metrics
2022-01-13 09:33:48 +01:00
Tim Small
d494720cc3 Add basic support for the Babel protocol.
This doesn't add a protocol specific parser, but does allow basic
information about babel imported and exported routes etc. to be exposed.
2021-09-23 13:20:19 +01:00
Daniel Czerwonk
c9985a3895 migrated log from deprecated prom package to logrus 2021-07-02 11:44:13 +02:00
zhanghao
b09cde3210 Add bgp state metrics
This patch adds bgp state metrics as follows:
http://XXX:9324/metrics

bird_bgp_state{name="uplink0",proto="BGP",state="Active"} 1
bird_bgp_state{name="uplink1",proto="BGP",state="Idle"} 1
2021-07-02 05:14:30 -04:00
imlonghao
f2ac48979e
Parse uptime with timezone info 2020-09-13 18:41:42 +08:00
Steffen Vogel
6228314532 Add missing bird protocols which caused segfaults in parser
Closes #34
2020-05-26 21:41:47 +02:00
Oliver Herms
3655df1d23 Add labels from protocol descriptions. 2020-02-18 19:55:16 +01:00
Daniel Czerwonk
25ef739b20 add filter names as label 2019-11-01 13:18:42 +01:00
Daniel Czerwonk
7ec1a00d97 small lint fixes 2019-01-14 20:07:26 +01:00
Arthur Gautier
719221d9c6 parser: static protocols were not parsed
we use static protocol enabled/disabled as a switch to
broadcast bgp routes and announce service.
Support for static protocols is mostly there, but is just missing
support in the parser

Signed-off-by: Arthur Gautier <baloo@gandi.net>
2018-08-09 06:47:39 +00:00
Daniel Czerwonk
d46d4c6821 moved parser tests 2018-02-13 08:21:19 +01:00
Daniel Czerwonk
13451f0abe use raw string literals for regex to improve readability 2018-01-23 08:52:55 +01:00
Daniel Czerwonk
e5aa32646d added support for iso date format 2018-01-03 17:20:38 +01:00
Daniel Czerwonk
d5d929ed96 added new ospf specific metrics 2018-01-01 12:55:25 +01:00
Daniel Czerwonk
d46dc7e1ce removed device protocol since it does not generate routes 2017-12-12 16:00:28 +01:00
Daniel Czerwonk
5aa2e04ce7 parsing for channels 2017-12-12 13:38:05 +01:00
Daniel Czerwonk
1ce2e0ac53 test for bird 2.0 channel support 2017-12-12 00:01:32 +01:00
Daniel Czerwonk
c8354f281e new encapsulation with label strategies 2017-11-30 23:35:31 +01:00