Configuring SNMP


This topic provides information about configuring the Network device monitor type. The Network device (SNMP) monitor type is used to configure network devices such as Switches, Routers ,Load Balancers, Servers and so on to collect data based on SNMP data-collection. The following steps are required for configuration:

In the Add Monitor Types dialog box, with the Monitoring Profile set to SNMP, and the Monitor Type set to Network device , provide the following details:

Field

Description

Network devices

Network device details

Device name/IP

Enter the alias name, host name or IP address of the network device you want to monitor.

If you have provided alias name as the device name, then you must configure the device IP address by providing the IP address in the Forced IP Address field.

Forced IP Address

(Optional) Enter the IP address of the network device you want to monitor.

You can leave this field blank if you have provided the actual host nameor IP address in the Device name/IP field.

Category

Enter a category name to group network devices. The default category is "Network".

Port

Enter the port number of the SNMP agent.

The default port number is 161.

Poll interval (sec)

Select the polling interval time in seconds. The default value is 300 seconds. The minimum value is 10 seconds and the maximum value is 3600 seconds.

Retries count

Select the number of retries for sending SNMP queries to the network device. The default value is 2. The minimum value is 1 and the maximum value is 4.

Timeout (sec)

Enter the timeout in seconds to wait for each reply of SNMP queries. The default value is 2 seconds. The minimum value is 1 second and the maximum value is 300 seconds.

Community string

Enter the community string to allow access to the network device.

SNMP Community strings are used only by devices which support SNMPv1 and SNMPv2c protocol. SNMPv3 uses the user name and password authentication, along with an encryption key.

Version

Select one of the following SNMP version, which is supported by the network device:

  • 1
  • 2C
  • 3

V3 settings

Authorization user credentials

If you have selected SNMP version 3, provide the following details:

User Name

Enter the user name to configure the SNMP.

Password

Enter a password.

Confirm Password

Re-enter the password to confirm.

Authorization protocol

Select one of the following authentication protocol to authenticate the user:

  • MD5
  • SHA

Privacy protocol

Select one of the following privacy protocol:

  • CBS-DES
  • CFB-AES-128

The privacy allows for encryption of SNMP v3 messages to ensure confidentiality of data. These protocols provide a higher level of security than is available in SNMP v1 and v2c, which use community strings for security.

Privacy passoword

Enter a password to access the SNMP agent.

Select monitoring

Agent avaialability

Enable this monitoring option to check the availability of the SNMP agent.

Interface MIB

Enable this monitoring option to monitor interfaces on SNMP-enabled devices.

Cisco local interfaces

Enable this monitoring option to provide more provide more detailed information about the network traffic on a Cisco device. It is based on OLD-CISCOINTERFACES-MIB. The monitor can be created on Cisco devices running pre 10.2 IOS version. Cisco local interface monitor is an extension of interface MIB

Router CPU/MEM

Enable this monitoring option to monitor the CPU utilization and memory usage of the router

F5 BIG-IP

Enable this monitoring option to monitor and record the performance parameters of BIG/IP hardware. This monitor can run on any platform and collect data from a device remotely.

Host MIB

Enable this monitoring option to monitor the devices. The Host MIB monitor is based on the standard SNMP MIB (RFC-2790) where various hosts or devices are monitored.

TCP

Enable this monitoring option to monitor tracks and records of the network-related TCP performance parameters. This monitor tracks socket-related data and helps to point TCP-related problems.

RMON

Enable this monitoring option to monitor and record the performance parameters of the router.

OpenVMS

Enable this monitoring option to monitor and record the performance of OpenVMS system.

Monitor names

Monitor names

Enter the monitor names separated by a comma which you have configured using Configuring-custom-monitors monitor type configuration.

Filters

Apply shared filters

Enable this monitoring option to apply filters on shared configurations.

Filters

Monitor type name

Specify the name of the monitor type that you want to filter. Monitor type can be a name of the object type as defined in the custom monitors.

Instance names

Specify the names of the instances that you want to filter. A semicolon should be used as a separator to exclude more than one instance name.

Regular expression

Specify the names of the instances that you want to filter by a regular expression. A semicolon should be used as a separator to exclude more than one regular expression.

Network segments

Network segment details

IP address range

Enter the IP address range in the following format: IPAddress-Range.

