While making a global settings for email alerting, i see error as “Error: No Config item” when clicking on email transport. Following is my ./validate.php.
Hello,
i do have the same problem as new user of LibreNMS. My validate report is clean and i’m freshly updated.
As i touch any setup field in General Alert Setting or Email transport, i have the red popup: ERROR no config item. Starting with the email settings as suggested does not change the behavior for me.
Leaving the page and coming back shows no saved parameters. The process is Ajaxified, but Javascript console does not show a related error.
I tried to insert the parameters in the config.php file, but they did not appear in the webGui and that does not work either.
Where are these settings supposed to be saved? In config.php or in the DB?
I roughly set up the Slack channel as an alternative, and the test works in that case (does not mean i have a meaningful message yet …)
I will have a look at the db for the parameters.
This seem to have re-appeared… Additionally, no alerting is functioning.
Anything I touch in “Alert settings” tab creates the “ERROR: No config item” dialog.
Thinking perhaps this old mechanism for alerting has finally been killed off (As per the “Deprecated” warning suggests it might be) I have configured the new “Alert Transport” for email and for Slack. Neither is generating alerts.
Testing the mail Alert Transport reports success on the UI but does not generate any email. This has been confirmed via SMTP relay logs (which I have confirmed the LibreNMS server has connectivity). I have also enabled SMTPDebug=true in /opt/librenms/includes/functions.php yet even on a test, no activity related to SMTP/mail/etc appears in the /opt/librenms/logs/librenms.log
Testing the Slack Alert Transport does generate a test message to Slack. However, alerts from rules do not send any messages to Slack even though this Alert Transport is togged “on” for default.
I understand these issues might not all be related. Just wanting to fully document steps tried to this point.
[OK] Composer Version: 1.7.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[FAIL] Discovery has not completed in the last 24 hours.
[FIX] Check the cron job to make sure it is running and using discovery-wrapper.py
I have discovery manually disabled. My last daily.sh:
Updating to latest codebase OK
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
Hi Guys.
I have the same problem when I tray to change “stacked graph” option, under “WebUI Settings” menu.
Can I change Stacked graph in config.php file?
I have got exactly the same problem but the error does not appear in the email settings section but every where, this is fresh install for me on aws, can someone please assist?