RSS Bot Posted December 24, 2022 Posted December 24, 2022 Description We are using this: PRIMARY_INTERFACE="$(ls -1 /sys/class/net/ | grep -v lo | egrep "enp|eth" | head -1)" to detect primary interface. Sometimes it doesn't find proper one. This add additional check. Before: System load: 5% Up time: 11 minLocal users: 2 Memory usage: 14% of 982M IP: 10.0.30.126 CPU temp: 35°C Usage of /: 11% of 28G RX today: Error: No interface matching "--oneline" found in database. After: System load: 5% Up time: 15 minLocal users: 2 Memory usage: 14% of 982M IP: 10.0.30.126 CPU temp: 34°C Usage of /: 11% of 28G RX today: 62.0 MiB Jira reference number AR-1450 How Has This Been Tested? [ ] Manual test Checklist: [ ] My code follows the style guidelines of this project [ ] I have performed a self-review of my own code [ ] I have commented my code, particularly in hard-to-understand areas [ ] I have made corresponding changes to the documentation [ ] My changes generate no new warnings [ ] Any dependent changes have been merged and published in downstream modules View the full article
Recommended Posts