For example, if you enter the IP address range as 10.64.109.1-10, all IP addresses in the range between 10.64.109.1 to 10.64.109.10 are configured.

Category

Enter a group name for all IP addresses in the range. If you leave this field blank, the group name will be taken as the IP address range.

Exclude IP addresses

Enter comma-separated IP addresses to be excluded from the range.

For example, if you enter the IP address range is 10.64.109.1-10 and you want to exclude IP addresses:10.64.109.6, 10.64.109.7, and 10.64.109.8, use one of the following options:

  • 10.64.109.6,10.64.109.7,10.64.109.8
  • 6,7,8
  • 6-8
  • 10.64.109.6-10.64.109.8

Port

Enter the port number of the SNMP agent.

The default port number is 161.

Poll interval (sec)

Select the polling interval time in seconds. The default value is 300 seconds. The minimum value is 10 seconds and the maximum value is 3600 seconds.

Retries count

Select the number of retries for sending SNMP queries to the networkdevice .The default value is 2. The minimum value is 1 and the maximum value is4 .

Timeout (sec)

Enter the timeout in seconds to wait for each reply of SNMP queries. The default value is 2 seconds. The minimum value is 1 second and the maximum value is 300 seconds.

Community string

Enter the community string to allow access to the network device.

SNMP Community strings are used only by devices which support SNMPv1 and SNMPv2c protocol. SNMPv3 uses the user name and password authentication, along with an encryption key.

Version

Select one of the following SNMP version:

  • 1
  • 2C
  • 3

V3 settings

Authorization user credentials

If you have selected SNMP version 3, provide the following details:

User Name

Enter the user name to configure the SNMP.

Password

Enter a password.

Confirm Password

Re-enter the password to confirm.

Authorization protocol

Select one of the following authorization protocol to authenticate the user:

  • MD5
  • SHA

Privacy protocol

Select one of the following privacy protocol:

  • CBS-DES
  • CFB-AES-128

The privacy allows for encryption of SNMP v3 messages to ensure confidentiality of data. These protocols provide a higher level of security than is available in SNMP v1 and v2c, which use community strings for security.

Privacy passoword

Enter a password to access the SNMP agent.

Select monitoring

Agent avaialability

Enable this monitoring option to check the availability of the SNMP agent.

Interface MIB

Enable this monitoring option to monitor interfaces on SNMP-enabled devices.

Cisco local interfaces

Enable this monitoring option to provide more provide more detailed information about the network traffic on a Cisco device. It is based on OLD-CISCOINTERFACES-MIB. The monitor can be created on Cisco devices running pre 10.2 IOS version. Cisco local interface monitor is an extension of interface MIB

Cisco router

Enable this monitoring option to monitor the CPU utilization and memory usage of the router

F5 BIG-IP

Enable this monitoring option to monitor and record the performance parameters of BIG/IP hardware. This monitor can run on any platform and collect data from a device remotely.

Host MIB

Enable this monitoring option to monitor the devices. The Host MIB monitor is based on the standard SNMP MIB (RFC-2790) where various hosts or devices are monitored.

TCP

Enable this monitoring option to monitor tracks and records of the network-related TCP performance parameters. This monitor tracks socket-related data and helps to point TCP-related problems.

RMON

Enable this monitoring option to monitor and record the performance parameters of the router.

OpenVMS

Enable this monitoring option to monitor and record the performance of OpenVMS system.

Monitor names

Monitor names

Enter the monitor names separated by a comma which you have configured using Configuring-custom-monitors monitor type configuration.

Filters

Apply shared filters

Enable this monitoring option to apply filters on shared configurations.

Filters

Monitor type name

Specify the name of the monitor type that you want to filter. Monitor type can be a name of the object type as defined in the custom monitors.

Instance names

Specify the names of the instances that you want to filter. A semicolon should be used as a separator to exclude more than one instance name.

Regular expression

Specify the names of the instances that you want to filter by a regular expression. A semicolon should be used as a separator to exclude more than one regular expression.

Configuration files based monitoring

Import devices from files

Enable this option to configure devices to be monitored automatically from files. The devices to be monitored automatically place the files at %PATROL_HOME%\PSM\Conf\ImportDevices\ directory. You can have multiple files for configuring devices and must specify an appropriate name to the files. The devices are grouped under these file names. By default, this option is disabled. 

