Hello,
To follow up on this comment: https://community.librenms.org/t/when-fdb-or-mac-tables-are-updated/7822
Would it be possible to customize a launch frequency of the fdb-table / arp-table module in discovery.php ?
Thanks to the developers !
Hello,
To follow up on this comment: https://community.librenms.org/t/when-fdb-or-mac-tables-are-updated/7822
Would it be possible to customize a launch frequency of the fdb-table / arp-table module in discovery.php ?
Thanks to the developers !
You can always add another cron job for the discovery.php
file, and add hostname wildcard.
Or you can from the GUI do a discovery on specific groups. (click the yellow button in the group list at a manage groups under /device-groups
.
Iām sure discovery.php can be run on a specific group somehow, but the helper text doesnt say how.
./discovery.php --help
LibreNMS Discovery
-h <device id> | <device hostname wildcard> Poll single device
-h odd Poll odd numbered devices (same as -i 2 -n 0)
-h even Poll even numbered devices (same as -i 2 -n 1)
-h all Poll all devices
-h new Poll all devices that have not had a discovery run before
--os <os_name> Poll devices only with specified operating system
--type <type> Poll devices only with specified type
-i <instances> -n <number> Poll as instance <number> of <instances>
Instances start at 0. 0-3 for -n 4
Debugging and testing options:
-d Enable debugging output
-v Enable verbose debugging output
-m Specify single module to be run. Comma separate modules, submodules may be added with /
Great !!!
I use this command in my crontab : ./discovery.php --type network -m fdb-table
Thanks Sliddjur