The mediation layer
The mediation layer is where the SNMP and ICMP requests are performed.
In the following code, the DiscoSnmpGetResponse(); rule
performs an SNMP Get request, and the DiscoSnmpGetNextResponse(); rule
performs an SNMP Get Next request. You can include as many of each
type of request as necessary.
You can also include the DiscoSnmpGetAccessParameters(); rule,
which retrieves the SNMP access details for the device, and the DiscoICMPGetTrace(); rule,
which retrieves all the IP addresses in the path to the device.
DiscoAgentMediationLayer
{
DiscoSnmpRequests
{
DiscoSnmpGetResponse( ARGUMENT, VARIABLE );
DiscoSnmpGetNextResponse( ARGUMENT, VARIABLE, );
DiscoSnmpGetAccessParameters( VARIABLE );
}
DiscoICMPRequests
{
DiscoICMPGetTrace( VARIABLE );
}
}