Files
librenms-librenms/includes/services/check_graylog.inc.php
Tony Murray f3ba8947f7 Use Config helper (#10339)
remove usage of global variable
2019-06-23 00:29:12 -05:00

5 lines
348 B
PHP

<?php
// For use with Graylog2 plugin by Catinello found at https://marketplace.graylog.org/addons/9ee98819-804e-41c3-b0ac-6ca7975c1a48
// example parameters: -l https://graylog1.example.com:9000/api -insecure -p password -u username -w 10 -c 20
$check_cmd = \LibreNMS\Config::get('nagios_plugins') . "/check_graylog " . $service['service_param'];