Skip to content

Commit

Permalink
Merge pull request #247 from zenoss/feature/ZPS-8020
Browse files Browse the repository at this point in the history
Add "missed" column to the ifconfig scanners
  • Loading branch information
odubrovyk authored Aug 20, 2024
2 parents c6dea81 + 60bea38 commit 95a8e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ZenPacks/zenoss/LinuxMonitor/parsers/linux/ifconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class AltScanConfig(object):
componentSplit = '\n'
componentScanner = r'^(\d+):(\s)(?P<component>\S+?):?[ \t]+'
scanners = [
r'(.*)RX:(\s+)bytes(\s+)packets(\s+)errors(\s+)dropped(\s+)overrun(\s+)mcast(\s+)\\(\s+)(?P<ifInOctets>\d+)(\s+)(?P<ifInPackets>\d+)(\s+)(?P<ifInErrors>\d+)(\s+)(?P<ifInDropped>\d+)(\s+)(?P<ifInOverruns>\d+)',
r'(.*)RX:(\s+)bytes(\s+)packets(\s+)errors(\s+)dropped(\s+)(missed|overrun)(\s+)mcast(\s+)\\(\s+)(?P<ifInOctets>\d+)(\s+)(?P<ifInPackets>\d+)(\s+)(?P<ifInErrors>\d+)(\s+)(?P<ifInDropped>\d+)(\s+)(?P<ifInOverruns>\d+)',
r'(.*)TX:(\s+)bytes(\s+)packets(\s+)errors(\s+)dropped(\s+)carrier(\s+)collsns(\s+)\\(\s+)(?P<ifOutOctets>\d+)(\s+)(?P<ifOutPackets>\d+)(\s+)(?P<ifOutErrors>\d+)(\s+)(?P<ifOutDropped>\d+)(\s+)(?P<ifOutCarrier>\d+)(\s+)(?P<ifOutCollisions>\d+)',
]
componentScanValue = 'interfaceName'
Expand Down

0 comments on commit 95a8e71

Please sign in to comment.