Configuring Alerts in Switch Port Mapper


    Switch Port Mapper Settings

    Click the Settings -> OpUtils -> SPM link to view/modify the values. Click Save after changing the values.

    General Settings

    Click the General tab under Switch Port Mapper settings to configure the following:

    1. Resolve DNS - Select this option to resolve the DNS name of the connected devices during every scan.

    2. Show all the Switch Ports - The Switch Port Mapper, by default, will only list the ports that have a matching port in the Bridge MIB. All the other ports will be excluded from the result view. To view all the switch ports even if no matching port is available in the Bridge MIB, select this option.

    3. Exclude Trunk Ports - Select this option to exclude the trunk ports while exporting the switch port mapping results. When more than one MAC Address is learned in a port, OpUtils assumes it to be a trunk port.

    4. Stack Port Classification - If more than 10 MAC Addresses are learned in a port, the port is classified as a stack port. You can configure this from here.

    5. Number of Threads - Specify the number of threads that OpUtils use for Switch Port Mapping. OpUtils allocates one thread to a switch for scanning and when completed the next switch in queue is taken for scanning. This cycle continues till all the switches are scanned. When the switch count is high and if you wish the scanning to be completed faster, you can increase the number of threads to a maximum of 25. Increasing the number of threads will increase the CPU and Memory usage considerably. Hence, ensure that your system is capable of handling this high resource requirement before increasing the thread count.

    Publish Mapping Results

    OpUtils provides an option to auto-publish the switch port mapping results to a csv file. This helps to view the history of port mapping details later. Click the Publish tab under Switch Port Mapper settings to publish the results of the scan to a csv file automatically.

    1. Enable Auto-Publish - Select this option to enable publishing the results to a CSV file automatically. This option is selected by default.

    2. Publish Directory - Specify a location to store the published results. The default location is <OpUtils_Home>/webapps/SPMHistory

    3. Create a consolidated CSV file for all the switches - Select this option to create a consolidated CSV file containing the mapping results of all the switches scanned. It may be noted that you will be getting a consolidated reports only at the group-level, i.e., a single report for all the switches in a particular group. Also, the consolidated report will only be created whenever a scheduled scan happens for a particular group and not during manual scans.

    Configure Email Alerts to Notify Port State Changes

    Switch Port Mapper generates alerts to notify various events. Click the Alert tab under Switch Port Mapper settings to configure alert settings:

    1. Policy to move a port from "Transient" to "Available" state - Specify the continuous period of inactivity after which the ports will be declared as Available. If the ports are currently down and are down for less than the period specified here, the ports are shown as Transient.

    2. Enable Email Alert - Select this option and specify the email addresses. You can select to receive the alerts on the following cases:

      1. A port becomes 'Available' or 'Used'

      2. The device connected in a port changes

      3. A new device is added to a port (Ex: VoIP device is added along with computer)

      4. A device is removed from a port (Ex: VoIP device is removed)

      5. A port is administratively disabled (by a source other than OpUtils)

      6. Multiple devices are detected in a port

      7. Virtual IP Addresses are detected for a device

      8. The Switch do not respond to SNMP queries

      9. The port utilization falls below a defined value.

    3. Alert Cleanup Policy: Specify the maximum number of Alerts to be stored in the database, the default being 2000. When you delete the older alerts, you have an option to save them as a csv file for future reference.

    Switch Port State Diagram