I have two questions

I have two questions
Q1. I can execute the webpage now, but I get an error when I execute ./valudate.php.
[FAIL] Discovery has never run. Check the cron job

[root@localhost librenms]# ./validate.php

Component Version
LibreNMS 1.43-134-g68484d3
DB Schema 268
PHP 7.2.10
MySQL 5.5.60-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

=============================================

[OK] Composer Version: 1.7.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[FAIL] Discovery has never run. Check the cron job

Q2. I am adding a device, there will be can not ping x.x.x.x
I confirm that I can ping it. What is the way?

Check that you cron job is setup under /etc/cron.d/librenms its a part of the install doc. https://docs.librenms.org/#Installation/Installation-CentOS-7-Apache/#cron-job

Sounds like you didnt setup something right or your firewall on the server that libreNMS is running on.
Also from the install docs

Allow fping

Create the file http_fping.tt with the following contents. You can create this file anywhere, as it is a throw-away file. The last step in this install procedure will install the module in the proper location.

module http_fping 1.0;

require {
type httpd_t;
class capability net_raw;
class rawip_socket { getopt create setopt write read };
}

#============= httpd_t ==============
allow httpd_t self:capability net_raw;
allow httpd_t self:rawip_socket { getopt create setopt write read };

Then run these commands

checkmodule -M -m -o http_fping.mod http_fping.tt
semodule_package -o http_fping.pp -m http_fping.mod
semodule -i http_fping.pp

Allow access through firewall

firewall-cmd --zone public --add-service http
firewall-cmd --permanent --zone public --add-service http
firewall-cmd --zone public --add-service https
firewall-cmd --permanent --zone public --add-service https

hi
Which place is the right place to ask?

[FAIL] Discovery has never run. Check the cron job

Check that you cron job is setup under /etc/cron.d/librenms its a part of the install doc. https://docs.librenms.org/#Installation/Installation-CentOS-7-Apache/#cron-job

Cron job

Cp /opt/librenms/librenms.nonroot.cron /etc/cron.d/librenms

Copy logrotate config
To rotate out the old logs you can use the provided logrotate config file:

Cp /opt/librenms/misc/librenms.logrotate /etc/logrotate.d/librenms

Set permissions

chown -R librenms:librenms /opt/librenms
setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/


I have no errors during the execution, but the same is not possible!
Is it something I missed?