Im trying to write a custom probe to monitor/diplay the current real servers in 
a server farm for a Cisco ACE module.

I import the probe and add a device in intermapper using the custom probe and I 
see a few things happening here:

1. Once the device is added with the custom probe it goes green, shows all 
interfaces/networks on the specific ACE context I'm trying to monitor, then 
turns red saying the device is down.

2. Even though I can do an snmpwalk from from the same box intermapper is 
loaded on and get the desired results using the same OID's in the probe, the 
status window of the probe shows all zero counts for the current connections on 
all the real servers I'm polling.

3. I see the following in the debug window when the probe is used:

20:26:44 ======= Begin Stack Walk (Build 9A211/i386/Linux)
 /usr/local/bin/intermapperd(_ZN10XStackwalk14WalkStackToLogEi+0x52) [0x840472e]
 /usr/local/bin/intermapperd(_Z15XThrowExceptionlPKci+0x32) [0x83dd87a]
 /usr/local/bin/intermapperd(_ZN7RBERBuf12EncodeLengthEl+0x86) [0x83c28c2]
 /usr/local/bin/intermapperd(_ZN8RSNMPPkt13EncodeListBufER7RBERBufb+0x77) 
[0x83c583b]
 /usr/local/bin/intermapperd(_ZN8RSNMPPkt9EncodePktEPhRl+0x87) [0x83c59d3]
 
/usr/local/bin/intermapperd(_ZN10RSNMPv3Pkt6EncodeEPhRlPK14CSNMPv3UsmInfo+0x29) 
[0x83c861d]
20:26:44 ======= End Stack Walk (Build 9A211/i386/Linux)
20:26:44 XPlatform_ThrowException #229: code=-2, file=RBERBuf.cpp, line=159, 
msg="(misc) SNPermissionErr"
20:26:44 XPlatform_CatchException #229: code=-2, file=RSNMPv3Pkt.cpp, line=115
20:26:44 la-sears-msp-1-a: SNMP encode error [[93 query = QUERY_CustomRouter]] 
(-2)
20:26:47 ======= Begin Stack Walk (Build 9A211/i386/Linux)
 /usr/local/bin/intermapperd(_ZN10XStackwalk14WalkStackToLogEi+0x52) [0x840472e]
 /usr/local/bin/intermapperd(_Z15XThrowExceptionlPKci+0x32) [0x83dd87a]
 /usr/local/bin/intermapperd(_ZN7RBERBuf12EncodeLengthEl+0x86) [0x83c28c2]
 /usr/local/bin/intermapperd(_ZN8RSNMPPkt13EncodeListBufER7RBERBufb+0x77) 
[0x83c583b]
 /usr/local/bin/intermapperd(_ZN8RSNMPPkt9EncodePktEPhRl+0x87) [0x83c59d3]
 
/usr/local/bin/intermapperd(_ZN10RSNMPv3Pkt6EncodeEPhRlPK14CSNMPv3UsmInfo+0x29) 
[0x83c861d]
20:26:47 ======= End Stack Walk (Build 9A211/i386/Linux)
20:26:47 XPlatform_ThrowException #230: code=-2, file=RBERBuf.cpp, line=159, 
msg="(misc) SNPermissionErr"
20:26:47 XPlatform_CatchException #230: code=-2, file=RSNMPv3Pkt.cpp, line=115
20:26:47 la-sears-msp-1-a: SNMP encode error [[93 query = QUERY_CustomRouter]] 
(-2)

Below is the custome probe for your reference:

<header>
 "type"="custom-snmp"
 "pdutype"="get-request"
 "package"="com.sears"
 "probe_name"="sears2080farm.jc"
 "human_name"="sears2080farm"
 "display_name"="Network Devices/Cisco/ACE sears2080farm"
</header>

<description>
\GB++\ACE WWW.SEARS.COM-31-2080-FARM\P\
This is a custom probe to watch current connections on real servers for 
WWW.SEARS.COM-31-2080-FARM.
</description>

