Hi,
after reboot all poller won’t work. When I try to start service wia systemd:
May 2 14:55:47 dss-p2 systemd[1]: Started LibreNMS SNMP Poller Service.
May 2 14:55:47 dss-p2 poller-service: INFO: Starting poller-service
May 2 14:55:47 dss-p2 poller-service: ERROR: Could not load or parse configuration, are PATHs correct?
May 2 14:55:47 dss-p2 systemd[1]: librenms-poller-service.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 2 14:55:47 dss-p2 systemd[1]: librenms-poller-service.service: Unit entered failed state.
May 2 14:55:47 dss-p2 systemd[1]: librenms-poller-service.service: Failed with result ‘exit-code’.
May 2 14:55:49 dss-p2 systemd[1]: librenms-poller-service.service: Service hold-off time over, scheduling restart.
May 2 14:55:49 dss-p2 systemd[1]: Stopped LibreNMS SNMP Poller Service.
May 2 14:55:49 dss-p2 systemd[1]: Started LibreNMS SNMP Poller Service.
May 2 14:55:49 dss-p2 poller-service: INFO: Starting poller-service
May 2 14:55:49 dss-p2 poller-service: ERROR: Could not load or parse configuration, are PATHs correct?
May 2 14:55:49 dss-p2 systemd[1]: librenms-poller-service.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 2 14:55:49 dss-p2 systemd[1]: librenms-poller-service.service: Unit entered failed state.
May 2 14:55:49 dss-p2 systemd[1]: librenms-poller-service.service: Failed with result ‘exit-code’.
now service flapping. Start and died in loop. Manual poller.php -h work.
====================================
Component | Version |
---|---|
LibreNMS | 1.39-5-gf568adf |
DB Schema | 249 |
PHP | 7.0.28-0ubuntu0.16.04.1 |
MySQL | 5.7.21-20-log |
RRDTool | 1.5.5 |
SNMP | NET-SNMP 5.7.3 |
====================================
[OK] Composer Version: 1.6.4
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[FAIL] The poller (dss-p1) has not completed within the last 5 minutes, check the cron job.
[FAIL] The poller (dss-p2) has not completed within the last 5 minutes, check the cron job.
[WARN] Some devices have not been polled in the last 5 minutes. You may have performance issues.
systemd service:
[Unit]
Description=LibreNMS SNMP Poller Service
After=network.target
[Service]
ExecStart=/opt/librenms/poller-service.py
WorkingDirectory=/opt/librenms
User=librenms
Group=librenms
RestartSec=2
Restart=always
[Install]
WantedBy=multi-user.target
Until reboot all works OK. Telnet to memcache and rrdcached works.
Please help - this is big system.