Auto discovery does not discover anything

Hi

Maybe I missed something or I am wrong about what does the “Auto Discovery”. LibreNMS has been installed 4 weeks ago. I have three VLANs (one “home”, one “IoT” network, one “IP cam” network). No device has been discovered automatically : all the 7 devices shown under the “Devices” menu have been added manually.

And it lacks 20 or 30 other IoT devices still undiscovered. I understand the Auto discovery function should populate automatically the “Devices” tab right ? Even if these component don’t have SNMP, they should be discovered through IP right (yes, they answer to ping requests) ? So I don’t understand what is going wrong…

Here is my config file:
root@admin:/opt/librenms# cat config.php|grep “^[^#;]”
<?php
[…]
$config[‘db_socket’] = ‘’;
// This is the user LibreNMS will run as
//Please ensure this user is created and has the correct permissions to your install
$config[‘user’] = ‘librenms’;
$config[‘snmp’][‘community’] = array(“public”, ‘my_servers’);
$config[‘nets’][] = ‘192.168.0.0/24’;
$config[‘nets’][] = ‘192.168.101.0/24’;
$config[‘nets’][] = ‘192.168.215.0/24’;
$config[‘discovery_by_ip’] = true;
$config[‘discovery_modules’][‘discovery-arp’] = true;
$config[‘auth_mechanism’] = “mysql”; # default, other options: ldap, http-auth
$config[‘mydomain’] = ‘mydom.int’;
$config[‘show_services’] = 1;
$config[‘nagios_plugins’] = “/usr/lib/nagios/plugins”;

Here is the validate.php output:
root@admin:/opt/librenms# ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS | 1.68-50-g6cd42b3ee
DB Schema | 2020_10_03_1000_add_primary_key_transport_group_transport (186)
PHP | 7.2.24-0ubuntu0.18.04.7
Python | 3.6.9
MySQL | 10.1.44-MariaDB-0ubuntu0.18.04.1
RRDTool | 1.7.0
SNMP | NET-SNMP 5.7.3
====================================

[OK]    Composer Version: 1.10.15
[OK]    Dependencies up-to-date.
[OK]    Database connection successful
[OK]    Database schema correct
[WARN]  PHP version 7.3 is the minimum supported version as of November, 2020. We recommend you update PHP to a supported version (7.4 suggested) to continue to receive updates. If you do not update PHP, LibreNMS will continue to function but stop receiving bug fixes and updates.
[WARN]  IPv6 is disabled on your server, you will not be able to add IPv6 devices.

And finally the crontab (untouched):
root@admin:/opt/librenms# cat /etc/cron.d/librenms
# Using this cron file requires an additional user on your system, please see install docs.

33   */6  * * *   librenms    /opt/librenms/cronic /opt/librenms/discovery-wrapper.py 1
*/5  *    * * *   librenms    /opt/librenms/discovery.php -h new >> /dev/null 2>&1
*/5  *    * * *   librenms    /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16
*    *    * * *   librenms    /opt/librenms/alerts.php >> /dev/null 2>&1
*/5  *    * * *   librenms    /opt/librenms/poll-billing.php >> /dev/null 2>&1
01   *    * * *   librenms    /opt/librenms/billing-calculate.php >> /dev/null 2>&1
*/5  *    * * *   librenms    /opt/librenms/check-services.php >> /dev/null 2>&1

# Daily maintenance script. DO NOT DISABLE!
# If you want to modify updates:
#  Switch to monthly stable release: https://docs.librenms.org/General/Releases/
#  Disable updates: https://docs.librenms.org/General/Updating/
15   0    * * *   librenms    /opt/librenms/daily.sh >> /dev/null 2>&1

*/5 * * * * librenms /opt/librenms/services-wrapper.py 1

Can you help ?

Thanks

Ping only devices are not auto-discovered.

But, snmp-scan.py does have an option to add ping only devices, so you can manually run it with that option

Fine, thanks, I will add this command to a cron job.

Now is it possible to ensure these devices are shown their FQDN instead their IP ?

Thanks