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

[storyteller] add link prober state change to story teller #2585

Merged
merged 1 commit into from
Jan 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scripts/storyteller
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ regex_dict = {
'lag' : r'link becomes\|addLag\|PortChannel.*oper state',
'reboot' : r'BOOT\|rc.local\|old_config\|minigraph.xml\|Rebooting\|reboot\|executeOperationsOnAsic\|getAsicView\|dumpVidToAsicOperatioId\|neighbor_adv\|Pausing\|shutdown\|warm',
'service' : r'Starting\|Stopping\|Started\|Stopped',
'linkprober': r'Received link prober event, new state'
}


Expand Down Expand Up @@ -86,7 +87,7 @@ def main():

parser.add_argument('-l', '--log', help='log file prefix, e.g. syslog; default: syslog',
type=str, required=False, default='syslog')
parser.add_argument('-c', '--category', help='Categories: bgp, crash, interface, lag, reboot, service Specify multiple categories as c1,c2,c3; default: reboot',
parser.add_argument('-c', '--category', help='Categories: bgp, crash, interface, lag, reboot, service, linkprober Specify multiple categories as c1,c2,c3; default: reboot',
type=str, required=False, default='reboot')
parser.add_argument('-p', '--logpath', help='log file path, e.g. /var/log; default: /var/log',
type=str, required=False, default='/var/log')
Expand Down