librenms-librenms/includes/services/check_graylog.inc.php
theherodied 95f6f7b44d Updated command line switches (#8423)
New command line switches -w for warning and -c for critical added.
2018-03-19 21:18:13 +00:00

5 lines
334 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 = $config['nagios_plugins'] . "/check_graylog " . $service['service_param'];