Hello,
I’m trying to set up notification emails to include a traceroute, but am having problems getting this working. What I’ve tried so far is as follows:
-
Edit ‘/opt/librenms/config.php’ and include the following (note that the OS is Arch Linux and tracepath is the replacement for traceroute):
$config['debug']['run_trace'] = true;
$config['traceroute'] = '/usr/bin/tracepath';
-
Add the following to the alert template (taken from the documentation):
{{$alert->debug['traceroute']}}
Is there something I’m missing?
Thanks.
user@server:/opt/librenms$ sudo ./validate.php
[RuntimeException]
SHA384 is not supported by your openssl extension, could not verify the phar file integrity
self-update [-r|--rollback] [--clean-backups] [--no-progress] [--update-keys] [--stable] [--preview] [--snapshot] [--set-channel-only] [--] [<version>]
[RuntimeException]
SHA384 is not supported by your openssl extension, could not verify the phar file integrity
self-update [-r|--rollback] [--clean-backups] [--no-progress] [--update-keys] [--stable] [--preview] [--snapshot] [--set-channel-only] [--] [<version>]
[RuntimeException]
SHA384 is not supported by your openssl extension, could not verify the phar file integrity
self-update [-r|--rollback] [--clean-backups] [--no-progress] [--update-keys] [--stable] [--preview] [--snapshot] [--set-channel-only] [--] [<version>]
====================================
Component | Version
--------- | -------
LibreNMS | 1.52
DB Schema | 2019_02_10_220000_add_dates_to_fdb (132)
PHP | 7.2.14
MySQL | 10.3.12-MariaDB-log
RRDTool | 1.7.1
SNMP | NET-SNMP 5.8
====================================
[OK] Composer Version: 1.7.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
nologin: invalid option -- 'c'
Try 'nologin --help' for more information.
[FAIL] fping could not be executed. fping must have CAP_NET_RAW capability (getcap) or suid. Selinux exlusions may be required.
()
[FAIL] fping6 location is incorrect or bin not installed.
[FIX]:
Install fping6 or manually set the path to fping6 by placing the following in config.php: $config['fping6'] = '/path/to/fping6';
nologin: invalid option -- 'c'
Try 'nologin --help' for more information.
user@server:/opt/librenms$