Last active
November 16, 2015 16:12
-
-
Save coddingtonbear/847f2a7472a6fa265c6e to your computer and use it in GitHub Desktop.
A simple configuration for twoline-logwatch that watches for certain Dstarrepeater messages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"files": { | |
"/var/log/opendv/*": { | |
"M:.*Transmitting to - My: (?P<callsign>[A-Za-z0-9-_]+)[ ]*/(?P<suffix>[A-Za-z0-9-_]*).*Flags: 00.*": { | |
"message": "Transmitting\r{callsign}/{suffix}", | |
"color": [255, 0, 0], | |
"expires": 180, | |
"meta": { | |
"message_name": "logwatcher-opendv-tx" | |
} | |
}, | |
"M:.*Stats for.*": { | |
"meta": { | |
"method": "delete", | |
"message_name": "logwatcher-opendv-tx" | |
} | |
}, | |
"M:.*Radio header decoded - My: (?P<callsign>[A-Za-z0-9-_]+)[ ]*/(?P<suffix>[A-Za-z0-9-_]*).*": { | |
"message": "Receiving\r{callsign}/{suffix}", | |
"color": [0, 255, 0], | |
"expires": 180, | |
"meta": { | |
"message_name": "logwatcher-opendv-rx" | |
} | |
}, | |
"M:.*AMBE for.*": { | |
"meta": { | |
"method": "delete", | |
"message_name": "logwatcher-opendv-rx" | |
} | |
}, | |
"M:.*link to (?P<callsign>[A-Za-z0-9]+) (?P<suffix>[A-Za-z0-9]+) established.*": { | |
"message": "Linked to\r{callsign} {suffix}", | |
"color": [0, 255, 255], | |
"expires": 15, | |
"meta": { | |
"message_name": "logwatcher-opendv-link" | |
} | |
}, | |
"M:.*link to (?P<callsign>[A-Za-z0-9]+) (?P<suffix>[A-Za-z0-9]+) has failed.*": { | |
"message": "Unlinked from\r{callsign} {suffix}", | |
"color": [0, 255, 255], | |
"expires": 15, | |
"meta": { | |
"message_name": "logwatcher-opendv-link" | |
} | |
}, | |
"I:.*Starting D-Star Repeater daemon.*": { | |
"message": "D-Star Repeater Starting...", | |
"color": [0, 255, 0], | |
"expires": 15, | |
"meta": { | |
"message_name": "logwatcher-opendv-status" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment