Nimsoft Monitor snmpget Guide

Nimsoft® Monitor™
snmpget Guide
v1.6 series
Legal Notices
Copyright © 2012, Nimsoft Corporation
Warranty
The material contained in this document is provided "as is," and is subject to being changed, without notice, in future editions.
Further, to the maximum extent permitted by applicable law, Nimsoft Corporation disclaims all warranties, either express or
implied, with regard to this manual and any information contained herein, including but not limited to the implied warranties of
merchantability and fitness for a particular purpose. Nimsoft Corporation shall not be liable for errors or for incidental or
consequential damages in connection with the furnishing, use, or performance of this document or of any information
contained herein. Should Nimsoft Corporation and the user have a separate written agreement with warranty terms covering
the material in this document that conflict with these terms, the warranty terms in the separate agreement shall control.
Technology Licenses
The hardware and/or software described in this document are furnished under a license and may be used or copied only in
accordance with the terms of such license.
No part of this manual may be reproduced in any form or by any means (including electronic storage and retrieval or translation
into a foreign language) without prior agreement and written consent from Nimsoft Corporation as governed by United States
and international copyright laws.
Restricted Rights Legend
If software is for use in the performance of a U.S. Government prime contract or subcontract, Software is delivered and
licensed as "Commercial computer software" as defined in DFAR 252.227-7014 (June 1995), or as a "commercial item" as
defined in FAR 2.101(a) or as "Restricted computer software" as defined in FAR 52.227-19 (June 1987) or any equivalent agency
regulation or contract clause. Use, duplication or disclosure of Software is subject to Nimsoft Corporation’s standard
commercial license terms, and non-DOD Departments and Agencies of the U.S. Government will receive no greater than
Restricted Rights as defined in FAR 52.227-19(c)(1-2) (June 1987). U.S. Government users will receive no greater than Limited
Rights as defined in FAR 52.227-14 (June 1987) or DFAR 252.227-7015 (b)(2) (November 1995), as applicable in any technical
data.
Trademarks
Adobe®, Acrobat®, Acrobat Reader®, and Acrobat Exchange® are registered trademarks of Adobe Systems Incorporated.
Intel® and Pentium® are U.S. registered trademarks of Intel Corporation.
Java(TM) is a U.S. trademark of Sun Microsystems, Inc.
Microsoft® and Windows® are U.S. registered trademarks of Microsoft Corporation.
Netscape(TM) is a U.S. trademark of Netscape Communications Corporation.
Oracle® is a U.S. registered trademark of Oracle Corporation, Redwood City, California.
UNIX® is a registered trademark of the Open Group.
Contact Nimsoft
For your convenience, Nimsoft provides a single site where you can access information
about Nimsoft products.
At http://support.nimsoft.com/, you can access the following:
■
Online and telephone contact information for technical assistance and customer
services
■
Information about user communities and forums
■
Product and documentation downloads
■
Nimsoft Support policies and guidelines
■
Other helpful resources appropriate for your product
Provide Feedback
If you have comments or questions about Nimsoft product documentation, you can
send a message to [email protected].
Contents
Chapter 1: snmpget
This description applies to snmpget version 1.63
The SNMPget probe is an SNMP application that uses the SNMPget request to query for
information on a network entity supporting SNMPv1, SNMPv2c or SNMPv3. You may
configure profiles containing one or more object identifiers (OIDs), or template
references that refer to a set of OIDs to be shared amongst profiles. Each variable name
is given in the format specified in snmp_variables.
To use the snmpget probe you should be familiar with the basic concepts of SNMP.
When using SNMPget profiles, each profile (or template) represents one or more data
values (OIDs) obtained from a host that supports SNMP. The profile specification
includes the specification of the host, SNMP community and object identifiers that must
be obtained. The SNMP information is obtained according to the specified profile
interval. As with all other Probes, you can define alarm-triggering rules for the SNMPget
probe.
Each SNMPget profile can collect information as 'static' OIDs (only configured for this
profile), or via template references. Since a lot of SNMP object identifiers represent
cumulative values, SNMPget creates a delta based on the current value - the last value.
Note: Probes that support SNMP on Linux (interface_traffic, snmptd and SNMPget) use
an SNMP library that may cause newer Linux systems to issue the following message in
the console log:
Process ‘SNMPget’ is using obsolete setsockopt SO_BSDCOMPAT
This is an informational message from the network portion of the glibc library that a
now unsupported flag is being sent to the setsockopt function. This flag is ignored by the
library and can safely be ignored. The reason for this message is that the SNMP library
needs to support older versions of glibc which required this flag for sockets to work
correctly.
Contents 5
SNMP Variables
Variable names are in the format of OIDs (Object Identifiers (ASN.1)). There are several
methods of representation. Each variable name is given in the format of A.B.C.D...,
where A, B, C, and D are sub-identifiers in one of two forms of notation. Each
sub-identifier may be encoded as a decimal integer, or a symbol as found in the
RFC1066 MIB. The case of the symbols is not significant.
If there is no leading "." in the variable name, the name is formed as if having been
preceded with iso.org.dod.internet.mgmt.mib.
A "." must be placed before the first variable if the user is to fully specify the name.
For example:
1.1.0
system.sysDescr.0
1.sysDescr.0
.1.3.6.1.2.1.1.1.0
.iso.org.dod.internet.mgmt.mib.system.sysdescr.0
.1.3.6.1.2.1.1.sysdescr.0
all refer to the same variable name.
The description of the variables in the MIB is given in the set of MIB files located in the
NimBUS/MIBS directory on the robot that is hosting the SNMPget probe.
6 snmpget Guide
The GUI
The window consists of two panes:
The left pane
The left pane shows:
■
The hosts to be monitored optionally grouped into folders.
■
The QoS definitions available. You can also add new ones. If you want to publish
QoS data for a SNMP variable, you may select between the ones defined here.
■
The different templates contain a number of variables. These templates can be
attached to an agent, and the templates are typically used to simplify profile
management of many similar devices. You may extend/modify the monitoring of
many agents referring to the same template simply by adding/modifying a variable
in the template
Right-clicking in the pane gives you the following possibilities:
■
New
Opens the properties dialog, letting you define a new group, host, QoS definition or
template, depending on what type of element you have selected in the pane when
right-clicking.
■
Edit
lets you edit the properties for the selected host.
■
Rename
Lets you rename the selected host or group.
■
Delete
Lets you delete the selected group, host, QoS definition or template.
■
Browse
Use this option to launch the MIB browser to help you find available SNMP
variables for the selected agent profile.
Note the symbols in the left pane, indicating if a monitored host responds or not:
Indicates that the host responds.
Indicates that the host does not respond.
Indicates either that the profile is just created, but you have not yet clicked the
Apply button, or the profile is not active.
The right pane
The right pane is multifunctional and shows:
Chapter 1: snmpget 7
■
Hosts and groups when the Group node is selected in the left-pane.
■
Hosts if a group is selected in the left pane.
■
SNMP variables for the selected host when a host is selected in the left-pane.
■
QoS definitions available when the QoS node or a QoS definition is selected in the
left pane.
■
Templates available when the Template node is selected.
■
SNMP variables defined for the template if a template is selected in the left pane.
Right-clicking in the pane gives you the following possibilities:
■
New
Opens the properties dialog, letting you define a new group, host, QoS definition or
template, depending on what type of element you have selected in the pane when
right-clicking.
■
Edit
Lets you edit the properties for the selected host or SNMP variable.
■
Delete
Lets you delete the selected host, template, SNMP variable or QoS definition.
■
Activate
Activates (starts monitoring) the selected host.
■
Deactivate
Deactivates (stops monitoring) the selected host.
■
Monitor
Opens the monitor window and starts monitoring the selected SNMP variable,
where you can watch the graphs being filled.
■
Delta Value
Delta value displayed in the right pane is the difference between the current and
the previous measured value.
■
Average Value
Average value of a variable is the normalized value for a performance object. You
can trigger the average calculation process. If the average calculation process is
triggered, it is calculated based on the number of samples defined for the variable.
SNMP variables indicators
The icons in front of the variable names have the following meaning:
Green means OK.
8 snmpget Guide
Black means the "Enable monitoring" option and the "QoS" option is turned off
in the properties dialog for the variable.
Other colours indicate the severity level selected (in the properties dialog for
the variable) when the average value breaches the alarm threshold. The severity of
the variable is calculated using the average value compared with its threshold. If the
variable does not have any average value, then the severity is calculated using the
current value of a variable.
Indicates that the OID is missing
Indicates that the "Enable monitoring" option is turned off, but the QoS option is
selected in the properties dialog for the variable.
The configuration tool also contains a row of tool buttons:
Chapter 1: snmpget 9
■
The General Setup button
Opens the Setup dialog for the probe, enabling you to modify the parameters and
options.
■
The Launch the MIB Browser button
This launches the MIB browser, letting you find the SNMP variables available for an
agent.
See the section Attach SNMP variables and/or templates.
■
The Launch the MIB Setup Wizard button
This launches the MIB setup wizard, helping you to upload and install MIB files from
Internet and to add/remove MIB files from your local MIB repository.
■
The Create New Agent Profile button
Click this button to create a new host profile.
■
The Create New Agent Group button
Click this button to create a new agent group.
■
The Create New OID Group button Lets you add folders under the selected host to
group SNMP variables in a logical manner.
■
The Create New Template button
■
The Get the Current SNMP Variable Values button
Clicking this button, SNMP Variables listed in the right pane is updated with the
most current values.
■
The Bulk Configuration button
Clicking this button opens the Bulk Configuration dialog, enabling you to distribute a
set of monitoring parameters to selected hosts (see Bulk Configuration).
SNMP – Simple Network Management Protocol
MIB - Management Information Base
The MIB is included in the probe distribution and is stored in the Program
Files/Nimbus/MIBS folder.
The contents of the MIB repository can be modified (adding or deleting files) by running
the MIB Wizard.
OID – Object Identifier
10 snmpget Guide
SNMPget Configuration
The probe includes a User Interface to configure the probe. A MIB (Management
Information Base) browser and a MIB file manager (wizard) for adding/removal of the
remote MIB files as well.
The SNMPget probe includes following objects at the time of installation:
■
A Management Information Base repository (MIB), located in the Program
Files/Nimbus/MIPS folder. The MIB repository contains definitions of the SNMP
variables available from Agents supporting this MIB.
■
A User Interface (UI) to configure the probe. The User Interface is opened by
double-clicking the line representing the probe in the Infrastructure Manager.
Initially the UI contains a dummy agent profile and a set of templates, containing a
set of SNMP variables.
The probe configuration consists of the following steps:
■
Set the General Properties for the probe.
■
Configure one or more Agent Profiles.
■
Attach SNMP variables to the profiles, either dynamically, using templates, or
statically.
■
In addition, you may run the MIB Setup wizard to upload and install MIB files from
Internet and to add/remove MIB files from your local MIB repository.
Set the General Properties
Clicking the General Setup button opens the Setup dialog for the probe.
Chapter 1: snmpget 11
Field
Description
Encrypt community string When checked, passwords specified for the different agent profiles, are encrypted in
the probe configuration file.
Display time ticks as
numeric data type
If checked, time ticks (see the value field for a SNMP variable with time ticks) are
displayed in number of seconds.
If NOT checked, the time ticks are displayed on the format dd: hh:mm: ss.ms (E.G.
10:7:20:20.47).
Default alarm message
string
This is the default alarm message issued when alarm situations occur.
Log-level
Sets the level of details written to the log-file. Log as little as possible during normal
operation to minimize disk consumption, and increase the amount of detail when
debugging.
Items in sample array
This field defines the default value of number of samples for a probe.
Configure Agent profiles
12 snmpget Guide
Clicking the Create Agent Profile button opens the Profile dialog.
Note: If you want to create an agent group for the new agent, you can do so by
right-clicking in the left pane and selecting New, or you can click the Create New group
button in the Toolbar.
Field
Description
Agent hostname or IP
address
The host name or IP address to the agent.
Active
Check this box if you want to activate the profile to monitor the selected SNMP Host.
Check interval
Here you can specify the time interval (in seconds) between each time the SNMP
agent is checked.
Severity
Here you can select the severity for messages sent if the agent host does not
respond.
Group
Here you can select in which agent group to place the agent.
Message string for agent
no response
Enter the message string for the notification when the host can not contact the
agent. If you do not specify any message, the default message is displayed.
SNMP Properties
Chapter 1: snmpget 13
Field
Description
Version
SNMP software version number supported by the monitored device.
Authentication (SNMPv3
only)
Type of authentication strategy (none, HMAC-MD5-96 or HMAC-SHA-96). This field is
available only when the SNMP version is SNMPv3.
Port
The port to be used by the SNMP device. Default is 161.
Timeout
The timeout value in seconds before a new SNMP Get request is sent to the SNMP
agent. The default value is 1 second.
Retries
Select the number attempts to be done before giving up and reporting it as a failure.
An alarm is issued. Default value is 5 retries.
Community /password
Here you specify a password for the profile.
Username
Here you can specify a username defined on the monitored device. This field is
available only when the SNMP version is SNMPv3.
Delay
The delay between each SNMP Get Request when fetching multiple OIDs from the
SNMP Agent. The default value is none.
Show password
When checked, the entry in the password field is shown as plain text.
Security
Define the security level for the user. Valid levels are NoAuthNoPriv, AuthNoPriv, and
AuthPriv. This field is available only when the SNMP version is SNMPv3.
Priv. Protocol
It is the privacy protocol for the SNMP. It is not required if the security level is
NoAuthNoPriv or AuthNoPriv. This field is available only when the SNMP version is
SNMPv3.
Priv. PassPhrase
It is the privacy passphrase. It is not required if the security level is NoAuthNoPriv or
AuthNoPriv. It must be at least eight characters long. This field is available only when
the SNMP version is SNMPv3.
QoS Identification Method Select one of the QoS identification methods in order to specify the QoS source.
Test
Click the Test button to check whether the SNMP host is responding or not.
Adding a new agent, using ‘drag and drop’
You may also add an agent by opening a /etc/hosts file in WordPad and dragging the
selection (IP-address and hostname) into the navigation pane and dropping it onto a
group folder.
14 snmpget Guide
Attach SNMP variables and/or templates
To find available SNMP variables for the selected agent profile, you right-click the profile
and select Browse.
Chapter 1: snmpget 15
The MIB Browser window appears, allowing you to browse for variables. Select SNMP
version and Object Identifier from the drop-down lists and click the Go! Button.
Note that you may, rather than select from the drop-down list, write directly into the
Object Identifier (root) field. Click the
button to add the written object identifier
in the list. Similarly, click
to remove the selected object identifier. All variables
found are listed in the Query Response field at the bottom of the dialog.
16 snmpget Guide
Now you can attach the variables you want to the agent profile, using drag and drop.
You mark the ones you want and drop them onto the probe’s variables window.
Chapter 1: snmpget 17
Grouping variables in folders
You can group variables in folders under the Agent Profiles. You create groups by
selecting the Agent and clicking the folder icon in the Toolbar. When the new group
appears under the Agent, you just give it a name. You can then start attaching variables
to the group, using drag and drop, from the browser window.
Attaching templates
Another method is to attach the variables found in one of the templates to an agent
profile or an agent group. Templates are typically used to simplify profile management
of many similar devices. You may extend/modify the monitoring of many agents
referring to the same template simply by adding/modifying a variable in the template.
You click the Template node, and all templates are listed in the right windowpane.
You can attach one of them to an agent profile or an agent group by selecting the
template, dragging and dropping it onto the selected node.
If you just want to attach some of the variables under the template, you click on the
template. The available variables are listed, and you drag and drop the ones you want
onto the agent profile / group.
18 snmpget Guide
Making new templates
You can easily compose your own templates by:
■
Selecting variables from other templates, dragging and dropping them onto the
new template.
Or
■
Selecting variables from the Browse window, dragging and dropping them onto the
new template.
Overwriting a template variable
Note that it is possible to overwrite a template variable with a static variable on an
agent configuration.
Chapter 1: snmpget 19
Configure the Variable properties
Double-clicking one of the variables opens the variable properties dialog. Note that the
dialog can be expanded/collapsed by clicking the arrow to the right of the Description
field. This opens/closes a frame containing the variables’ OID description fetched from
MIB. You may copy/paste text from this frame and paste into the Description field and
the Message string field in the variable dialog, and in the Description field in QoS
definition dialog.
Now you can set the alarm and QoS definitions for the variable.
Field
Description
Name
The name of the variable
Object Identifier
(OID)
The Variable name in the format of an Object Identifier (see SNMP Variables)
Description
Here you can enter a description of the variable. Clicking the arrow to the right of the field
opens a frame with an OID description fetched from MIB. You may copy/paste text from
this frame and paste into the Description field.
The Value Frame
20 snmpget Guide
Field
Description
Definition
Defining which value to compare to the threshold value:
Automatic (based on type):
The value is automatically set based on variable type (integer, counter etc.).
When Automatic is chosen, the probe – based on data type— either fetches the current
value or makes a delta calculation.
For the following data types a delta calculation is performed: counter32 and counter64.
For all other data types, the current value is fetched.
The current value:
Uses the current (last measured) value
The delta value (current – previous):
Uses the delta value, which is the difference between the current and the previous
measured value.
Note: The main window displays a 3-second delta computation.
Samples
Sampling defines normalized value for a performance object to be monitored.
By default, the sampling process is not enabled. The samples box is also not available. To
perform the sampling process, select the Calculate average based on check box. The
samples box becomes available, which displays default samples set in the General Setup
Properties dialog. For example, in the following image, it is six.
You can change the number of samples. Enter a value other than zero or one in the
samples box, to override the default sample value for any variable. This value has higher
precedence than the default value of the number of samples, set in the General Setup
Properties dialog for a probe.
If you enter number of samples equal to one, then sampling process is not performed. As
a result, average value of the variable samples is not calculated.
Similarly, if you enter number of samples equal to zero, then sampling is not calculated.
Next time when you open the Variable dialog, it displays the default number of samples.
You cannot keep the samples box blank. The OK button becomes unavailable if you keep
the number of samples blank.
Calculate value using Select this check box to multiply the variable value with a number (ratio):
ratio
E.g. a ratio of 0, 1 (value * 0, 1) means 10 % of the value. Enter the ratio value in the box.
Force the variable
value as a numeric
value type
Select this option to force the probe to treat a data type as a numeric value.
Enable monitoring
Enables monitoring of the variable
E.g. The string:"2.5" will be treated as the numeric value 2.5 if this option is ticked.
Chapter 1: snmpget 21
Field
Description
Rule / Extended Rule These tabs are activated when the option Enable Monitoring is selected (see above).
tabs
The fields on these tabs define the alarm and QoS conditions for the variable.
You have the option to use one or two levels of alarm triggering rules:
You define a set of alarm triggering rules on the Rule tab and alternatively also a set of
additional alarm triggering rules on the Extended Rule tab.
See the EXAMPLE later in this table.
IMPORTANT: Rule has to trigger before the extended rule is checked.
Note also that the Extended Rule tab is disabled if selecting the operator = in the Rule
tab.
Operator
A drop-down list, from which you can select an operator when defining a threshold value
for alarms to be issued
Threshold value
The alarm threshold value An alarm is issued if this threshold is breached.
Alarm severity level
The severity level of the alarms issued when the specified threshold value is breached.
You may choose between five severity levels (from Information to Critical).
Message string
Here you can type a text string describing the alarm situation. If nothing is specified here,
the default message (defined under General Properties for the probe) is used.
Note that you may also copy/paste text from the OID Description frame (see above) and
paste into this field.
Publish Quality of
Service (QoS)
If this option is checked, QoS data is sent at the specified check interval for the profile.
QoS Name
Here you may define a new QoS, you may select the default QoS or another available
Default QoS for the variable.
EXAMPLE:
Rule:
Operator =>, Value 5, Severity Major
Extended Rule:
Operator =>, Value 10, Severity Critical
This means: If the measured value is 6, the alarm message specified on the Rule tab
(severity level Major) is issued.
If the measured value is 13, the alarm message specified on the Extended Rule tab
(severity level Critical) is issued.
Advanced tab
Subsystem ID
Allows you to define a subsystem ID on the Nas), which is included in the alarm message.
Message string on
Clear
Allows you to define your own message to be issued when an alarm is cleared. This
message overrules the default message.
22 snmpget Guide
The Missing OID tab
Chapter 1: snmpget 23
The Missing OID tab manages alarm settings for the missing OIDs.
Field
Description
Alarm on missing OIDs
Select this checkbox to raise an alarm when any OID is missing.
Severity Level
Define the alarm severity level by selecting an option from the drop down
menu.
Message for Missing OID ( Error
Message)
Enter the alarm message string to be displayed when an OID is missing.
Message for Missing OID ( Clear
Message)
Enter the alarm message string to clear the Missing Alarm message.
24 snmpget Guide
Publish Quality of Service
You can select to publish Quality of Service data by checking the Publish QoS option in
the properties dialog for a variable.
Chapter 1: snmpget 25
From the drop-down list at the bottom of the dialog, you may select between:
■
The default QoS for the variable
■
Define and a new QoS
■
Select one of the defined QoS definitions, if any.
Apply the settings by clicking the OK button to exit the dialog and then click the Apply
button on the Probe User Interface.
Subsequently, the QoS appears in the Service Level Manager under the Quality of
Service / SNMP variable / SNMP Variable node.
26 snmpget Guide
Adding a new Quality of Service
You can add new Quality of Service by opening the properties dialog for a variable,
checking the Publish Quality of Service option and selecting Add a new QoS Definition
from the drop-down list at the bottom of the dialog.
Chapter 1: snmpget 27
The QoS Properties dialog for the variable appears.
Define your QoS. Note that you may copy/paste text from the OID Description frame
(see variable dialog description above) and paste into the QoS Description field. Click the
OK button to save and exit.
Subsequently, the new QoS definition appears in the QoS drop-down list at the bottom
of the Variable dialog and under the QoS node in the Navigation Pane. The group
specified in the dialog appears under the Quality of Service node in the Service Level
Manager, containing the new variable.
28 snmpget Guide
Deleting QoS definitions
When you delete a QoS definition in the SNMPget user-interface, references to the QoS
object is removed from the templates and/or profiles that use this object. However, it
removes neither the QoS data nor the QoS object in the SLM database. Use the Service
Level Manager to perform the necessary QoS management.
Changing QoS definitions
Use the Service Level Manager to perform the necessary QoS management.
Dynamic Index Tracking
Chapter 1: snmpget 29
30 snmpget Guide
Select the "Dynamic Index Tracking" checkbox if the OID you want to monitor changes
index.
You should look for a value in a specified SNMP MIB Table and use the index of the entry
that matches a specific value.
If you have the required MIBs loaded, you may specify the "MIB Table" using the
symbolic (textual) form. Alternatively, you can use the numerical form (e.g.,
.1.3.6.1.2.1.2.2.1.2 that translates to IF-MIB::ifDescr).
The following are valid symbolic forms for the OID .1.3.6.1.2.1.2.2.1.2:
■
IF-MIB::ifDescr
■
ifTable.ifEntry.ifDescr
■
ifDescr
The probe will do a snmpwalk of the specified table, and search for the specified value.
The comparison of values is case insensitive. The index found for the value match will be
used as the index for the specified OID when doing the snmpget operation.
The Index will be updated on each poll interval. First, the last known Index is tried. If
there is no match anymore (i.e. value has changed), the probe does a snmpwalk of the
specified SNMP MIB table and updates the Index with a new one (if the specified value
can be found at another index).
You can use the "Test" button to check the current Index and to confirm whether you
have specified a valid MIB Table and/or value to search.
The probe GUI has no restrictions on entering invalid values.
Note: Use the Missing OID Alarm in order to receive alarms which indicate that the OID
cannot be found (i.e. OID is missing).
Chapter 1: snmpget 31
Monitoring SNMP variables
You may monitor the sample values from any SNMP variable by right-clicking the
variable and selecting Monitor.
A small monitor window pops up, showing the sample values as a graph in green colour.
It also shows graph of average sample values in blue colour.
32 snmpget Guide
The green line in the graph denotes the current value of the variable, whereas the blue
line in the graph denotes the average value of last N samples. The orange coloured
horizontal line shows the threshold value of the variable.
The lower part of the monitor window contains the following four fields:
■
Interval
Left-clicking in this field makes a drop-down menu available, enabling you to select
the sample rate for the monitor window. This interval overrides the check-interval
defined for the profile.
■
Sample
Samples denote the total number of samples collected till the current point of
time. For example, in the preceding image, twelve samples are collected.
■
Average value of last 6 samples:
This field denotes average value of the current last N samples, where N denotes the
number of samples defined for a variable. For example, in the preceding image,
average of last six samples is displayed.
■
Value:
This field denotes the current value of the variable, received from the probe. The
colour indicates the current severity level of the variable, based on the severity
levels defined for a variable.
Left-clicking one of the corners of the monitor window enables you to resize the
window. Placing the cursor inside the window and clicking <ctrl>+ s saves the modified
size. This is confirmed by the following message.
Chapter 1: snmpget 33
The window appears with the saved properties the next time it is opened.
On left-clicking in the graph, a vertical red line occurs. Moving this line inside the graph
enables you to read the current value ( green graph) as well as average value of the last
N samples ( blue graph), at the specific point of time. The current value and average
value of last N samples are defined in the green and blue colours respectively at the
bottom left corner in the graph.
Displaying the current SNMP variable values
You can check the current values for the SNMP variables by activating the Values button
in the Toolbar. When left-clicking a profile, the current values are be displayed in the
Values column.
34 snmpget Guide
Note the different icons in the Name column in the right windowpane:
Monitor - the colour tells the severity level.
Report – read only.
Counting – some SNMP variables, such as counter32, requires two snapshots to
measure the value. This icon is shown until the second snapshot (after
approximately 5 seconds) is finished, and then the value is displayed in the Value
column.
N/A – not found on the selected Agent.
MIB Management
Management information bases (MIBs) are a collection of definitions, which define the
properties of the managed object within the device to be managed. Every managed
device keeps a database of values for each of the definitions written in the MIB. A MIB is
a kind of as an information warehouse.
The MIB is included in the probe distribution and is stored in the Program
Files/Nimbus/MIBS folder.
Running the MIB Setup Wizard helps you to upload and install MIB files from Internet
and to add/remove MIB files from your local MIB repository.
Note that MIB files uploaded from the Internet may contain errors and/or references to
other MIB files, making them impossible to load at probe start-up.
You launch the MIB Setup Wizard by clicking the Wizard button as shown below.
Chapter 1: snmpget 35
The Welcome dialog appears. Clicking one of the Internet links lets you download and
store MIB files locally on your computer.
36 snmpget Guide
Clicking the Next button takes you to Step 1 of the wizard.
■
Pressing the + button lets you add the MIB files you just downloaded (if any) to your
MIB repository.
■
Pressing the - button lets you remove MIB files from your MIB repository.
Note that you may also select multiple MIB files from a folder (using Windows explorer)
and drag/drop them onto the list in the wizard.
When finished, click the Next button to go to the Finish dialog, where you click the
Finish button to activate your modifications.
Chapter 1: snmpget 37
Bulk Configuration
Clicking this button opens the Bulk Configuration dialog, enabling you to distribute
a set of monitoring parameters to all or a selection of interfaces on all agents or a
selection of agents.
Field
Description
Select Agents
All agents
The configuration parameters are distributed to your monitored agents.
Only active ones
The configuration parameters are distributed to all active agents.
All agents matching
The configuration parameters are distributed to all agents matching your
input in this field (pattern matching).
All agents in the group
The configuration parameters are distributed to all agents in the selected
group.
Selected agent(s)
The configuration parameters are distributed to all agents selected in the
right pane.
Check interval
Here you can specify the time interval (in seconds) between each time the
SNMP agent is checked.
38 snmpget Guide
Field
Description
Severity
Here you can select the severity for messages sent if the agent host does
not respond.
SNMP version
SNMP software version number supported by the monitored device
Authentication (SNMPv3 only)
Type of authentication strategy (none, HMAC-MD5-96 or HMAC-SHA-96)
SNMP Port
The port to be used by the SNMP device. Default is 161.
Timeout
The timeout value in seconds before a new SNMP Get request is sent to
the SNMP agent. The default value is 1 second.
Retries
Select the number attempts to be done before giving up and reporting it
as a failure. An alarm is issued. Default is 5 retries.
Community /password
Specify a password for the profile.
Username (SNMPv3 only)
Specify a username defined on the monitored device.
Delay
The delay between each SNMP Get Request when fetching multiple OIDs
from the SNMP Agent. The default value is none.
Show password
When checked, the entry in the password field is shown as plain text.
Security
Define the security level for the user. Valid levels are NoAuthNoPriv,
AuthNoPriv, and AuthPriv. This field is available only when the SNMP
version is SNMPv3.
Priv. Protocol
It is the privacy protocol for the SNMP. It is not required if the security
level is NoAuthNoPriv or AuthNoPriv. This field is available only when the
SNMP version is SNMPv3.
Priv. PassPhrase
It is the privacy pass phrase. It is not required if the security level is
NoAuthNoPriv or AuthNoPriv. It must be at least eight characters long.
This field is available only when the SNMP version is SNMPv3.
QoS Identification Method
Select one of the QoS identification methods in order to specify the QoS
source.
Security
Define the security level for the user. Valid levels are NoAuthNoPriv,
AuthNoPriv, and AuthPriv. This field is available only when the SNMP
version is SNMPv3.
Message string for agent no response Enter the message string for the notification when the host can not
contact the agent. If you do not specify any message, the default message
is displayed.
Chapter 1: snmpget
5
SNMP Variables ............................................................................................................................................................ 6
The GUI ......................................................................................................................................................................... 7
SNMPget Configuration .............................................................................................................................................. 11
Chapter 1: snmpget 39
Set the General Properties .................................................................................................................................. 11
Configure Agent profiles ..................................................................................................................................... 12
Attach SNMP variables and/or templates ........................................................................................................... 15
Configure the Variable properties....................................................................................................................... 20
Monitoring SNMP variables ................................................................................................................................ 32
Displaying the current SNMP variable values ..................................................................................................... 34
MIB Management ............................................................................................................................................... 35
Bulk Configuration............................................................................................................................................... 38
40 snmpget Guide