![](https://secure.gravatar.com/avatar/c2a61162063395f955b8355155ab533b.jpg?s=120&d=mm&r=g)
I’ve attached the output, ☺
Duncan Mossop • Operations Manager, SystemHOST Ltd ________________________________ dmossop@systemhost.co.uk [cid:imageb32133.PNG@abc5371f.4591a463] 01524 737414 systemhost.co.ukhttp://www.systemhost.co.uk
[Twitter]https://twitter.com/systemhost Follow us on Twitter
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: 16 January 2016 09:51 To: observium@observium.org Subject: Re: [Observium] Strange issue with BGP sessions on Juniper MX104
Ok, and discovery?
./discovery.php -h 58 -m bgp-peers -d
:D
Sent from Mailbirdhttp://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm_campaign=sent-from-mailbird
On 16/01/2016 10:43:03, Duncan Mossop <dmossop@systemhost.co.ukmailto:dmossop@systemhost.co.uk> wrote: Also empty apparantely:
mysql> SELECT *, `bgpPeers`.bgpPeer_id as bgpPeer_id FROM `bgpPeers` LEFT JOIN `bgpPeers-state` ON `bgpPeers`.bgpPeer_id = `bgpPeers-state`.bgpPeer_id WHERE `device_id` = '58'; Empty set (0.00 sec)
Duncan Mossop
•
Operations Manager, SystemHOST Ltd
________________________________ dmossop@systemhost.co.ukmailto:dmossop@systemhost.co.uk
[cid:image6927f6.PNG@19d68f4d.448520ff]
01524 737414
systemhost.co.ukhttp://www.systemhost.co.uk
[Twitter]https://twitter.com/systemhost
Follow us on Twitter
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: 16 January 2016 09:42 To: observium@observium.orgmailto:observium@observium.org Subject: Re: [Observium] Strange issue with BGP sessions on Juniper MX104
and then:
SELECT *, `bgpPeers`.bgpPeer_id as bgpPeer_id FROM `bgpPeers` LEFT JOIN `bgpPeers-state` ON `bgpPeers`.bgpPeer_id = `bgpPeers-state`.bgpPeer_id WHERE `device_id` = '58'
Sent from Mailbirdhttp://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm_campaign=sent-from-mailbird
On 16/01/2016 10:35:35, Duncan Mossop <dmossop@systemhost.co.ukmailto:dmossop@systemhost.co.uk> wrote: Interesting:
mysql> SELECT * FROM `bgpPeers` WHERE `device_id` = '58'; Empty set (0.00 sec)
Duncan Mossop
•
Operations Manager, SystemHOST Ltd
________________________________ dmossop@systemhost.co.ukmailto:dmossop@systemhost.co.uk
[cid:image1a2b09.PNG@ecb5fc8a.4a8cfc3d]
01524 737414
systemhost.co.ukhttp://www.systemhost.co.uk
[Twitter]https://twitter.com/systemhost
Follow us on Twitter
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: 16 January 2016 09:28 To: observium@observium.orgmailto:observium@observium.org Subject: Re: [Observium] Strange issue with BGP sessions on Juniper MX104
Hmm. Nothing strange in there.
You can try :
SELECT * FROM `bgpPeers` WHERE `device_id` = '58';
That should return 20 rows or so.
adam.
Sent from Mailbirdhttp://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm_campaign=sent-from-mailbird
On 16/01/2016 10:19:21, Duncan Mossop <dmossop@systemhost.co.ukmailto:dmossop@systemhost.co.uk> wrote: Hi Adam,
Here you go, let me know if you can see anything out of the ordinary.
Thanks,
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: 16 January 2016 09:14 To: observium@observium.orgmailto:observium@observium.org Subject: Re: [Observium] Strange issue with BGP sessions on Juniper MX104
run the poller in debug mode and send me the output :
./poller.php -h <device_id> -m bgp-peers -d -r >> derp.txt
:D
adam.
Sent from Mailbirdhttp://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm_campaign=sent-from-mailbird
On 16/01/2016 10:10:26, Adam Armstrong <adama@memetic.orgmailto:adama@memetic.org> wrote: Hmm. Well that is incredibly strange.
The device page runs this query :
$device_routing_count['bgp'] = dbFetchCell("SELECT COUNT(*) FROM `bgpPeers` WHERE `device_id` = ?", array($device['device_id']));
So it should see the same sessions that the poller sees.
adam.
Sent from Mailbirdhttp://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm_campaign=sent-from-mailbird
On 16/01/2016 10:05:32, Duncan Mossop <dmossop@systemhost.co.ukmailto:dmossop@systemhost.co.uk> wrote: Hi Adam,
Had wondered that, here’s a screenshot there isn’t a BGP tab for the device in WebUI:
[cid:image001.png@01D1503C.F2F4BBC0]
Thanks,
Duncan Mossop
•
Operations Manager, SystemHOST Ltd
________________________________ dmossop@systemhost.co.ukmailto:dmossop@systemhost.co.uk
[cid:imageb2d6d5.PNG@69a4a0c2.44a5390d]
01524 737414
systemhost.co.ukhttp://www.systemhost.co.uk
[Twitter]https://twitter.com/systemhost
Follow us on Twitter
Duncan Mossop
•
Operations Manager, SystemHOST Ltd
________________________________ dmossop@systemhost.co.ukmailto:dmossop@systemhost.co.uk
[cid:image1f907c.PNG@ebb10ddb.4b8b2f12]
01524 737414
systemhost.co.ukhttp://www.systemhost.co.uk
[Twitter]https://twitter.com/systemhost
Follow us on Twitter
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: 16 January 2016 09:03 To: observium@observium.orgmailto:observium@observium.org Subject: Re: [Observium] Strange issue with BGP sessions on Juniper MX104
o Changes 2 updated, 17 unchanged
They're definitely in the database. Are you sure you're looking at the correct device in the web interface? :D
adam.
Sent from Mailbirdhttp://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm_campaign=sent-from-mailbird
On 16/01/2016 09:57:20, Duncan Mossop <dmossop@systemhost.co.ukmailto:dmossop@systemhost.co.uk> wrote: Hello,
We are running Observium professional 0.16.1.7407 and we have an issue with BGP session discovery on a Juniper MX104 (dual RE), running discovery against the device displays the fact there are numerous bgp sessions but not a single session appears under the device in the Observium WebUI.
This is the output from Discovery:
##### Module Start: bgp-peers #####
o Local AS AS198313 o Caching BGP4-MIB BGP4-V2-MIB-JUNIPER o Try discovering host 91.233.128.253 through BGP o Try discovering host 91.233.128.254 through BGP +------------------------------------+----------+------------------------------------+--------------+------------------------------------+------------------------------------+ | Local IP | Peer: AS | IP | Family | rDNS | Remote Device | +------------------------------------+----------+------------------------------------+--------------+------------------------------------+------------------------------------+ | 91.233.128.244 | 198313 | 91.233.128.253 | ipv4.unicast | lo0-core4.lancs-ycr.systemhost.co. | core4.lancs-ycr.systemhost.uk | | | | | | uk | | | 91.233.128.244 | 198313 | 91.233.128.254 | ipv4.unicast | lo0-edge1.lancs-ycr.systemhost.co. | edge1.car1.systemhost.co.uk | | | | | | uk | | | 149.6.147.122 | 174 | 149.6.147.121 | ipv4.unicast | gi0-0-0-6.nr11.b015668-1.lon01.atl | ... | | | | | | as.cogentco.com | | | 195.66.226.239 | 6939 | 195.66.224.21 | ipv4.unicast | 40ge1-3.core1.lon2.he.net | ... | | 195.66.226.239 | 32787 | 195.66.224.31 | ipv4.unicast | blackhole.prolexic.com | ... | | 195.66.226.239 | 20940 | 195.66.224.168 | ipv4.unicast | linxnap.netarch.akamai.com | ... | | 195.66.226.239 | 5459 | 195.66.224.254 | ipv4.unicast | ge0-0.pr1.linx.net | ... | | 195.66.226.239 | 45014 | 195.66.225.55 | ipv4.unicast | ge-0-2.gw4.rtr.thn.lon.as45014.net | ... | | 195.66.226.239 | 29611 | 195.66.225.78 | ipv4.unicast | linx.a.elite.net.uk | ... | | 195.66.226.239 | 8714 | 195.66.225.230 | ipv4.unicast | rs1.rbs.linx.net | ... | | 195.66.226.239 | 42344 | 195.66.226.71 | ipv4.unicast | linx1.conceptcoders.com | ... | | 195.66.226.239 | 20940 | 195.66.226.81 | ipv4.unicast | | ... | | 195.66.226.239 | 20940 | 195.66.226.167 | ipv4.unicast | | ... | | 195.66.226.239 | 58226 | 195.66.226.197 | ipv4.unicast | | ... | | 217.68.244.122 | 29611 | 217.68.244.123 | ipv4.unicast | ae0.1129.core.a.thm.elite.net.uk | ... | | 2001:07f8:0004:0000:0000:0003:06a9 | 6939 | 2001:07f8:0004:0000:0000:0000:1b1b | ipv6.unicast | 40ge1-3.core1.lon2.he.net | ... | | :0001 | | :0001 | | | | | 2001:07f8:0004:0000:0000:0003:06a9 | 8714 | 2001:07f8:0004:0000:0000:0000:220a | | | ... | | :0001 | | :0001 | | | | | 2001:07f8:0004:0000:0000:0003:06a9 | 45014 | 2001:07f8:0004:0000:0000:0000:afd6 | ipv6.unicast | ge-0-2.gw4.rtr.thn.lon.as45014.net | ... | | :0001 | | :0001 | | | | | 2001:07f8:0004:0000:0000:0003:06a9 | 58226 | 2001:07f8:0004:0000:0000:0000:e372 | ipv6.unicast | | ... | | :0001 | | :0001 | | | | +------------------------------------+----------+------------------------------------+--------------+------------------------------------+------------------------------------+
o Changes 2 updated, 17 unchanged o Duration 3.5349s
This issue seems to have appeared since fully enabling chassis Graceful Restart / Switchover.
I have removed and re-added the device from Observium to no effect.
Regards, Duncan Mossop
•
Operations Manager, SystemHOST Ltd
________________________________ dmossop@systemhost.co.ukmailto:dmossop@systemhost.co.uk
[cid:image30bc94.PNG@047b1488.498f55d8]
01524 737414
systemhost.co.ukhttp://www.systemhost.co.uk
[Twitter]https://twitter.com/systemhost
Follow us on Twitter
________________________________ SystemHOST Ltd Registered office: Holmere Hall, Yealand Conyers, Carnforth, Lancs, LA5 9SN Registered in England No.05028996 VAT No. 927386490
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. By opening this email or its attachments, you accept liability for any damage that may be caused to your computer hardware, software or data. ________________________________