Upgrading Cacti from 0.8.8 to 1.0.6

Not too painful.  Cacti 1.x requires a few PHP modules that the legacy versions did not.  This was an easy fix in CentOS:

# yum install php-ldap
# yum install php-posix
# yum install php-mbstring
# apachectl restart

The next trick was on the database side.  I’d been using a MySQL / MariaDB 5.5 server hosted on a QNAP.  It looks like the installation script was reading the local /etc/my.cnf file to get tuning parameters, and complaining about several settings.  I ignored the warnings and proceeded.

The database upgrade took several seconds, but did complete.  However, upon login in via web, some pages were loading incomplete.  Fix was to reset the Server Base URL setting, since without it, the CSSes weren’t referenced properly.


That’s it.  Good to see Cacti finally on the 1.0 side of things


Cacti Template: Temperature on Cisco ISR 4000 / ASR 1000


Our new Cisco ISR 4351s are deployed in a small closet with basic AC and not the best circulation,so  I wanted to make sure temperature was being trended in Cacti.


Finding the newer SNMP OIDs was a challenge but here they are:

$ snmpwalk -v 2c -c public isr.mydomain.com
iso. = STRING: "Temp: Temp 1"
iso. = STRING: "Temp: Temp 2"
iso. = STRING: "Temp: Temp 3"
iso. = STRING: "Temp: Inlet 1"
iso. = STRING: "Temp: Inlet 2"
iso. = STRING: "Temp: Outlet 1"
iso. = STRING: "Temp: Outlet 2"
iso. = STRING: "Temp: CPU"
$ snmpwalk -v 2c -c public isr.mydomain.com
SNMPv2-SMI::enterprises. = INTEGER: 45
SNMPv2-SMI::enterprises. = INTEGER: 35
SNMPv2-SMI::enterprises. = INTEGER: 38
SNMPv2-SMI::enterprises. = INTEGER: 33
SNMPv2-SMI::enterprises. = INTEGER: 30
SNMPv2-SMI::enterprises. = INTEGER: 37
SNMPv2-SMI::enterprises. = INTEGER: 32
SNMPv2-SMI::enterprises. = INTEGER: 36

The OIDs should be the same for the ASR 1000 series.  Since we’ll be replacing our 6504s likely with an ASR 1001-x pair this year, I’ll circle back and verify.

Activating Throughput License on 4351 (FL-44-PERF-K9)

Time to replace the office 2951s with 4351s.  Since the Internet pipes are 300 Mbps, we purchased the FL-44-PERF-K9 upgrades, which bump the throughput from a 200 Mbps to 400 Mbps cap.  I entered the PAK on the Cisco License Portal, installed the license, but noticed upon testing there was still a 200 Mbps limit.  The license commands indicated that the license had been installed, but not enabled/activated.

Router#show license feature 
Feature name Enforcement Evaluation Subscription Enabled RightToUse 
appxk9 yes yes no no yes 
uck9 yes yes no no yes 
securityk9 yes yes no no yes 
ipbasek9 no no no yes no 
FoundationSuiteK9 yes yes no no yes 
AdvUCSuiteK9 yes yes no no yes 
cme-srst yes yes no no yes 
hseck9 yes no no no no 
throughput yes yes no no yes 
internal_service yes no no no no

The licensing magic trick? Configure the platform to jump from 200 Mbps to 400 Mbps:

Router(config)#platform hardware throughput level 400000 
% The config will take effect on next reboot

Upon rebooting, NOW the throughput license is enabled.

Router#sh license feature
Feature name Enforcement Evaluation Subscription Enabled RightToUse 
throughput yes yes no yes yes

Router#show platform hardware throughput level 
The current throughput level is 400000 kb/s