In my cron file, I can see these three cron jobs
Please advise why should I use two times discovery? one time as discovery-wrapper.py
and other time as discovery.php, should I disable 1? or disable both?
As I have item number 3 which runs every minute
You are using way too many threads for the discovery-wrapper.py that could cause the system to crash. Discovery. I would only use two threads for discovery-wrapper.py. Discovery is meant to run in the background and take its time.
Also reason, why you have two discovery in librenmscron, is because, discovery-wrapper.py is used to go out every 6 hours and discovery your devices and discovery.php -h new is used only when you add a new device.
Looks like you have 1-minute polling I would change that back to 5-minute polling if you have 500 devices.
Here is what my discovery and poller librenms cron look like and I have 600+ devices.
I changed discovery-wrapper.py to 2 threads
but left poller-wrapper.py to run every two minute
as I’ve delay set to 3 minute, in this case if something happens alert will be triggered in 5 minutes which is also too much time, but at least it will eliminate false positive alerts as cron will run 2 times before alert will be triggered