<snmp-device-variables>
 SRAPWS01121, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.12.83.82.65.80.87.83.48.49.49.45.50.49.2080,
 Total-value, "Total Current Connections"
 SRAPWS01122, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.12.83.82.65.80.87.83.48.49.49.45.50.50.2080,
 Total-value, "Total Current Connections"
 SRAPWS01632, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.12.83.82.65.80.87.83.48.49.54.45.51.50.2080,
 Total-value, "Total Current Connections"
 SRAPWS01633, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.12.83.82.65.80.87.83.48.49.54.45.51.51.2080,
 Total-value, "Total Current Connections"
 SRAPWS01746, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.12.83.82.65.80.87.83.48.49.55.45.52.54.2080,
 Total-value, "Total Current Connections"
 SRAPWS01747, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.12.83.82.65.80.87.83.48.49.55.45.52.55.2080,
 Total-value, "Total Current Connections"
 SRAPWS02060, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.12.83.82.65.80.87.83.48.50.48.45.54.48.2080,
 Total-value, "Total Current Connections"
 SRAPWS02061, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.12.83.82.65.80.87.83.48.50.48.45.54.49.2080,
 Total-value, "Total Current Connections"
 SRAPWS02374, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.12.83.82.65.80.87.83.48.50.51.45.55.52.2080,
 Total-value, "Total Current Connections"
 SRAPWS02375, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.12.83.82.65.80.87.83.48.50.51.45.55.53.2080,
 Total-value, "Total Current Connections"
 SRAPWS02477, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.12.83.82.65.80.87.83.48.50.52.45.55.55.2080,
 Total-value, "Total Current Connections"
 SRAPWS02478, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.12.83.82.65.80.87.83.48.50.52.45.55.56.2080,
 Total-value, "Total Current Connections"
 SRAPWS025117, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.50.53.45.49.49.55.2080,
 Total-value, "Total Current Connections"
 SRAPWS025118, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.50.53.45.49.49.56.2080,
 Total-value, "Total Current Connections"
 SRAPWS026122, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.50.54.45.49.50.50.2080,
 Total-value, "Total Current Connections"
 SRAPWS026123, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.50.54.45.49.50.51.2080,
 Total-value, "Total Current Connections"
 SRAPWS029160, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.50.57.45.49.54.48.2080,
 Total-value, "Total Current Connections"
 SRAPWS029170, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.50.57.45.49.55.48.2080,
 Total-value, "Total Current Connections"
 SRAPWS030161, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.51.48.45.49.54.49.2080,
 Total-value, "Total Current Connections"
 SRAPWS030171, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.51.48.45.49.55.49.2080,
 Total-value, "Total Current Connections"
 SRAPWS031162, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.51.49.45.49.54.50.2080,
 Total-value, "Total Current Connections"
 SRAPWS031172, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.51.49.45.49.55.50.2080,
 Total-value, "Total Current Connections"
 SRAPWS032163, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.51.50.45.49.54.51.2080,
 Total-value, "Total Current Connections"
 SRAPWS032173, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.51.50.45.49.55.51.2080,
 Total-value, "Total Current Connections"
 SRAPWS033164, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.51.51.45.49.54.52.2080,
 Total-value, "Total Current Connections"
 SRAPWS033174, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.51.51.45.49.55.52.2080,
 Total-value, "Total Current Connections"
 SRAPWS034165, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.51.52.45.49.54.53.2080,
 Total-value, "Total Current Connections"
 SRAPWS034175, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.51.52.45.49.55.53.2080,
 Total-value, "Total Current Connections"
 SRAPWS035166, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.51.53.45.49.54.54.2080,
 Total-value, "Total Current Connections"
 SRAPWS035176, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.51.53.45.49.55.54.2080,
 Total-value, "Total Current Connections"
 SRAPWS036167, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.51.54.45.49.54.55.2080,
 Total-value, "Total Current Connections"
 SRAPWS036177, 
