Re: [Observium] Random Unicode Characters in BGP Polling / hex2ip
On 21.10.2013 15:52, Bastiaan Topper wrote:
Hi Mike,
Hereby the discovery output.
In our case it is ASR1001 router with Cisco IOS-XE 15.2(2)S1 (UNIVERSALK9).
Another tip, as it looks like a bug in IOS-XE, I suggest you update to the latest stable version. Latest for IOS 15.2 - Release 3.7.4S (asr1001-universalk9.03.07.04.S.152-4.S4.bin)
http://www.cisco.com/en/US/docs/routers/asr1000/release/notes/asr1k_rn_rel_n...
In fixed caveats list there is: https://tools.cisco.com/bugsearch/bug/CSCua40790
Regards,
Bastiaan
-----Original Message----- From: Mike Stupalov [mailto:landy2005@gmail.com] Sent: maandag 21 oktober 2013 13:06 To: Bastiaan Topper; Observium Network Observation System Subject: Re: [Observium] Random Unicode Characters in BGP Polling / hex2ip
On 21.10.2013 14:11, Bastiaan Topper wrote:
Hi,
I have kind of the same problem, but this time with Cisco ASR routers. As you can see below.
I included the poller debug outputs.
Ohh, nice. Thanks for debug outputs!
Please send also debug out for discovery. And tell ASR model and OS version.
The correct output (from a Cisco IOS router):
bgpPeerLocalAddr
bgpPeerLocalAddr.149.14.34.41 = 149.14.34.42
bgpPeerLocalAddr.172.30.253.3 = 172.30.253.66
bgpPeerLocalAddr.172.30.253.4 = 172.30.253.66
The wrong output (from a Cisco ASR router):
cbgpPeer2LocalAddr
cbgpPeer2LocalAddr.20." ..|(..........." = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........." = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........3" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........4" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........e" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........f" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........g" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.1" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.4" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.33" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.34" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.65" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.66" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.67" = "AC 1E FD 03 "
It looks like Observium is showing the first output correct, but not the second. Can this be fixed someway?
Regards,
Bastiaan
*From:*Tom Paseka [mailto:tom+lists@cloudflare.com] *Sent:* vrijdag 18 oktober 2013 22:47 *To:* Mike Stupalov *Cc:* Observium Network Observation System *Subject:* Re: [Observium] Random Unicode Characters in BGP Polling / hex2ip
Resolution:
# echo $LANG
en_GB
# export LANG=en_GB.UTF-8
On Fri, Oct 18, 2013 at 12:40 AM, Mike Stupalov <landy2005@gmail.com mailto:landy2005@gmail.com> wrote:
On 18.10.2013 10:24, Tom Paseka wrote: > Looks like a bug in snmp on the box - a raw snmpget shows the same > weirdness. > > Sorry for noise! Anyway, please send an output for debug poller/discovery. Also note that you need to do snmpget with option -On, because net-snmp default tries to translate hex data into string.. > > > On Thu, Oct 17, 2013 at 11:09 PM, Mike Stupalov <landy2005@gmail.com <mailto:landy2005@gmail.com> > <mailto:landy2005@gmail.com <mailto:landy2005@gmail.com>>> wrote: > > Please pastebin (on send file) for debug polling out: > php ./poller.php -d -m bgp-peers -h <your_juniper> > /tmp/poller.out > > also for discovery (if possible): > php ./discovery.php -d -m bgp-peers -h <your_juniper> > > /tmp/discovery.out > > -- > Mike Stupalov > > Tom Paseka __ 18 октября 2013 г. 5:31:10 написал: > >> <snip> >> [jnxBgpM2PeerRemoteAddr] => � |� >> [jnxBgpM2PeerLocalAddr] => � }< >> <snip> >> >> Is this well known? > > -- Mike Stupalov
Hi Mike,
I have routers with version: IOS XE Version: 03.06.01.S, Version 15.2(2)S1 and: IOS XE Version: 03.08.01.S, Version 15.3(1)S1. Both have the same problem. The bug you describe is about a memory leak. In version 3.6 - 3.10 I can't find anything about a bug (or fix) for the SNMP issue. If I check a router with the 3.6 version code, it is giving the IPv4 BGP neighbor ip addresses correctly, the IPv6 addresses are corrupt or empty (as seen in the screenshots from yesterday). For the 3.8 version code, it looks like the IPv4 ip addresses are wrongly formatted, this could be an IOS bug. But the IPv6 problem is the same for the 3.6 and 3.8 version IOS.
Could you please see if you can fix that (ipv6 part) in Observium code? The version 3.8 I will try to upgrade to see if the problem with the wrongly formatted IPv4 addresses will be fixed.
Regards, Bastiaan
-----Original Message----- From: Mike Stupalov [mailto:landy2005@gmail.com] Sent: dinsdag 22 oktober 2013 11:39 To: Bastiaan Topper; Observium Network Observation System Subject: Re: [Observium] Random Unicode Characters in BGP Polling / hex2ip
On 21.10.2013 15:52, Bastiaan Topper wrote:
Hi Mike,
Hereby the discovery output.
In our case it is ASR1001 router with Cisco IOS-XE 15.2(2)S1 (UNIVERSALK9).
Another tip, as it looks like a bug in IOS-XE, I suggest you update to the latest stable version. Latest for IOS 15.2 - Release 3.7.4S (asr1001-universalk9.03.07.04.S.152-4.S4.bin)
http://www.cisco.com/en/US/docs/routers/asr1000/release/notes/asr1k_rn_rel_n...
In fixed caveats list there is: https://tools.cisco.com/bugsearch/bug/CSCua40790
Regards,
Bastiaan
-----Original Message----- From: Mike Stupalov [mailto:landy2005@gmail.com] Sent: maandag 21 oktober 2013 13:06 To: Bastiaan Topper; Observium Network Observation System Subject: Re: [Observium] Random Unicode Characters in BGP Polling / hex2ip
On 21.10.2013 14:11, Bastiaan Topper wrote:
Hi,
I have kind of the same problem, but this time with Cisco ASR routers. As you can see below.
I included the poller debug outputs.
Ohh, nice. Thanks for debug outputs!
Please send also debug out for discovery. And tell ASR model and OS version.
The correct output (from a Cisco IOS router):
bgpPeerLocalAddr
bgpPeerLocalAddr.149.14.34.41 = 149.14.34.42
bgpPeerLocalAddr.172.30.253.3 = 172.30.253.66
bgpPeerLocalAddr.172.30.253.4 = 172.30.253.66
The wrong output (from a Cisco ASR router):
cbgpPeer2LocalAddr
cbgpPeer2LocalAddr.20." ..|(..........." = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........." = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........3" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........4" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........e" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........f" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........g" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.1" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.4" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.33" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.34" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.65" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.66" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.67" = "AC 1E FD 03 "
It looks like Observium is showing the first output correct, but not the second. Can this be fixed someway?
Regards,
Bastiaan
*From:*Tom Paseka [mailto:tom+lists@cloudflare.com] *Sent:* vrijdag 18 oktober 2013 22:47 *To:* Mike Stupalov *Cc:* Observium Network Observation System *Subject:* Re: [Observium] Random Unicode Characters in BGP Polling / hex2ip
Resolution:
# echo $LANG
en_GB
# export LANG=en_GB.UTF-8
On Fri, Oct 18, 2013 at 12:40 AM, Mike Stupalov <landy2005@gmail.com mailto:landy2005@gmail.com> wrote:
On 18.10.2013 10:24, Tom Paseka wrote: > Looks like a bug in snmp on the box - a raw snmpget shows the same > weirdness. > > Sorry for noise! Anyway, please send an output for debug poller/discovery. Also note that you need to do snmpget with option -On, because net-snmp default tries to translate hex data into string.. > > > On Thu, Oct 17, 2013 at 11:09 PM, Mike Stupalov <landy2005@gmail.com <mailto:landy2005@gmail.com> > <mailto:landy2005@gmail.com <mailto:landy2005@gmail.com>>> wrote: > > Please pastebin (on send file) for debug polling out: > php ./poller.php -d -m bgp-peers -h <your_juniper> > /tmp/poller.out > > also for discovery (if possible): > php ./discovery.php -d -m bgp-peers -h <your_juniper> > > /tmp/discovery.out > > -- > Mike Stupalov > > Tom Paseka __ 18 октября 2013 г. 5:31:10 написал: > >> <snip> >> [jnxBgpM2PeerRemoteAddr] => � |� >> [jnxBgpM2PeerLocalAddr] => � }< >> <snip> >> >> Is this well known? > > -- Mike Stupalov
I suggest you to open TAC case.
On 22/10/13 16:14, Bastiaan Topper wrote:
Could you please see if you can fix that (ipv6 part) in Observium code? The version 3.8 I will try to upgrade to see if the problem with the wrongly formatted IPv4 addresses will be fixed.
I was seeing the same unicode characters for IPv4 and IPv6 neighbors coming from Cisco ASR 9000 routers running IOS-XR 4.1.2.
I updated to latest SVN after seeing these emails and they are now displaying properly for me.
Not sure if similar bug in IOS-XR but I will investigate.
On 10/22/13 7:14 AM, "Bastiaan Topper" B.Topper@korton.nl wrote:
Hi Mike,
I have routers with version: IOS XE Version: 03.06.01.S, Version 15.2(2)S1 and: IOS XE Version: 03.08.01.S, Version 15.3(1)S1. Both have the same problem. The bug you describe is about a memory leak. In version 3.6 - 3.10 I can't find anything about a bug (or fix) for the SNMP issue. If I check a router with the 3.6 version code, it is giving the IPv4 BGP neighbor ip addresses correctly, the IPv6 addresses are corrupt or empty (as seen in the screenshots from yesterday). For the 3.8 version code, it looks like the IPv4 ip addresses are wrongly formatted, this could be an IOS bug. But the IPv6 problem is the same for the 3.6 and 3.8 version IOS.
Could you please see if you can fix that (ipv6 part) in Observium code? The version 3.8 I will try to upgrade to see if the problem with the wrongly formatted IPv4 addresses will be fixed.
Regards,
Bastiaan
-----Original Message----- From: Mike Stupalov [mailto:landy2005@gmail.com] Sent: dinsdag 22 oktober 2013 11:39 To: Bastiaan Topper; Observium Network Observation System Subject: Re: [Observium] Random Unicode Characters in BGP Polling / hex2ip
On 21.10.2013 15:52, Bastiaan Topper wrote:
Hi Mike,
Hereby the discovery output.
In our case it is ASR1001 router with Cisco IOS-XE 15.2(2)S1 (UNIVERSALK9).
Another tip, as it looks like a bug in IOS-XE, I suggest you update to the latest stable version. Latest for IOS 15.2 - Release 3.7.4S (asr1001-universalk9.03.07.04.S.152-4.S4.bin)
http://www.cisco.com/en/US/docs/routers/asr1000/release/notes/asr1k_rn_rel _notes.html
In fixed caveats list there is: https://tools.cisco.com/bugsearch/bug/CSCua40790
Regards,
Bastiaan
-----Original Message----- From: Mike Stupalov [mailto:landy2005@gmail.com] Sent: maandag 21 oktober 2013 13:06 To: Bastiaan Topper; Observium Network Observation System Subject: Re: [Observium] Random Unicode Characters in BGP Polling / hex2ip
On 21.10.2013 14:11, Bastiaan Topper wrote:
Hi,
I have kind of the same problem, but this time with Cisco ASR routers. As you can see below.
I included the poller debug outputs.
Ohh, nice. Thanks for debug outputs!
Please send also debug out for discovery. And tell ASR model and OS version.
The correct output (from a Cisco IOS router):
bgpPeerLocalAddr
bgpPeerLocalAddr.149.14.34.41 = 149.14.34.42
bgpPeerLocalAddr.172.30.253.3 = 172.30.253.66
bgpPeerLocalAddr.172.30.253.4 = 172.30.253.66
The wrong output (from a Cisco ASR router):
cbgpPeer2LocalAddr
cbgpPeer2LocalAddr.20." ..|(..........." = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........." = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........3" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........4" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........e" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........f" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........g" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.1" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.4" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.33" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.34" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.65" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.66" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.67" = "AC 1E FD 03 "
It looks like Observium is showing the first output correct, but not the second. Can this be fixed someway?
Regards,
Bastiaan
*From:*Tom Paseka [mailto:tom+lists@cloudflare.com] *Sent:* vrijdag 18 oktober 2013 22:47 *To:* Mike Stupalov *Cc:* Observium Network Observation System *Subject:* Re: [Observium] Random Unicode Characters in BGP Polling / hex2ip
Resolution:
# echo $LANG
en_GB
# export LANG=en_GB.UTF-8
On Fri, Oct 18, 2013 at 12:40 AM, Mike Stupalov <landy2005@gmail.com mailto:landy2005@gmail.com> wrote:
On 18.10.2013 10:24, Tom Paseka wrote: > Looks like a bug in snmp on the box - a raw snmpget shows the
same > weirdness. > > Sorry for noise!
Anyway, please send an output for debug poller/discovery. Also note that you need to do snmpget with option -On, because net-snmp default tries to translate hex data into string.. > > > On Thu, Oct 17, 2013 at 11:09 PM, Mike Stupalov <landy2005@gmail.com <mailto:landy2005@gmail.com> > <mailto:landy2005@gmail.com <mailto:landy2005@gmail.com>>> wrote: > > Please pastebin (on send file) for debug polling out: > php ./poller.php -d -m bgp-peers -h <your_juniper> > /tmp/poller.out > > also for discovery (if possible): > php ./discovery.php -d -m bgp-peers -h <your_juniper> > > /tmp/discovery.out > > -- > Mike Stupalov > > Tom Paseka __ 18 октября 2013 г. 5:31:10 написал: > >> <snip> >> [jnxBgpM2PeerRemoteAddr] => � |� >> [jnxBgpM2PeerLocalAddr] => � }< >> <snip> >> >> Is this well known? > > -- Mike Stupalov
-- Mike Stupalov
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Your problem fixed in r4684. This is was our issue :)
On Tue, Oct 22, 2013 at 5:59 PM, Tim Calvin tcalvin@tlsn.net wrote:
I was seeing the same unicode characters for IPv4 and IPv6 neighbors coming from Cisco ASR 9000 routers running IOS-XR 4.1.2.
I updated to latest SVN after seeing these emails and they are now displaying properly for me.
Not sure if similar bug in IOS-XR but I will investigate.
On 10/22/13 7:14 AM, "Bastiaan Topper" B.Topper@korton.nl wrote:
Hi Mike,
I have routers with version: IOS XE Version: 03.06.01.S, Version 15.2(2)S1 and: IOS XE Version: 03.08.01.S, Version 15.3(1)S1. Both have the same problem. The bug you describe is about a memory leak. In version 3.6 - 3.10 I can't find anything about a bug (or fix) for the SNMP issue. If I check a router with the 3.6 version code, it is giving the IPv4 BGP neighbor ip addresses correctly, the IPv6 addresses are corrupt or empty (as seen in the screenshots from yesterday). For the 3.8 version code, it looks like the IPv4 ip addresses are wrongly formatted, this could be an IOS bug. But the IPv6 problem is the same for the 3.6 and 3.8 version IOS.
Could you please see if you can fix that (ipv6 part) in Observium code? The version 3.8 I will try to upgrade to see if the problem with the wrongly formatted IPv4 addresses will be fixed.
Regards,
Bastiaan
-----Original Message----- From: Mike Stupalov [mailto:landy2005@gmail.com] Sent: dinsdag 22 oktober 2013 11:39 To: Bastiaan Topper; Observium Network Observation System Subject: Re: [Observium] Random Unicode Characters in BGP Polling / hex2ip
On 21.10.2013 15:52, Bastiaan Topper wrote:
Hi Mike,
Hereby the discovery output.
In our case it is ASR1001 router with Cisco IOS-XE 15.2(2)S1 (UNIVERSALK9).
Another tip, as it looks like a bug in IOS-XE, I suggest you update to the latest stable version. Latest for IOS 15.2 - Release 3.7.4S (asr1001-universalk9.03.07.04.S.152-4.S4.bin)
http://www.cisco.com/en/US/docs/routers/asr1000/release/notes/asr1k_rn_rel _notes.html
In fixed caveats list there is: https://tools.cisco.com/bugsearch/bug/CSCua40790
Regards,
Bastiaan
-----Original Message----- From: Mike Stupalov [mailto:landy2005@gmail.com] Sent: maandag 21 oktober 2013 13:06 To: Bastiaan Topper; Observium Network Observation System Subject: Re: [Observium] Random Unicode Characters in BGP Polling / hex2ip
On 21.10.2013 14:11, Bastiaan Topper wrote:
Hi,
I have kind of the same problem, but this time with Cisco ASR routers. As you can see below.
I included the poller debug outputs.
Ohh, nice. Thanks for debug outputs!
Please send also debug out for discovery. And tell ASR model and OS version.
The correct output (from a Cisco IOS router):
bgpPeerLocalAddr
bgpPeerLocalAddr.149.14.34.41 = 149.14.34.42
bgpPeerLocalAddr.172.30.253.3 = 172.30.253.66
bgpPeerLocalAddr.172.30.253.4 = 172.30.253.66
The wrong output (from a Cisco ASR router):
cbgpPeer2LocalAddr
cbgpPeer2LocalAddr.20." ..|(..........." = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........." = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........3" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........4" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........e" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........f" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........g" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.1" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.4" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.33" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.34" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.65" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.66" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.67" = "AC 1E FD 03 "
It looks like Observium is showing the first output correct, but not the second. Can this be fixed someway?
Regards,
Bastiaan
*From:*Tom Paseka [mailto:tom+lists@cloudflare.com] *Sent:* vrijdag 18 oktober 2013 22:47 *To:* Mike Stupalov *Cc:* Observium Network Observation System *Subject:* Re: [Observium] Random Unicode Characters in BGP Polling / hex2ip
Resolution:
# echo $LANG
en_GB
# export LANG=en_GB.UTF-8
On Fri, Oct 18, 2013 at 12:40 AM, Mike Stupalov <landy2005@gmail.com mailto:landy2005@gmail.com> wrote:
On 18.10.2013 10:24, Tom Paseka wrote: > Looks like a bug in snmp on the box - a raw snmpget shows the
same > weirdness. > > Sorry for noise!
Anyway, please send an output for debug poller/discovery. Also note that you need to do snmpget with option -On, because net-snmp default tries to translate hex data into string.. > > > On Thu, Oct 17, 2013 at 11:09 PM, Mike Stupalov <landy2005@gmail.com <mailto:landy2005@gmail.com> > <mailto:landy2005@gmail.com <mailto:landy2005@gmail.com>>> wrote: > > Please pastebin (on send file) for debug polling out: > php ./poller.php -d -m bgp-peers -h <your_juniper> > /tmp/poller.out > > also for discovery (if possible): > php ./discovery.php -d -m bgp-peers -h <your_juniper> > > /tmp/discovery.out > > -- > Mike Stupalov > > Tom Paseka __ 18 октября 2013 г. 5:31:10 написал: > >> <snip> >> [jnxBgpM2PeerRemoteAddr] => � |� >> [jnxBgpM2PeerLocalAddr] => � }< >> <snip> >> >> Is this well known? > > -- Mike Stupalov
-- Mike Stupalov
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hi Bastiaan,
On 22.10.2013 16:14, Bastiaan Topper wrote:
Hi Mike,
I have routers with version: IOS XE Version: 03.06.01.S, Version 15.2(2)S1 and: IOS XE Version: 03.08.01.S, Version 15.3(1)S1. Both have the same problem. The bug you describe is about a memory leak. In version 3.6 - 3.10 I can't find anything about a bug (or fix) for the SNMP issue. If I check a router with the 3.6 version code, it is giving the IPv4 BGP neighbor ip addresses correctly, the IPv6 addresses are corrupt or empty (as seen in the screenshots from yesterday). For the 3.8 version code, it looks like the IPv4 ip addresses are wrongly formatted, this could be an IOS bug. But the IPv6 problem is the same for the 3.6 and 3.8 version IOS.
Could you please see if you can fix that (ipv6 part) in Observium code? The version 3.8 I will try to upgrade to see if the problem with the wrongly formatted IPv4 addresses will be fixed.
Problem affects only IPv6 addresses and only some random IOS-XE devices. Incorrect IPv4 addresses which you see it IPv6 addresses which are not properly received from OID.
From these devices the wrong type (InetAddressType) is received.
Described in RFC 4001 type for IPv6 has to have number 2, but in your device this type has number 20: cbgpPeer2RemoteAs.20." ..|(..........." = 58138
respectively snmpwalk not correctly translate these addresses.
See possible InetAddressType here: ftp://ftp.cisco.com/pub/mibs/v2/INET-ADDRESS-MIB.my
In any case problem in IOS, probably not that specified bug number earlier. Try to update if it doesn't help, possibly should be written TAC to cisco support.
Regards,
Bastiaan
-----Original Message----- From: Mike Stupalov [mailto:landy2005@gmail.com] Sent: dinsdag 22 oktober 2013 11:39 To: Bastiaan Topper; Observium Network Observation System Subject: Re: [Observium] Random Unicode Characters in BGP Polling / hex2ip
On 21.10.2013 15:52, Bastiaan Topper wrote:
Hi Mike,
Hereby the discovery output.
In our case it is ASR1001 router with Cisco IOS-XE 15.2(2)S1 (UNIVERSALK9).
Another tip, as it looks like a bug in IOS-XE, I suggest you update to the latest stable version. Latest for IOS 15.2 - Release 3.7.4S (asr1001-universalk9.03.07.04.S.152-4.S4.bin)
http://www.cisco.com/en/US/docs/routers/asr1000/release/notes/asr1k_rn_rel_n...
In fixed caveats list there is: https://tools.cisco.com/bugsearch/bug/CSCua40790
Regards,
Bastiaan
-----Original Message----- From: Mike Stupalov [mailto:landy2005@gmail.com] Sent: maandag 21 oktober 2013 13:06 To: Bastiaan Topper; Observium Network Observation System Subject: Re: [Observium] Random Unicode Characters in BGP Polling / hex2ip
On 21.10.2013 14:11, Bastiaan Topper wrote:
Hi,
I have kind of the same problem, but this time with Cisco ASR routers. As you can see below.
I included the poller debug outputs.
Ohh, nice. Thanks for debug outputs!
Please send also debug out for discovery. And tell ASR model and OS version.
The correct output (from a Cisco IOS router):
bgpPeerLocalAddr
bgpPeerLocalAddr.149.14.34.41 = 149.14.34.42
bgpPeerLocalAddr.172.30.253.3 = 172.30.253.66
bgpPeerLocalAddr.172.30.253.4 = 172.30.253.66
The wrong output (from a Cisco ASR router):
cbgpPeer2LocalAddr
cbgpPeer2LocalAddr.20." ..|(..........." = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........." = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........3" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........4" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........e" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........f" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.20." ..|(..........g" = "20 01 06 7C 28 D4 00 00 00 00 00 00 00 00 00 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.1" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.4" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.33" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.34" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.65" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.66" = "AC 1E FD 03 "
cbgpPeer2LocalAddr.ipv4."172.30.253.67" = "AC 1E FD 03 "
It looks like Observium is showing the first output correct, but not the second. Can this be fixed someway?
Regards,
Bastiaan
*From:*Tom Paseka [mailto:tom+lists@cloudflare.com] *Sent:* vrijdag 18 oktober 2013 22:47 *To:* Mike Stupalov *Cc:* Observium Network Observation System *Subject:* Re: [Observium] Random Unicode Characters in BGP Polling / hex2ip
Resolution:
# echo $LANG
en_GB
# export LANG=en_GB.UTF-8
On Fri, Oct 18, 2013 at 12:40 AM, Mike Stupalov <landy2005@gmail.com mailto:landy2005@gmail.com> wrote:
On 18.10.2013 10:24, Tom Paseka wrote: > Looks like a bug in snmp on the box - a raw snmpget shows the same > weirdness. > > Sorry for noise! Anyway, please send an output for debug poller/discovery. Also note that you need to do snmpget with option -On, because net-snmp default tries to translate hex data into string.. > > > On Thu, Oct 17, 2013 at 11:09 PM, Mike Stupalov <landy2005@gmail.com <mailto:landy2005@gmail.com> > <mailto:landy2005@gmail.com <mailto:landy2005@gmail.com>>> wrote: > > Please pastebin (on send file) for debug polling out: > php ./poller.php -d -m bgp-peers -h <your_juniper> > /tmp/poller.out > > also for discovery (if possible): > php ./discovery.php -d -m bgp-peers -h <your_juniper> > > /tmp/discovery.out > > -- > Mike Stupalov > > Tom Paseka __ 18 октября 2013 г. 5:31:10 написал: > >> <snip> >> [jnxBgpM2PeerRemoteAddr] => � |� >> [jnxBgpM2PeerLocalAddr] => � }< >> <snip> >> >> Is this well known? > > -- Mike Stupalov
participants (4)
-
Bastiaan Topper
-
Mike Stupalov
-
Nikolay Shopik
-
Tim Calvin