- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2017 11:00 AM
I'm running an snmp probe against a PDU device and getting the following back from the probe:
<outletTable oid="1.3.6.1.4.1.1718.3.2.3">
<outletEntry oid="1.3.6.1.4.1.1718.3.2.3.1">
<outletName oid="1.3.6.1.4.1.1718.3.2.3.1.3">
<unk_1 oid="1.3.6.1.4.1.1718.3.2.3.1.3.1">
<unk_1 oid="1.3.6.1.4.1.1718.3.2.3.1.3.1.1" type="SnmpOctetString">Open_Outlet_A1</unk_1>
</unk_1>
<unk_2 oid="1.3.6.1.4.1.1718.3.2.3.1.3.2">
<unk_1 oid="1.3.6.1.4.1.1718.3.2.3.1.3.2.1" type="SnmpOctetString">Open_Outlet_B1</unk_1>
</unk_2>
</outletName>
I'm trying to loop and extract through both <outletName> values (Open_Outlet_A1 and Open_Outlet_B1) but so far have been unssuccessful.
Here is the code that I've been working with
var outlets = g_disco_functions.getXMLMemoryTable( 'outlets', this.document, '//serverTech/sentry3/systemTables/outletTable/outletEntry/' );
// process the outlets |
var outlet_list = '';
outlets.first();
while (outlets.next()) {
var dn = outlets.getValue('outletName');
if (dn) {
if (outlet_list.length > 0)
outlet_list += ', ';
outlet_list += dn;
}
} |
Does anyone have any experience with this that can provide some feedback?
Thanks in advance.
Solved! Go to Solution.
- Labels:
-
Discovery
-
Service Mapping

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2017 05:48 AM
Hi Luis,
How is your SNMP probe set up - more specifically the SNMP Fields? If the MIB was loaded/compiled properly, try this in the SNMP Fields related list ::
Command = Table
OID = iso.org.dod.internet.private.enterprises.serverTech.sentry3.systemTables.outletTable
Table Fields = outletName,outletCapabilibies,outletStatus
and run a test against the PDU, let me know how the results look.
Thanks,
-Ryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2017 12:02 PM
Luis,
Need some feedback from you regarding building a custom probe/sensor for PDU Discovery. We have a client who needs to discover PDU using SNMP, what's the effort/time required to build this out?
Thanks!