1.3.6.1.4.1.9.9.470.1.1.3.1.14.1.26.87.87.87.46.83.69.65.82.83.46.67.79.77.45.51.49.45.50.48.56.48.45.70.65.82.77.13.83.82.65.80.87.83.48.51.54.45.49.55.55.2080,
 Total-value, "Total Current Connections"
</snmp-device-variables>

<snmp-device-thresholds>
</snmp-device-thresholds>

<snmp-device-display>
\PO\                                                              \PO\
\BU\ Current RealServer connections for WWW.SEARS.COM-31-2080-FARM \p\
SRAPWS011-21 10.87.2.21:2080: ${SRAPWS01121}
SRAPWS011-22 10.87.2.22:2080: ${SRAPWS01122}
SRAPWS016-32 10.87.2.32:2080: ${SRAPWS01632}
SRAPWS016-33 10.87.2.33:2080: ${SRAPWS01633}
SRAPWS017-46 10.87.2.46:2080: ${SRAPWS01746}
SRAPWS017-47 10.87.2.47:2080: ${SRAPWS01747}
SRAPWS020-60 10.87.2.60:2080: ${SRAPWS02060}
SRAPWS020-61 10.87.2.61:2080: ${SRAPWS02061}
SRAPWS023-74 10.87.2.74:2080: ${SRAPWS02374}
SRAPWS023-75 10.87.2.75:2080: ${SRAPWS02375}
SRAPWS024-77 10.87.2.77:2080: ${SRAPWS02477}
SRAPWS024-78 10.87.2.78:2080: ${SRAPWS02478}
SRAPWS025-117 10.87.2.117:2080: ${SRAPWS025117}
SRAPWS025-118 10.87.2.118:2080: ${SRAPWS025118}
SRAPWS026-122 10.87.2.122:2080: ${SRAPWS026122}
SRAPWS026-123 10.87.2.123:2080: ${SRAPWS026123}
SRAPWS029-160 10.87.2.160:2080: ${SRAPWS029160}
SRAPWS029-170 10.87.2.170:2080: ${SRAPWS029170}
SRAPWS030-161 10.87.2.161:2080: ${SRAPWS030161}
SRAPWS030-171 10.87.2.171:2080: ${SRAPWS030171}
SRAPWS031-162 10.87.2.162:2080: ${SRAPWS031162}
SRAPWS031-172 10.87.2.172:2080: ${SRAPWS031172}
SRAPWS032-163 10.87.2.163:2080: ${SRAPWS032163}
SRAPWS032-173 10.87.2.173:2080: ${SRAPWS032173}
SRAPWS033-164 10.87.2.164:2080: ${SRAPWS033164}
SRAPWS033-174 10.87.2.174:2080: ${SRAPWS033174}
SRAPWS034-165 10.87.2.165:2080: ${SRAPWS034165}
SRAPWS034-175 10.87.2.175:2080: ${SRAPWS034175}
SRAPWS035-166 10.87.2.166:2080: ${SRAPWS035166}
SRAPWS035-176 10.87.2.176:2080: ${SRAPWS035176}
SRAPWS036-167 10.87.2.167:2080: ${SRAPWS036167}
SRAPWS036-177 10.87.2.177:2080: ${SRAPWS036177}

</snmp-device-display>

<snmp-device-properties>
  -- none required
</snmp-device-properties>


Again, I can do an snmpwalk to any of these OID's and get the desired values 
but the custom probe's status window shows the device as being down and all 
zero's fo the cesServerFarmRserverCurrentConns.

Any help is much apprciated.

Thanks

------------------------
Jason


-------------------- m2f --------------------

Read this topic online here:
http://forums.dartware.com/viewtopic.php?p=1974#1974





____________________________________________________________________
List archives: 
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [email protected]

Reply via email to