mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix path related issues for ss and systemd applications (#16045)
* fix path related issues for ss and systemd * ensure / is before include * re-order use order
This commit is contained in:
committed by
GitHub
parent
2a42bf714f
commit
3491f3d704
@@ -1,11 +1,12 @@
|
||||
<?php
|
||||
|
||||
require_once 'includes/ss-shared.inc.php';
|
||||
|
||||
use LibreNMS\Config;
|
||||
use LibreNMS\Exceptions\JsonAppException;
|
||||
use LibreNMS\Exceptions\JsonAppMissingKeysException;
|
||||
use LibreNMS\RRD\RrdDefinition;
|
||||
|
||||
require_once Config::get('install_dir') . '/includes/ss-shared.inc.php';
|
||||
|
||||
$name = 'ss';
|
||||
$output_success = 'OK';
|
||||
$polling_type = 'app';
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
<?php
|
||||
|
||||
require_once 'includes/systemd-shared.inc.php';
|
||||
|
||||
use LibreNMS\Config;
|
||||
use LibreNMS\Exceptions\JsonAppException;
|
||||
use LibreNMS\Exceptions\JsonAppMissingKeysException;
|
||||
use LibreNMS\RRD\RrdDefinition;
|
||||
|
||||
require_once Config::get('install_dir') . '/includes/systemd-shared.inc.php';
|
||||
|
||||
$name = 'systemd';
|
||||
$output = 'OK';
|
||||
$polling_type = 'app';
|
||||
|
||||
Reference in New Issue
Block a user