Collect-port-polling

collect-port-polling does not seem to work correctly. Suggestions? Thanks.

$ ./scripts/collect-port-polling.php device -h 1895
Full Polling: 2040 PHP Error(2): Undefined array key “os_group” in /opt/librenms/includes/polling/ports.inc.php:417
2041 PHP Error(2): Undefined array key “os_group” in /opt/librenms/includes/polling/ports.inc.php:417
2039 PHP Error(2): Undefined array key “os_group” in /opt/librenms/includes/polling/ports.inc.php:417
2042 PHP Error(2): Undefined array key “os_group” in /opt/librenms/includes/polling/ports.inc.php:417
1917 PHP Error(2): Undefined array key “os_group” in /opt/librenms/includes/polling/ports.inc.php:417

Broken on modern PHP. Crazy that script still exists. I don’t think it was ever very useful :confused:

If someone cares, it could probably be fixed.

Wasn’t so bad: Fix undefined os_group in port polling by murrant · Pull Request #18375 · librenms/librenms · GitHub

Thanks Murrant, just trying to get my polling down every so slightly…