If you have multiple PATROL Agents with different port numbers running on the same computer and each PATROL Agent wants to load a different file, then you can create subdirectories under the file location with the port number.


File location

Specify the location to load the configured files based configuration or leave it blank to use the default location under%PATROL_HOME%\PSM\Conf\ImportDevices input value must not contain any character from the set '*?><|'.

Shared configuration

The shared configuration settings enable you to set pre-defined values for the configuration fields to monitor a device and network segment. It also enables you to set pre-defined values for the configuration fields for file-based configuration. You can set up default configuration for the following configuration fields.

Port

Enter the port number of the SNMP agent.

The default port number is 161.

Poll interval (sec)

Select the polling interval time in seconds. The default value is 300 seconds. The minimum value is 10 seconds and the maximum value is 3600 seconds.

Retries count

Select the number of retries count for SNMP queries. The default value is 2. The minimum value is 1 and the maximum value is 4.

Timeout (sec)

Select the timeout in seconds for SNMP queries. The minimum value is 1 seconds and the maximum value is 300 seconds.

Community string

Enter the community string to allow access to the network device.

Version

Select one of the following SNMP version:

  • 1
  • 2C
  • 3

V3 settings

Authorization user credentials

If you have selected SNMP version 3, provide the following details:

User Name

Enter the user name to configure the SNMP.

Password

Enter a password.

Confirm Password

Re-enter the password to confirm.

Authorization protocol

Select one of the following authorization protocol to authenticate the user:

  • MD5
  • SHA

Privacy protocol

Select one of the following privacy protocol:

  • CBS-DES
  • CFB-AES-128

The privacy allows for encryption of SNMP v3 messages to ensure confidentiality of data. These protocols provide a higher level of security than is available in SNMP v1 and v2c, which use community strings for security.

Privacy passoword

Enter a password to access the SNMP agent.

Filters

Monitor type name

Specify the name of the monitor type that you want to filter. Monitor type can be a name of the object type as defined in the custom monitors.

Instance names

Specify the names of the instances that you want to filter. A semicolon should be used as a separator to exclude more than one instance name.

Regular expression

Specify the names of the instances that you want to filter by a regular expression. A semicolon should be used as a separator to exclude more than one regular expression.

Administration

Root display name

Enter a display name for the monitor type in order to display a meaningful location name for the target agent. The target agent monitors the configured destination devices. The default root display name is Network Devices(SNMP).

Device mapping

Select any of the following monitoring modes:

  • FQDN — Monitors are created within a device according to the discovered FQDN of the monitored system. If the configured Device name/IP set with an alias name and the force IP address is configured, the device gets mapped to the TrueSight with the Device name/IP instead of the device FQDN although this option was selected.

    Example

    If you want to ping a device whose FQDN is "myServer.bmc.com" and you have provided the alias name like " Test" in the Device name/IP field. By selecting the Enabled: FQDN option, the device name in the Operations Console will be the FQDN of the network device, which in this example is myServer.bmc.com. 

  • User defined — Monitors are created within a monitored device using the name provided by the user (alias name).

    Example

    If you want to ping a device whose FQDN is "myServer.bmc.com" and you have provided the alias name like " Test" in the Device name/IP field. By selecting the Enabled: User defined option, the device name in the Operations Console will be the alias name of the network device, which in this example is "Test".

  • Disable — Monitors are created within the device of the PATROL Agent(s).

Enable logging

Select this option to enable logging. The log files are created at %PATROL_HOME%\PSM\logs. By default, this option is disabled.

Enable playback

Enable this option to simulate monitoring of a non-real network device with all BMC native monitors. After enabling, the non-real network device, MyDevice_DEMO, will be created within the DEMO category.

This feature provides you to explore all the monitor types that can be configured on network devices.

Java path

Specify the path of the JRE directory ($JAVA_HOME environment variable) on the PATROL Agent host which is used by the KM.

If the JAVA_HOME environment variable of the PATROL Agent is set, you can use the default value $JAVA_HOME as the Java path.

If the feild is left blank, the KM uses the Java path installed on the PATROL Agent home directory in the following format: $PATROL_HOME/openjdk or $PATROL_HOME/jre64.

For example: Windows - C:\Program Files\Java\jdk-11.

After entering all the required details, click OK and Close button and save the policy.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*