SNMP Scanner

Miradore SNMP scanner is able to gather information about such network devices which already have an asset in Miradore Management Suite. The SNMP scanner sends the data to Miradore server, where it is used to display inventory information, generate reports and quality indexes.

It is possible to install as many scanners into the environment as needed. Distributed network architecture allows load and network traffic to be divided into smaller pieces (scanning done over LANs and not over WAN). Each scanner has its own target devices list to scan. Each scanner server’s target devices can be defined based on SNMP scanner scopes. A scanner scope consists of three factors (Location, operating system and hardware category) and SNMP community name that is used to authenticate devices under the scope if the device specific community name is not set via device configuration.

Requirements

Step-by-step guide for setting up SNMP scanner

  1. Install SNMP scanner by following the instructions given in Installation using Windows installer.

  2. After installation, configure the SNMP scanner as described in How to configure Miradore SNMP scanner.

  3. Enable "SNMP scan enabled" setting for the hardware categories that you are going to scan.

  4. Navigate to Assets by name view and use the view tools to create assets for the devices that you want to scan with the SNMP scanner. Notice that the asset model must belong to one of those hardware categories that have the "SNMP scan" setting enabled.

  5. Check this page for field descriptions and make the following configurations for the created Asset configuration items:

    • Set a static IP address

    • Enable SNMP scanning

    • Define the SNMP community

 

Installation using Windows Installer

  1. Run 'SNMP_scanner.msi' installer file

  2. Set general SNMP scanner connection and authentication settings. Miradore Server host name, instance and port must be provided before Next button can be pressed

    1. Miradore server host name: Host name or IP-address of Miradore server. Collected data is sent to this server.

    2. Miradore server instance name: Many Miradore servers can run on same host. Instance name specifies the server.  By default, server is installed with instance name 'Miradore'.

    3. Miradore Server HTTP(S) port: TCP/IP port that Miradore server uses. By default it is 80.

    4. Use HTTPS: This option defines protocol (HTTP/HTTPS) that is used when SNMP scanner sends result file to the Miradore server.

    5. Ignore SSL errors: If checked, all SSL certificate errors are ignored.

    6. Default credentials: If selected, SNMP scanner connects to the Miradore server by using default credentials.

    7. User name and password: If selected, SNMP scanner uses specific user name, domain and password to connect to the Miradore server.

  3. Set Windows Task Scheduler configurations
    1. Add to Scheduled Tasks checkbox: if checked, Miradore SNMP scanner task is added to Windows Scheduled Task and all fields must be filled before Next button can be pressed

    2. Start time: Connector is run daily at this time.

    3. User account: Select to use SYSTEM account or give a user name and a password that is used to run the task.

      • Note: If the task scheduler account does not have access to Miradore, a user account must be defined. See How to authenticate SNMP scanner from the end of this page.

    4. [Domain\] User Name: Scheduler will run task as it was started by this user. Add domain if needed.

    5. Password and Retype password: User’s password. Passwords must match.

  4. Set destination folder where Miradore SNMP scanner will be installed.

  5. Authorize connector, see Connector authorization

  6. Start installation.

How to configure Miradore SNMP scanner?

  1. Go to System settings > Connectors > connectors in Miradore.

  2. Press 'Add...' at the bottom left corner of the SNMP scanners table. You can also run connector once to get basic information of SNMP scanner device to Miradore.

  3. Enter name of the SNMP scanner server and optional description.

    • Note: Server name must be same as the hostname of the computer which will be the SNMP scanner server.

  4. Define SNMP scanner specific scopes.

    • Scope defines what devices specific scanner should scan

    •  For more information about SNMP scanner scopes look below at: 'How to define scopes for SNMP scanner?'

How to define scopes for SNMP scanner?

SNMP scanners can each have many scopes. Based on OS family, HW category and location,  you can define what SNMP devices each scanner should scan.

  1. Create a new scanner (see above) or open a existing SNMP scanner from System Settings > Connectors by clicking on the scanner server name

  2. Press 'Add...' at the bottom left corner of 'SNMP scanner scopes'

    • Form must be in edit mode

  3. Define scope and community name

Notice: It is a good idea to have a generic "OS = ALL, HW = ALL, location = ALL" scope for one scanner in the environment. This way all SNMP devices should have a dedicated scanner.

Example

The following picture shows two scanners, Server1 and server2. Server1 has 2 scopes and server2 only one.

Notice that Server1's first scope does not limit anything. In practice in this example all devices that are not under 'North America' location would be scanned by Server1.

Additional info

MSI Installer parameters

Following SNMP scan specific parameters can be given to installer from command line.

Value name

Description

Format

Default value

INSTALLDIR

Installation directory

Path

 

SERVER_HOST_NAME

Host name or IP-address of Miradore Server

String

-

SERVER_INSTANCE

Miradore Server’s instance name

String

-

SERVER_HTTP_PORT

Miradore Server’s http port

Numeric

80

SERVER_HTTPS_PORT

Miradore Server’s https port

Numeric

443

USE_HTTPS

Determines if HTTPS is used instead of HTTP. You must set some value for this. Possible values: 0 = false, 1 = true.

Numeric

 

   IGNORE_SSL

  Determines whether the connector ignores SSL certificate errors.

  0 = No, 1 = Yes

   Numeric

  0

AUTHENTICATION_METHOD

Authentication method when connecting to Miradore server. 0 = default credentials, 1 = user name and password

Numeric

 

AUTH_USERNAME

User name for authetication (If AUTHENTICATION_METHOD = 1)

String

 

AUTH_DOMAIN

Domain for user name.

String

 

AUTH_PASSWORD

Password for user name.

String

 

ADD_TO_SCHED

If 1, connector will be added to Windows Scheduled tasks. Then also four following parameters must be given. (1, 0)

Numeric

1

START_HOUR

Starting hour of Scheduled task. Must contain two digits

Numeric

00

START_MIN

Starting minute of Scheduled task. Must contain two digits

Numeric

00

SCHED_USER

Scheduler will run task as it was started by this user. Add domain if needed

String

-

SCHED_PW

Scheduler user’s password

String

-

 

 

How to authenticate SNMP scanner

 

SNMP Scanner connects to Miradore server's IIS Web Service application. The scanner is a Windows Scheduled task which is run by SYSTEM user account by default. When SNMP scanner is installed on the same computer as Miradore instance, the scanner is able to access the service with the SYSTEM account. If the SNMP scanner is installed on another computer than Miradore server, separate user account is required.

The user must exist before installing the SNMP scanner. If the SNMP scanner has been already installed, it needs to be uninstalled and installed again to enter the correct credentials in the installation wizard.

The user account can be either local or domain account. The user needs to have read and write access to the following directory in the Miradore server:

<Miradore installation directory>\App\WS

 

See also

SNMP scanner item

Network settings for connectors

Connector authorization

System settings for connectors