New alert transport mapping ability - REPORT BROKEN TRANSPORTS HERE


#1

Hi Folks,

We’ve just merged https://github.com/librenms/librenms/pull/8660/

If you have updated and are experiencing issues with alerts being delivered then please report it here. Ensure you provide the output of ./validate.php, what transport you are running and the output of ./scripts/test-alert.php (requires additional params).

Any response not following the above will be deleted.


Pushbullet
Pushbullet
#2

hello community I do not understand why but recently but notification via pushbullet no more, and it worked before it is the update git pull? that’s what I have in log :
Stack trace:
#0 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(112): Illuminate\View\View->__call(‘send’, Array)
#1 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(89): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(Symfony\Component\Debug\Exception\FatalThrowableError))
#2 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Symfony\Component\Debug\Exception\FatalThrowableError))
#3 {main}
thrown in /opt/librenms/vendor/laravel/framework/src/Illuminate/View/View.php:399
Stack trace:
#0 {main}
#0 /opt/librenms/html/includes/forms/test-transport.inc.php(59): LibreNMS\Alert\Transport\Pushbullet->deliverAlert(Array, ‘o.Yxxxxxxxxx…’)
#1 /opt/librenms/html/ajax_form.php(31): include_once(’/opt/librenms/h…’)


#3

thank you for your answer my validation via validate.php is ok I still have the same problem

[2018-07-27 11:54:25] production.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined function LibreNMS\Alert\Transport\contactPushbullet() in /opt/librenms/LibreNMS/Alert/Transport/Pushbullet.php:35
Stack trace:
#0 /opt/librenms/html/includes/forms/test-transport.inc.php(59): LibreNMS\Alert\Transport\Pushbullet->deliverAlert(Array, ‘o"my_token"…’)
#1 /opt/librenms/html/ajax_form.php(31): include_once(’/opt/librenms/h…’)
#2 {main}
[2018-07-27 11:54:25] production.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Uncaught BadMethodCallException: Method [send] does not exist on view. in /opt/librenms/vendor/laravel/framework/src/Illuminate/View/View.php:399
Stack trace:
#0 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(112): Illuminate\View\View->__call(‘send’, Array)
#1 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(89): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(Symfony\Component\Debug\Exception\FatalThrowableError))
#2 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Symfony\Component\Debug\Exception\FatalThrowableError))
#3 {main}
thrown in /opt/librenms/vendor/laravel/framework/src/Illuminate/View/View.php:399
Stack trace:
#0 {main}
[2018-07-27 11:54:26] production.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined function LibreNMS\Alert\Transport\contactPushbullet() in /opt/librenms/LibreNMS/Alert/Transport/Pushbullet.php:35
Stack trace:
#0 /opt/librenms/html/includes/forms/test-transport.inc.php(59): LibreNMS\Alert\Transport\Pushbullet->deliverAlert(Array, ‘o.My_Token…’)
#1 /opt/librenms/html/ajax_form.php(31): include_once(’/opt/librenms/h…’)
#2 {main}
[2018-07-27 11:54:26] production.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Uncaught BadMethodCallException: Method [send] does not exist on view. in /opt/librenms/vendor/laravel/framework/src/Illuminate/View/View.php:399
Stack trace:
#0 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(112): Illuminate\View\View->__call(‘send’, Array)
#1 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(89): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(Symfony\Component\Debug\Exception\FatalThrowableError))
#2 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Symfony\Component\Debug\Exception\FatalThrowableError))
#3 {main}
thrown in /opt/librenms/vendor/laravel/framework/src/Illuminate/View/View.php:399
Stack trace:
#0 {main}


#4

@mehdi_laghrour Proposed fix is here, please test: https://github.com/librenms/librenms/pull/8963


#5

Fix is now in master so update and try again


#6

THX it’s OK