Cisco ISR 4300 (CPU & Mem) Graph templates
Moderators: Developers, Moderators
Cisco ISR 4300 (CPU & Mem) Graph templates
Hi there,
Based on http://forums.cacti.net/viewtopic.php?f=12&t=54205
I created these templates. I've only tested these templates on Cisco ISR 4331 and 4321.
If you are insterested on what the OIDs are, check the data templates.
[update]I've just realised about the ugly ds names so I changed them to make them shorter[/update]
Cheers,
Based on http://forums.cacti.net/viewtopic.php?f=12&t=54205
I created these templates. I've only tested these templates on Cisco ISR 4331 and 4321.
If you are insterested on what the OIDs are, check the data templates.
[update]I've just realised about the ugly ds names so I changed them to make them shorter[/update]
Cheers,
- Attachments
-
- Cacti Cisco ISR 4300 (cpu & mem).zip
- (6.81 KiB) Downloaded 1112 times
-
- Cisco ISR 4300 CPU & Mem.png (24.44 KiB) Viewed 16174 times
Cacti - 1.2.15
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
- Johnny Lingo
- Posts: 28
- Joined: Tue Feb 19, 2008 9:57 pm
- Location: Silicon Valley, USA
Re: Cisco ISR 4300 (CPU & Mem) Graph templates
Good stuff. FYI works great on a 4351 running 16.3.3 (Denali) software too. I'm going to see if I can make one for temperature.
- Attachments
-
- 4351_cpu.png (12.66 KiB) Viewed 14881 times
Server Info: Cacti0.8.8f / NET-SNMP 5.7.3 / RRDTool 1.5.5 / Apache 2.4.18 (Ubuntu) / PHP 7.0.33 / MySQL 5.7.27
- Johnny Lingo
- Posts: 28
- Joined: Tue Feb 19, 2008 9:57 pm
- Location: Silicon Valley, USA
Re: Cisco ISR 4300 (CPU & Mem) Graph templates
Here's mine for Temperature. FYI this should work on all 4000 series and the ISR 1000 series as well.
Cacti Template: Temperature on Cisco ISR 4000 / ASR 1000
Cacti Template: Temperature on Cisco ISR 4000 / ASR 1000
- Attachments
-
- 4351_temp.png (35.49 KiB) Viewed 14845 times
Server Info: Cacti0.8.8f / NET-SNMP 5.7.3 / RRDTool 1.5.5 / Apache 2.4.18 (Ubuntu) / PHP 7.0.33 / MySQL 5.7.27
Re: Cisco ISR 4300 (CPU & Mem) Graph templates
Nice job! I'm going to test it nowJohnny Lingo wrote:Here's mine for Temperature. FYI this should work on all 4000 series and the ISR 1000 series as well.
Cacti Template: Temperature on Cisco ISR 4000 / ASR 1000
Cacti - 1.2.15
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
Re: Cisco ISR 4300 (CPU & Mem) Graph templates
I had a little problem with temp template. I mean, it is a different snmp oid between ISR4331 and ISR4321:
ISR4331
[root@cacti ~]# snmpwalk -c pass -v 2c 10.110.255.1 1.3.6.1.2.1.47 |grep Temp
SNMPv2-SMI::mib-2.47.1.1.1.1.2.7001 = STRING: "Temp: Inlet"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.7002 = STRING: "Temp: Internal"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.7003 = STRING: "Temp: Outlet"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.7004 = STRING: "Temp: CPU"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.7001 = STRING: "Temp: Inlet R0/0"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.7002 = STRING: "Temp: Internal R0/1"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.7003 = STRING: "Temp: Outlet R0/2"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.7004 = STRING: "Temp: CPU R0/3"
ISR4321
[root@cacti ~]# snmpwalk -c pass -v 2c 10.117.255.1 1.3.6.1.2.1.47 |grep Temp
SNMPv2-SMI::mib-2.47.1.1.1.1.2.7001 = STRING: "Temp: Internal"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.7002 = STRING: "Temp: Outlet"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.7003 = STRING: "Temp: CPU"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.7001 = STRING: "Temp: Internal R0/0"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.7002 = STRING: "Temp: Outlet R0/1"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.7003 = STRING: "Temp: CPU R0/2"
I used your template but I modified it for specific type of router.
Now I`m looking for the same but CPU. When I use your template, the cpu usage is about 15% but real CPU usage is 0%. The snmp oid is for older types of routers I mean. Is it possible that value 15% is zero and I have to decrement the value with 15? Because if I make a higher CPU usage, graph is higher too.
Can you help me? Thank you very much for your work and sorry for my english.
ISR4331
[root@cacti ~]# snmpwalk -c pass -v 2c 10.110.255.1 1.3.6.1.2.1.47 |grep Temp
SNMPv2-SMI::mib-2.47.1.1.1.1.2.7001 = STRING: "Temp: Inlet"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.7002 = STRING: "Temp: Internal"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.7003 = STRING: "Temp: Outlet"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.7004 = STRING: "Temp: CPU"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.7001 = STRING: "Temp: Inlet R0/0"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.7002 = STRING: "Temp: Internal R0/1"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.7003 = STRING: "Temp: Outlet R0/2"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.7004 = STRING: "Temp: CPU R0/3"
ISR4321
[root@cacti ~]# snmpwalk -c pass -v 2c 10.117.255.1 1.3.6.1.2.1.47 |grep Temp
SNMPv2-SMI::mib-2.47.1.1.1.1.2.7001 = STRING: "Temp: Internal"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.7002 = STRING: "Temp: Outlet"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.7003 = STRING: "Temp: CPU"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.7001 = STRING: "Temp: Internal R0/0"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.7002 = STRING: "Temp: Outlet R0/1"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.7003 = STRING: "Temp: CPU R0/2"
I used your template but I modified it for specific type of router.
Now I`m looking for the same but CPU. When I use your template, the cpu usage is about 15% but real CPU usage is 0%. The snmp oid is for older types of routers I mean. Is it possible that value 15% is zero and I have to decrement the value with 15? Because if I make a higher CPU usage, graph is higher too.
Can you help me? Thank you very much for your work and sorry for my english.
- Attachments
-
- CPU.jpg (63.5 KiB) Viewed 13746 times
-
- ISR-Temp.zip
- (7.78 KiB) Downloaded 336 times
-
- ISR4321-temp
- ISR4321.jpg (61.45 KiB) Viewed 13746 times
-
- ISR4331-temp
- ISR4331-temp.jpg (68.41 KiB) Viewed 13746 times
Re: Cisco ISR 4300 (CPU & Mem) Graph templates
Yep, Cisco used to be pretty good at this, in the past, now days is becoming a real crap and I've been working with cisco techs for long time now..
I'm working on a new snmp data query to be able to walk through the existing sensors for IOS-XE and IOS-XR. Hardcoding OIDs was never a good practice anyway.
EDIT: Just in case you want to work around it, these are the OIDs for single CPUs
busyPer - 1.3.6.1.4.1.9.2.1.56 = CPU busy percentage in the last 5 second period. Not the last 5 realtime seconds but the last 5 second period in the scheduler.
avgBusy1 - 1.3.6.1.4.1.9.2.1.57 = 1 minute exponentially-decayed moving average of the CPU busy percentage.
avgBusy5 - 1.3.6.1.4.1.9.2.1.58 = 5 minute exponentially-decayed moving average of the CPU busy percentage.
I'm working on a new snmp data query to be able to walk through the existing sensors for IOS-XE and IOS-XR. Hardcoding OIDs was never a good practice anyway.
EDIT: Just in case you want to work around it, these are the OIDs for single CPUs
busyPer - 1.3.6.1.4.1.9.2.1.56 = CPU busy percentage in the last 5 second period. Not the last 5 realtime seconds but the last 5 second period in the scheduler.
avgBusy1 - 1.3.6.1.4.1.9.2.1.57 = 1 minute exponentially-decayed moving average of the CPU busy percentage.
avgBusy5 - 1.3.6.1.4.1.9.2.1.58 = 5 minute exponentially-decayed moving average of the CPU busy percentage.
Cacti - 1.2.15
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
- Johnny Lingo
- Posts: 28
- Joined: Tue Feb 19, 2008 9:57 pm
- Location: Silicon Valley, USA
Re: Cisco ISR 4300 (CPU & Mem) Graph templates
I recently got educated a bit on platform vs. processor CPU and Memory on IOS-XE. You can get vastly different results between the two:
So I've done a rewrite and can see this in action. Have tested this on an ISR 4351 and ASR 1001x, but it should work for anything IOS-XE...
As far as Temperature it looks like anything will have to be model-specific.
Code: Select all
ISR4351#sh proc cpu
CPU utilization for five seconds: 1%/0%; one minute: 1%; five minutes: 1%
ISR4351#sh proc cpu platform
CPU utilization for five seconds: 11%, one minute: 12%, five minutes: 11%
ISR4351#sh proc mem
Processor Pool Total: 1839882264 Used: 287575728 Free: 1552306536
lsmpi_io Pool Total: 6295128 Used: 6294296 Free: 832
ISR4351#show platform resources
**State Acronym: H - Healthy, W - Warning, C - Critical
Resource Usage Max Warning Critical State
----------------------------------------------------------------------------------------------------
RP0 (ok, active) H
Control Processor 2.90% 100% 90% 95% H
DRAM 3303MB(87%) 3790MB 90% 95% H
As far as Temperature it looks like anything will have to be model-specific.
Server Info: Cacti0.8.8f / NET-SNMP 5.7.3 / RRDTool 1.5.5 / Apache 2.4.18 (Ubuntu) / PHP 7.0.33 / MySQL 5.7.27
Re: Cisco ISR 4300 (CPU & Mem) Graph templates
Johnny Lingo - Nice template for CPU and Memory. Are you able to share these please?
Thanks in Advance
Thanks in Advance
- Johnny Lingo
- Posts: 28
- Joined: Tue Feb 19, 2008 9:57 pm
- Location: Silicon Valley, USA
Re: Cisco ISR 4300 (CPU & Mem) Graph templates
Hey there, sorry I dropped off. My company was acquired a few days after posting, so I lost track of this project for a bit.
I had to downgrade from 1.1 to 0.8.8.f, so whipped up a new template that I could fully test. For now it's a simplified version that only does 1 minute CPU checks, but may add the 5sec and 5min ones back in fairly soon.
Monitoring CPU & Memory in IOS-XE
I had to downgrade from 1.1 to 0.8.8.f, so whipped up a new template that I could fully test. For now it's a simplified version that only does 1 minute CPU checks, but may add the 5sec and 5min ones back in fairly soon.
Monitoring CPU & Memory in IOS-XE
Server Info: Cacti0.8.8f / NET-SNMP 5.7.3 / RRDTool 1.5.5 / Apache 2.4.18 (Ubuntu) / PHP 7.0.33 / MySQL 5.7.27
Re: Cisco ISR 4300 (CPU & Mem) Graph templates
Thank you to everyone who contributed here. I am so glad i found this thread. Awesome stuff guys.
Who is online
Users browsing this forum: No registered users and 6 guests