Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rsyslog plugin support for frr log #16192

Merged
merged 10 commits into from
Sep 12, 2023

Conversation

zbud-msft
Copy link
Contributor

@zbud-msft zbud-msft commented Aug 17, 2023

Why I did it

Currently there is only rsyslog plugin support for /var/log/syslog, meaning we do not detect events that occur in frr logs such as BGP Hold Timer Expiry that appears in frr/bgpd.log.

Work item tracking
  • Microsoft ADO (number only): 13366345

How I did it

Add omprog action to frr/bgpd.log and frr/zebra.log. Add appropriate regex for both events.

How to verify it

sonic-mgmt test case

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

  • master
  • 202305
  • SONiC-OS-202211.0-5ff447c86

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

qiluo-msft
qiluo-msft previously approved these changes Aug 23, 2023
@zbud-msft zbud-msft mentioned this pull request Aug 24, 2023
11 tasks
@qiluo-msft
Copy link
Collaborator

qiluo-msft commented Aug 24, 2023

Please fill in "Tested branch (Please provide the tested image version)" section since you request backport in Section "Which release branch to backport (provide reason below if selected)".

#Closed

@lguohan
Copy link
Collaborator

lguohan commented Sep 2, 2023

this looks like new feature, we cannot no long backport. @StormLiangMS

@zbud-msft
Copy link
Contributor Author

zbud-msft commented Sep 6, 2023

this looks like new feature, we cannot no long backport. @StormLiangMS

This is a bug fix for streaming structured events feature which is planning on being released in 202305. Without this fix, nightly test for bgp-notification event will not pass.

@qiluo-msft qiluo-msft merged commit 337a9db into sonic-net:master Sep 12, 2023
17 checks passed
sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
### Why I did it

Currently there is only rsyslog plugin support for /var/log/syslog, meaning we do not detect events that occur in frr logs such as BGP Hold Timer Expiry that appears in frr/bgpd.log. 

##### Work item tracking
- Microsoft ADO **(number only)**: 13366345

#### How I did it

Add omprog action to frr/bgpd.log and frr/zebra.log. Add appropriate regex for both events.

#### How to verify it

sonic-mgmt test case
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants