[XML] Cisco NAT template

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

alejo01
Posts: 1
Joined: Mon Oct 31, 2011 12:36 pm

Re: [XML] Cisco NAT template

Post by alejo01 »

Hi!! I import correctly the template but have no data!! have a Cisco 6524? any idea?
linux83
Cacti User
Posts: 70
Joined: Tue Oct 11, 2011 1:40 am

Re: [XML] Cisco NAT template

Post by linux83 »

Hello colleagues,

First, thanks alot for your effort that help alot.

i load NAT plugin in cacti 0.8.7H, however it's not giving correct reading from cisco 7200 router.

This is real inservice box reading:
7200#show ip nat statistics
Total active translations: 213188 (0 static, 213188 dynamic; 213183 extended)
Peak translations: 260200, occurred 13:37:50 ago

Around 213,000 session while Plugin reading is only 35,000 session, the scale does not go more than 40,000 session at all.

i capture the real time transulation to get proper reading and found it not matching the real reading from router.

any help please.
Attachments
NAT.png
NAT.png (59.36 KiB) Viewed 4122 times
Cisco Networking
*LeArN To KnOw*
linux83
Cacti User
Posts: 70
Joined: Tue Oct 11, 2011 1:40 am

Re: [XML] Cisco NAT template

Post by linux83 »

Hi,
i test the template again on Cisco 2800 and give good result, i think it's OID related to this 7200.

i reach the maximum of PAT sessions on this test.
i will research and post back:
Attachments
NAT-Test-Reading.png
NAT-Test-Reading.png (180.88 KiB) Viewed 4110 times
Cisco Networking
*LeArN To KnOw*
tosage
Cacti User
Posts: 164
Joined: Wed Jul 28, 2010 5:05 am
Location: France

Re: [XML] Cisco NAT template

Post by tosage »

Hello, In my installation with a Cisco 2851 with this IOS : C28000NM-ADVIPSERVICESK9-MZ.124-24.T2.bin
The OID in this template give me the total of PAT translation.

Anybody have found the OID will give us the total of NAT on a Cisco routeur ?

Thanks for feedback :)
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
h3clht
Posts: 5
Joined: Fri Sep 09, 2011 4:16 am

Re: [XML] Cisco NAT template

Post by h3clht »

Selenius wrote:
wanyinglong wrote:no data ,cisco 3925
I'll test it on Cisco 2951 in near future.
I have test for 3925, but it dose't work.And the C2811 too.
I connected the cisco tac, there is no mib for nat translation statistics.
It's a bug always.
So I don't know how to watch it!!
h3clht
Posts: 5
Joined: Fri Sep 09, 2011 4:16 am

Re: [XML] Cisco NAT template

Post by h3clht »

linux83 wrote:Hello colleagues,

First, thanks alot for your effort that help alot.

i load NAT plugin in cacti 0.8.7H, however it's not giving correct reading from cisco 7200 router.

This is real inservice box reading:
7200#show ip nat statistics
Total active translations: 213188 (0 static, 213188 dynamic; 213183 extended)
Peak translations: 260200, occurred 13:37:50 ago

Around 213,000 session while Plugin reading is only 35,000 session, the scale does not go more than 40,000 session at all.

i capture the real time transulation to get proper reading and found it not matching the real reading from router.

any help please.
How did you realize it ?

thank you!
micronemo
Posts: 6
Joined: Wed Nov 14, 2012 9:36 am

Re: [XML] Cisco NAT template

Post by micronemo »

Hello,
i use your cacti template template and work very very. But work only PAT . can you change tour template so tiwork with NAT + PAT
cnatAddrPortBindNumberOfEntries 1.3.6.1.4.1.9.10.77.1.2.3 (PAT)
cnatAddrBindNumberOfEntries OID 1.3.6.1.4.1.9.10.77.1.2.1 (NAT)

thanks very much

:)
tosage
Cacti User
Posts: 164
Joined: Wed Jul 28, 2010 5:05 am
Location: France

Re: [XML] Cisco NAT template

Post by tosage »

Hello,

a snmpget request of 1.3.6.1.4.1.9.10.77.1.2.1 return anything but the snmpwalk yes :/
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
DonJolley
Posts: 1
Joined: Thu Jan 19, 2017 1:36 am

Re: [XML] Cisco NAT template

Post by DonJolley »

Looking at this I downloaded this template and it worked great.
I upgraded the IOS on a 1801 router and then it stopped working.

After a bit of digging it seems to be a cisco bug that was introduced after a certain version. It looks like there is no intention to fix it!

cnatAddrPortBindNumberOfEntries is always 0
CSCtn70302
Description
Symptom:
"cnatAddrBindNumberOfEntries" and "cnatAddrPortBindNumberOfEntries" OID cannot be displayed correctly. These OID values are always 0.

Condition:
-Use NAT
-The symptom can be shown on 12.4(25d), but not 12.4(25c) or before.

Workaround:
There is no workaround at the moment.
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests