Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
BGP alerting , empty alert, no detail #5207
DO NOT DELETE THIS INFORMATION.
GitHub issues is for feature requests or bugs, please do not post issues asking for help or how to do X, Y or Z.
I am using a BGP alert :
it works fine on an ASR 9010 , properly alerting down sessions,
for example : https://gyazo.com/d4383fc8a742026481b2340f36a2853b
tell me what details I can provide to help debugging, thanks
Ha, forgot it was encoded and gzipd!
Create this file /tmp/a.php:
<?php $init_modules = array(); require '/opt/librenms/includes/init.php'; $rule_id = $argv; $device_id = $argv; $details = dbFetchCell('SELECT details FROM alert_log WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1', array($rule_id, $device_id)); $data = json_decode(gzuncompress($details), true); print_r($data);
Replace RULE_ID and DEVICE_ID. Paste the output.
I'm confused with that, interval doesn't event seem to be a genuine value that can end up in that :(
I'd be inclined to say let's delete that alert and see what it re-generates.
very strange, I deleted the rule, waited a bit then added it again :
the same rule still works on a third ASR, only my 2 big ones give this kind of strange output