Quick trick for discoverability checking

Here's a useful little trick for checking the discoverability of systems by EMC Smarts (aka IONIX) IP AM/PM without consuming licenses..

Let us say that you have a seed file list of network elements that you want to check can be discovered, but without performing a full discovery and/or without consuming precious Smarts licences or CPU cycles. For me, this has been a fairly common task as I have worked through issues of network discoverability in a number of installations of the Smarts suite.

The way I do this is as follows..

  • Configure and start a new IP AM/PM domain with an empty or missing repository file. Give it a name that clearly identifies it as temporary.
  • Check that the domain really is empty (no Hosts, Switches, Routers - etc) before continuing.
  • Turn off the discovery pending, full discovery and auto-discovery features using the Topology tab of the DMAC (Domain Manager Administration Console).
  • Set the "System limit" to 1 using the same console and save the changes.
  • Discover the host on which the domain is running using "ICMP ONLY" discovery.
    • Select "Add Agent" in the "Topology" menu.
    • Type the server's name or IP address in the "Agent name" field and leave the community string blank.
    • Tick the "Advanced options" checkbox.
    • Select ICMPONLY in the "Access mode" drop-down.
    • Click on "OK" and wait for the discovery to finish - which should be very quick ineed.
  • Now import your seed file and wait until the discovery attempt completes.
    • Select "Import from seed file .." in the "Topology menu"
    • Type the full path of the seed file (which you should have saved on the IP AM/PM server platform).
    • Click on "OK"
  • At this point, all the information you need is contained in the Pending list. This shows you three categories of systems
    • Those that cant be pinged.
    • Those that can be pinged, but cant be SNMP-walked.
    • Those that be both pinged and walked - along with the contents of the sysDescription field for these elements which gives you some initial indication of their type and vendor (etc).

If you want to extract this information into a text file for further analysis, then the following script (or your own variation of it) will help..

START { .. eol } do {
        pend = object("AD_Pending", "AD-Pending");
        foreach p (pend->DataProvidedBy) {
                print(p->SeedName."|".p->IPAddress."|".p->PendingState);
        }
}

 

Scroll to Top