Configuring Informs

 



 

Overview

 

SNMP Notifications can be sent as Traps or Inform requests. Traps are unreliable because the Manager does not send any acknowledgment on receiving the Trap. So, the Agent cannot determine if the Trap was received by the Manager. However, an SNMP Manager that receives an Inform request acknowledges the message with an SNMP response PDU.  If the Manager does not receive an inform request, it does not send a response. If the Agent does not receive a response at all, the inform request can be sent again.

 

You can generate SNMPv2c and SNMPv3 Informs, on the following conditions:

Enabling/Disabling Inform Service

 

he SNMP Agent Simulator and Network Simulator provides option to enable/disable the execution of  Informs configured in the simulator, at agent runtime. If inform service is disabled, the agent will not check for inform configurations before sending the response. Hence, you can use this option to improve the performance of the SNMP agent, if informs are not required to be executed. By default, the service is enabled and the informs configured (if any), will be executed.  

 

To disable the service in SNMP Agent Simulator,

To disable the service in Network Simulator,

Note:

  1. The option Operations -> Initialize Service will be disabled when the SNMP agent is started. .

  2. If Inform Service is deselected, the informs configured in behavior scripts are also not executed.

 

 

Configuring Informs

 

Request-based informs are informs that are generated when a request ( Get and Set / Set only ) is made by the Manager on the simulated agent. Thus, Request-based informs will be triggered if there is a GET / SET operation from the manager on the specified OID. The Inform variable is a unique identifier based on which the configured inform will be identified.

 

You can configure request-based, timer-based and threshold-based informs from the SNMP Agent Simulator and Network Simulator.  To configure the same,

  1. Choose the option Configure --> Informs from the menu bar or click on the Configure Informs icon in the tool bar. The Configure Inform Requests dialog is displayed.  In Network Simulator, you can also right-click on a device and select SNMP --> Informs.

  2. To configure a new inform request, click Add . The Add/Modify Inform Request dialog is displayed.

  3. Configure the General Parameters that are common for Request-based, Response based and Timer based Informs

  4. To configure Request-based Informs, specify Request-based Parameters.

  5. To configure Threshold-based Informs, specify Threshold-based Parameters.

  6. To configure Timer Based Informs, specify Timer-based Parameters.

General Parameters

Request Based Parameters

 

Request based informs are informs that are generated when a request ( Get and Set / Set only ) is made by the Manager on the simulated agent. To configure Request based parameters, enter the following details in the check boxes :

Configuring Threshold-based Informs

 

Threshold-based informs are generated when the value in the selected OID satisfies the specified threshold condition and the threshold value. Thus, when the threshold condition is satisfied the inform will be sent. The Inform variable is a unique identifier based on which the configured inform will be identified

      • Threshold Condition : The threshold conditions listed depend upon the type of the selected inform variable. For a node of type Octet String, Object ID and IP Address, the conditions displayed are :

          • Equal To

          • Not Equal To

      • For types other than Octet String, Object ID and IP Address, the following threshold conditions are listed:

Configuring Timer-based Informs

 

Timer-based informs are generated at the configured time. In timer-based informs, the OID uniquely identifies the configured informs. Thus, when the timer condition is satisfied the inform will be sent. The Inform variable is a unique identifier based on which the configured inform will be identified.

Adding Varbinds

 

Variable Bindings or Varbinds is an additional information that is sent to the manager along with the trap or inform.. It can be value of the selected MIB nodes. This value is sent to the manager along with the trap or Inform. The Varbinds dialog can be invoked from the add/modify trap dialog and also from the trap configuration dialog .

 

The following options are provided to configure varbinds for inform messages,

To modify varbinds,

To delete varbinds ,

Sending Informs

 

The informs configured in the Configure Inform Request dialog, can be sent in the following ways.

 

Using Send Button

 

By using the Send button in the dialog, you can select and send any inform irrespective of the condition configured. The selected informs will be sent to the specified manager at the port specified.

 

Note: The informs can be sent only when the agent is started.

 

Sending Request Based Informs

 

Request Based Informs are generated when a request is made on the configured node. For example : A request based inform is configured with the following values with other options as default.

Associated variable is sysUpTime of the RFC1213-MIB with OID .1.3.6.1.2.1.1.3
Trap Version is Snmp V2c
Request Type is Generate Inform on Get and Set.
Time Interval is 2000 milliseconds.
Number of times inform should be sent is 5

 

When a Get/Setrequest is made from the Manager, on the variable sysUpTime, 5 SNMP v2c informs with default varbinds, will be generated with a time interval of 2 seconds between the informs. The informs will be sent to the managers running at the specified ports. The inform responses can be viewed from the Inform Response tab of the Configure Inform Requests dialog.

 

Sending Threshold Based Informs

 

Threshold-based Informs are generated when the selected OID satisfies the specified threshold condition and the threshold value. For example : A Threshold-based inform is configured with the following values with other options as default.

Variable is ifAdminStatus of the IfTable of RFC1213 MIB with OID .1.3.6.1.2.1.2.2.1.7
Version is Snmp V2c
Threshold Condition is Equal To
Threshold Value is 2
Time Interval is 5000 millisecods
Number of times inform should be sent is 10

If the value of the OID .1.3.6.1.2.1.2.2.1.7 equals to 2, 10 SNMP v2c informs with default varbinds , will be generated with a time interval of 5 seconds between the informs. The informs will be sent to the managers running at the specified ports. The inform responses can be viewed from the Inform Response tab of the Configure Inform Requests dialog.

 

Sending Timer Based Informs

 

Timer-based informs are generated at the configured time. For example : A timer-based inform is generated with the following values, with other options as default.

Variable is sysName of the RFC1213-MIB with OID .1.3.6.1.2.1.1.5 .In timer informs, the OID is specified to uniquely identify the inform.

Version is Snmp V2c
Starting Time is 20 - Mar 2003 ; 17 : 00 : 00
Time Interval is 5000
Number of times inform should be sent is 10

When the specified date and time is reached (20 th Mar, 2003 at 17 hrs) , 10 SNMP v2c informs with default varbinds, will be generated with a time interval of 5 seconds between the informs. The inform will be send to the managers running at the specified ports. The inform responses can be viewed from the Inform Response tab of the Configure Inform Requests dialog.

 

Note:

 

1. The generated inform messages can be viewed from the Inform Response tab of the Inform Response dialog or from the Tools -> Inform Response option.

 

2. To stop the execution of all timer based informs in all devices, right-click on the blank network area and select Stop All timer informs option .

 

 

Viewing Inform Response

 

When informs are sent, the SNMP Manager that receives the Inform request acknowledges the message with an SNMP response PDU.

 

To view the inform response from SNMP Agent Simulator,

To view the inform responses from the Network Simulator,

 

To view the inform response of a specific device:

      • Right-click on a device and select SNMP -> Informs or choose the option Configure --> Informs from the menu bar. The Configure Inform Requests dialog is displayed.

      • Select the Inform Response tab. The response received from the SNMP Manager for the selected device, will be listed in the table.

      • To clear all the responses, click Clear.

      • To close the dialog, click Close.

To view the inform response from all the devices:

      • Select Tools -> Inform Response. The Inform Response dialog displays the inform responses for all the devices which sent the inform messages.

      • To delete a specific entry, select the entry and click Delete.

      • To close the dialog, click OK.

Modifying and Deleting Informs

 

You can modify an existing inform to change the configured values.

You can delete existing informs from the Configure Inform Requests dialog.

Copyright © 2012, ZOHO Corp. All Rights Reserved.
Network Monitoring Software from ManageEngine