On 11/16/07 11:37 AM, "Doug Veldhuisen"
<[EMAIL PROTECTED]> wrote:
>
> I would like to see it as well.
Here it is. If it doesn¹t work make sure the lines haven¹t wrapped. For
example, the following line should be on one line:
Alarm : ${stack1a} != 1 && "$module2" != "" "problem with stack module
1 stackport"
Copy the lines below, paste into a text file and save as
edu.utmem.snmp.cisconewmib and put in your Probes folder. I failed to
memtion in my post that you also need to copy and paste the
<snmp-device-display> info also. Sorry about that.
####Copy below and paste####
<!--
SNMP - Cisco (com.dartware.snmp.cisco)
Copyright (c) 2005 Dartware, LLC. All rights reserved.
-->
<header>
type = "custom-snmp"
package = "edu.utmem"
probe_name = "snmp.cisconewmib"
human_name = "SNMP - Cisco - Process and Memory Pool, Updated"
version = "1.3"
address_type = "IP"
port_number = "161"
display_name = "Network Devices/Cisco/Cisco - Process and Memory
Pool, Updated"
</header>
<description>
\GB\SNMP - Cisco\P\
This probe monitors the CPU and Memory utilization of a Cisco router using
variables from CISCO-MEMORY-POOL-MIB and CISCO-PROCESS-MIB.
\i\CPU Busy - Alarm\p\ is the ALARM threshold for CPU utilization. If the
average percentage of CPU usage over a 1 minute interval exceeds this
threshold, the device will enter the Alarm state.
\i\CPU Busy - Warning\p\ is the WARNING threshold for CPU utilization. If
the average percentage CPU usage over a 1 minute interval exceeds this
threshold, the device will enter the Warning state.
\i\Low Memory - Alarm\p\ is the ALARM threshold for the amount of free
memory remaining (in bytes). If the free memory drops below this threshold,
the device will enter the Alarm state.
\i\Low Memory - Warning\p\ is the WARNING threshold for the amount of free
memory remaining (in bytes). If the free memory drops below this threshold,
the device will enter the Warning state.
</description>
<parameters>
"CPU Busy - Alarm" = "90"
"CPU Busy - Warning" = "80"
"Low Memory - Alarm" = "1000"
"Low Memory - Warning" = "5000"
</parameters>
<snmp-device-variables>
-- TYPE can be one of: DEFAULT, PER-SECOND, PER-MINUTE, TOTAL-VALUE.
-- Use DEFAULT for string and integer values.
-- MIB Variable -- --- OID --- --- TYPE ---
--- LEGEND ---
-- Reference: CISCO-PROCESS-MIB. Note that this is actually a table, we
are only retrieving the values for 1st cpu
lcpu.busyPer, 1.3.6.1.4.1.9.9.109.1.1.1.1.3+, INTEGER,
"CPU Busy % (For last 5 Seconds in Scheduler)"
lcpu.avgBusy1, 1.3.6.1.4.1.9.9.109.1.1.1.1.4+, INTEGER,
"1 Minute Average of CPU Busy %"
lcpu.avgBusy5, 1.3.6.1.4.1.9.9.109.1.1.1.1.5+, INTEGER,
"5 Minute Average of CPU Busy %"
-- Reference: CISCO-MEMORY-POOL-MIB, this is also a table, we are only
using the first two entries.
ciscoMemoryPoolFree1, 1.3.6.1.4.1.9.9.48.1.1.1.6.1,
INTEGER, "Free Memory in Bytes"
ciscoMemoryPoolFree2, 1.3.6.1.4.1.9.9.48.1.1.1.6.2,
INTEGER, "Free Memory in Bytes"
ciscoMemoryPoolName1, 1.3.6.1.4.1.9.9.48.1.1.1.2.1,
STRING, "Memory pool 1 desc"
ciscoMemoryPoolName2, 1.3.6.1.4.1.9.9.48.1.1.1.2.2,
STRING, "Memory pool 2 desc"
<!-- The following lines were added to the stock probe
from James Ash's probe
-->
module1, 1.3.6.1.4.1.9.5.1.3.1.1.10.1, Default, "module 1 status"
module2, 1.3.6.1.4.1.9.5.1.3.1.1.10.2, Default, "module 2 status"
module3, 1.3.6.1.4.1.9.5.1.3.1.1.10.3, Default, "module 3 status"
module4, 1.3.6.1.4.1.9.5.1.3.1.1.10.4, Default, "module 4 status"
module5, 1.3.6.1.4.1.9.5.1.3.1.1.10.5, Default, "module 5 status"
module6, 1.3.6.1.4.1.9.5.1.3.1.1.10.6, Default, "module 6 status"
module7, 1.3.6.1.4.1.9.5.1.3.1.1.10.7, Default, "module 7 status"
module8, 1.3.6.1.4.1.9.5.1.3.1.1.10.8, Default, "module 8 status"
module9, 1.3.6.1.4.1.9.5.1.3.1.1.10.9, Default, "module 9 status"
stack1a, 1.3.6.1.2.1.2.2.1.8.5180, Default, "module 1, stackport 1
status"
stack1b, 1.3.6.1.2.1.2.2.1.8.5181, Default, "module 1, stackport 2
status"
stack2a, 1.3.6.1.2.1.2.2.1.8.5183, Default, "module 2, stackport 1
status"
stack2b, 1.3.6.1.2.1.2.2.1.8.5184, Default, "module 2, stackport 2
status"
stack3a, 1.3.6.1.2.1.2.2.1.8.5186, Default, "module 3, stackport 1
status"
stack3b, 1.3.6.1.2.1.2.2.1.8.5187, Default, "module 3, stackport 2
status"
stack4a, 1.3.6.1.2.1.2.2.1.8.5189, Default, "module 4, stackport 1
status"
stack4b, 1.3.6.1.2.1.2.2.1.8.5190, Default, "module 4, stackport 2
status"
stack5a, 1.3.6.1.2.1.2.2.1.8.5192, Default, "module 5, stackport 1
status"
stack5b, 1.3.6.1.2.1.2.2.1.8.5193, Default, "module 5, stackport 2
status"
stack6a, 1.3.6.1.2.1.2.2.1.8.5195, Default, "module 6, stackport 1
status"
stack6b, 1.3.6.1.2.1.2.2.1.8.5196, Default, "module 6, stackport 2
status"
stack7a, 1.3.6.1.2.1.2.2.1.8.5198, Default, "module 7, stackport 1
status"
stack7b, 1.3.6.1.2.1.2.2.1.8.5199, Default, "module 7, stackport 2
status"
stack8a, 1.3.6.1.2.1.2.2.1.8.5201, Default, "module 8, stackport 1
status"
stack8b, 1.3.6.1.2.1.2.2.1.8.5202, Default, "module 8, stackport 2
status"
stack9a, 1.3.6.1.2.1.2.2.1.8.5204, Default, "module 9, stackport 1
status"
stack9b, 1.3.6.1.2.1.2.2.1.8.5205, Default, "module 9, stackport 2
status"
<!-- The above lines were added to the stock probe
-->
</snmp-device-variables>
<snmp-device-thresholds>
alarm: ${lcpu.avgBusy1} > ${CPU Busy - Alarm}
alarm: ${ciscoMemoryPoolFree1} < ${Low Memory - Alarm}
alarm: ${ciscoMemoryPoolFree2} < ${Low Memory - Alarm} &&
"$ciscoMemoryPoolName2" != ""
warning: ${lcpu.avgBusy1} > ${CPU Busy - Warning}
warning: ${ciscoMemoryPoolFree1} < ${Low Memory - Warning}
warning: ${ciscoMemoryPoolFree2} < ${Low Memory - Warning} &&
"$ciscoMemoryPoolName2" != ""
<!-- The following lines were added to the stock probe
from James Ash's probe
-->
Critical: ${module1} != 2 && "$module1" != "" "problem with stack module
1"
Critical: ${module2} != 2 && "$module2" != "" "problem with stack module
2"
Critical: ${module3} != 2 && "$module3" != "" "problem with stack module
3"
Critical: ${module4} != 2 && "$module4" != "" "problem with stack module
4"
Critical: ${module5} != 2 && "$module5" != "" "problem with stack module
5"
Critical: ${module6} != 2 && "$module6" != "" "problem with stack module
6"
Critical: ${module7} != 2 && "$module7" != "" "problem with stack module
7"
Critical: ${module8} != 2 && "$module8" != "" "problem with stack module
8"
Critical: ${module9} != 2 && "$module9" != "" "problem with stack module
9"
Alarm : ${stack1a} != 1 && "$module2" != "" "problem with stack module
1 stackport"
Alarm : ${stack1b} != 1 && "$module2" != "" "problem with stack module
1 stackport"
Alarm : ${stack2a} != 1 && "$module2" != "" "problem with stack module
2 stackport"
Alarm : ${stack2b} != 1 && "$module2" != "" "problem with stack module
2 stackport"
Alarm : ${stack3a} != 1 && "$module3" != "" "problem with stack module
3 stackport"
Alarm : ${stack3b} != 1 && "$module3" != "" "problem with stack module
3 stackport"
Alarm : ${stack4a} != 1 && "$module4" != "" "problem with stack module
4 stackport"
Alarm : ${stack4b} != 1 && "$module4" != "" "problem with stack module
4 stackport"
Alarm : ${stack5a} != 1 && "$module5" != "" "problem with stack module
5 stackport"
Alarm : ${stack5b} != 1 && "$module5" != "" "problem with stack module
5 stackport"
Alarm : ${stack6a} != 1 && "$module6" != "" "problem with stack module
6 stackport"
Alarm : ${stack6b} != 1 && "$module6" != "" "problem with stack module
6 stackport"
Alarm : ${stack7a} != 1 && "$module7" != "" "problem with stack module
7 stackport"
Alarm : ${stack7b} != 1 && "$module7" != "" "problem with stack module
7 stackport"
Alarm : ${stack8a} != 1 && "$module8" != "" "problem with stack module
8 stackport"
Alarm : ${stack8b} != 1 && "$module8" != "" "problem with stack module
8 stackport"
Alarm : ${stack9a} != 1 && "$module9" != "" "problem with stack module
9 stackport"
Alarm : ${stack9b} != 1 && "$module9" != "" "problem with stack module
9 stackport"
<!-- The above lines were added to the stock probe
-->
</snmp-device-thresholds>
<snmp-device-display>
\B5\Cisco Device Information\0P\
\4\CPU Percent Busy:\0\ ${lcpu.busyPer} % \3IG\(of last 5 seconds)\P0M\
\4\Avg. CPU % Busy:\0\ ${lcpu.avgBusy1} % \3IG\(1 min.)\P0M\,
${lcpu.avgBusy5} % \3IG\(5 min.)\P0M\
\4\Available ${ciscoMemoryPoolName1} Memory:\0\ ${ciscoMemoryPoolFree1}
bytes
\4\Available ${ciscoMemoryPoolName2} Memory:\0\ ${ciscoMemoryPoolFree2}
bytes
<!-- The following lines were added to the stock probe
from James Ash's probe
-->
module 1 : ${module1}
module 1, stackport 1 : ${stack1a}
module 1, stackport 2 : ${stack1b}
module 2 : ${module2}
module 2, stackport 1 : ${stack2a}
module 2, stackport 2 : ${stack2b}
module 3 : ${module3}
module 3, stackport 1 : ${stack3a}
module 3, stackport 2 : ${stack3b}
module 4 : ${module4}
module 4, stackport 1 : ${stack4a}
module 4, stackport 2 : ${stack4b}
module 5 : ${module5}
module 5, stackport 1 : ${stack5a}
module 5, stackport 2 : ${stack5b}
module 6 : ${module6}
module 6, stackport 1 : ${stack6a}
module 6, stackport 2 : ${stack6b}
module 7 : ${module7}
module 7, stackport 1 : ${stack7a}
module 7, stackport 2 : ${stack7b}
module 8 : ${module8}
module 8, stackport 1 : ${stack8a}
module 8, stackport 2 : ${stack8b}
module 9 : ${module9}
module 9, stackport 1 : ${stack9a}
module 9, stackport 2 : ${stack9b}
<!-- The above lines were added to the stock probe
-->
</snmp-device-display>
____________________________________________________________________
List archives:
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [EMAIL PROTECTED]