mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Alert transport fixes (#8967)
DO NOT DELETE THIS TEXT #### Please note > Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting. - [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/) #### Testers If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
This commit is contained in:
committed by
Neil Lathwood
parent
9bc0c542a5
commit
deb405fac9
@@ -1,12 +1,12 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
$init_modules = ['alerts', 'alerts-cli'];
|
||||
$init_modules = ['alerts', 'laravel'];
|
||||
require __DIR__ . '/../includes/init.php';
|
||||
|
||||
$options = getopt('t:h:r:p:s:d::');
|
||||
|
||||
if ($options['r'] && $options['h']) {
|
||||
if (isset($options['r']) && isset($options['h'])) {
|
||||
set_debug(isset($options['d']));
|
||||
|
||||
$rule_id = (int)$options['r'];
|
||||
|
Reference in New Issue
Block a user