As I've mentioned on the list recently I've been working to add power
source monitoring to the existing 28xx probe from mindSHIFT. At this
point I think it's working properly. (It's properly alerting on my 28xx
that has a failed power supply and not complaining about the other two.)
I figured I'd pass it along to the list in case it was helpful to anyone
else.
Could someone at dartware add this to the contributed probe list online?
--
Thank You
Jefferson Cowart
Network and Systems Administrator
Claremont University Consortium
<!--
################################################################################
################################################################################
##
## Custom Probe for InterMapper created by mindSHIFT Technologies, Inc.
##
## $RCSfile: com.mindshift.snmp.cisco.isr.28xx,v $
##
## Author: $Author: jeremy $
##
## Revisions: $Log: com.mindshift.snmp.cisco.isr.28xx,v $
## Revisions: Revision 1.1 2009/04/10 13:31:40 jeremy
## Revisions: initial import of 28xx probe, tested against 2821
## Revisions: 1.3 - Adding Power Supply Monitoring - jcc
##
##
## Copyright: (c) 2009, mindSHIFT Technologies, Inc.
##
################################################################################
################################################################################
-->
<header>
"type" = "custom-snmp"
"address_type" = "IP"
"port_number" = "161"
"flags" = "MINIMAL,NOLINKS"
"package" = "com.mindshift"
"probe_name" = "snmp.cisco.isr.28xx"
"human_name" = "Cisco ISR 28xx"
"display_name" = "Network Devices/Cisco/ISR 28xx"
"version" = "1.3"
</header>
<description>
This probe provides all, or a subset of the following information:
Informational: Manufacturer, Model, Serial Number, Software Version
OS/Build
Tables: Specific for each device-type.
Resource Usage: CPU Usage %, Free RAM %, Logged In Users, Processes,
Disk Usage
Hardware Health: Power, Voltage, Cooling, Temperature, Disk Array
User-Settable Parameters:
CPU Usage - Set alert thresholds for CPU Usage %
Low Memory - Set alert thresholds for Free RAM %
</description>
<parameters>
"CPU Usage - Critical %" = "95"
"Free RAM - Critical %" = "5"
</parameters>
<snmp-device-variables>
<!-- Informational -->
modelNumber, 1.3.6.1.2.1.47.1.1.1.1.13.1,
DEFAULT, ""
modelDesc, 1.3.6.1.2.1.47.1.1.1.1.2.1,
DEFAULT, ""
serialNumber, 1.3.6.1.2.1.47.1.1.1.1.11.1,
DEFAULT, ""
softwareVersion, 1.3.6.1.4.1.9.2.1.1.0,
DEFAULT, ""
<!-- CPU & Memory Stuff -->
cpuUsage, 1.3.6.1.4.1.9.9.109.1.1.1.1.3.1,
DEFAULT, ""
freeRAMBytes, 1.3.6.1.4.1.9.9.48.1.1.1.6.1,
DEFAULT, ""
usedRAMBytes, 1.3.6.1.4.1.9.9.48.1.1.1.5.1,
DEFAULT, ""
freeRAMPct, ((${freeRAMBytes} * 100) /
(${freeRAMBytes} + ${usedRAMBytes})), CALCULATION, ""
<!-- Power -->
acPowerStatus, 1.3.6.1.4.1.9.9.13.1.5.1.3.1,
STRING, ""
</snmp-device-variables>
<snmp-device-variables-ondemand>
cpuTable, 1.3.6.1.4.1.9.9.109.1.1.1.1,
TABLE, "CPU Stats"
cpuTable/ID, 1.3.6.1.4.1.9.9.109.1.1.1.1.2,
DEFAULT, "CPU Index"
cpuTable/5min, 1.3.6.1.4.1.9.9.109.1.1.1.1.5,
DEFAULT, "5 min. Busy %"
memoryTable, 1.3.6.1.4.1.9.9.48.1.1.1,
TABLE, "RAM Info"
memoryTable/Name, 1.3.6.1.4.1.9.9.48.1.1.1.2,
DEFAULT, "Pool Name"
memoryTable/Used, 1.3.6.1.4.1.9.9.48.1.1.1.5,
DEFAULT, "Used Bytes"
memoryTable/Free, 1.3.6.1.4.1.9.9.48.1.1.1.6,
DEFAULT, "Free Bytes"
ifTable, 1.3.6.1.2.1.2.2,
TABLE, "Interface Table"
ifTable/Descr, 1.3.6.1.2.1.2.2.1.2,
DEFAULT, "Description"
ifTable/Type, 1.3.6.1.2.1.2.2.1.3,
DEFAULT, "Type"
ifTable/Speed, 1.3.6.1.2.1.2.2.1.5,
DEFAULT, "Speed"
ifTable/PhysAddress, 1.3.6.1.2.1.2.2.1.6,
DEFAULT, "MAC Address"
ifTable/AdminStatus, 1.3.6.1.2.1.2.2.1.7,
DEFAULT, "Admin Status"
ifTable/OperStatus, 1.3.6.1.2.1.2.2.1.8,
DEFAULT, "Operator Status"
powerTable, 1.3.6.1.4.1.9.9.13.1.5.1,
TABLE, "Power Supply Table"
powerTable/Desc, powerTable.2,
DEFAULT, "Description"
powerTable/State, powerTable.3,
DEFAULT, "State"
powerTable/Source, powerTable.4,
DEFAULT, "Source"
</snmp-device-variables-ondemand>
<snmp-device-thresholds>
critical: (${cpuUsage} >= ${CPU Usage - Critical
%}) "CPU Usage - Critical"
critical: ((${freeRAMBytes} != "") &&
(${freeRAMPct} <= ${Free RAM - Critical %})) "Free RAM - Critical"
alarm: (${acPowerStatus} != "normal") "AC
Power Supply Problem"
</snmp-device-thresholds>
<snmp-device-display>
\P0\
\BUM\Informational \P0\
Model Number : ${modelNumber}
Model Description : ${modelDesc}
Serial Number: : ${serialNumber}
Software Version : ${softwareVersion}
\BUM\Information Tables \P0\
${cpuTable:CPU Usage} / ${memoryTable:Memory Usage} / ${ifTable:Interfaces}
\BUM\Resource Usage \P0\
CPU Usage : ${cpuUsage} % / Crit: ${CPU Usage - Critical %} %
Free RAM : ${freeRAMPct} % / Crit: ${Free RAM - Critical %} %
\BUM\Hardware Health \P0\
${powerTable:Power Supplies}
AC Power Status : ${acPowerStatus}
\P0\
</snmp-device-display>