SNMPC 7.2: Getting Started
SNMPC 7.2: Getting Started
SNMPc 7.2
October, 2010
Castle Rock
Computing
Castle Rock Computing
12930 Saratoga Ave
Saratoga, CA 95070
USA
Phone: 408-366-6540
FAX: 408-252-2379
Email: [email protected]
WEB: www.castlerock.com
The information in this document is subject to change without notice and should not be construed as a
commitment by Castle Rock Computing. Castle Rock Computing assumes no liability for any errors
that may appear in this document.
The software described in this document is furnished under a license and may be used or copied only in
accordance with the terms of such license. Copyright © 1989-2009 by Castle Rock Computing. All
rights reserved.
SNMPc, SNMPc WorkGroup and SNMPc Enterprise are trademarks of Castle Rock Computing.
Microsoft, MS-DOS, Microsoft Excel, Windows, Windows Vista, Windows 98, Windows ME,
Windows 2000, Windows 2003, Windows XP and Windows NT are registered trademarks of Microsoft
Corporation.
UNIX is a trademark of AT&T.
Pentium is a trademark of Intel Corp.
Apple and Macintosh are registered trademarks of Apple Computer, Inc.
Air Messenger Pro is a trademark of Internet Software Solutions.
i
Using this Document
This document provides a tutorial description of the most commonly used SNMPc features. It is not an
exhaustive reference document and most areas are not completely described. But the examples provide
insight into SNMPc usage and should be enough to get started with SNMPc.
For a complete description of SNMPc, please use the Help/Help Topics menu to show the Online Help
system. The Online Help system includes a high level Table of Contents, as well as an Index and
Keyword Search mechanism. You can also press the F1 key at any time to show Context Sensitive
Help for a currently displayed dialog or for the most recently activated console window.
As of release 5.0.10 this Getting Started manual is the only printed documentation available with
SNMPc. In the interests of saving resources and streamlining our revision procedures, we have forgone
the printing of the Online Help system as a manual.
This document is available in Adobe PDF format at the Products page of www.castlerock.com and in
the SNMPc Help/Getting Started menu.
This document and the SNMPc Help system assume that you have a good working knowledge of
the Simple Network Management Protocol (SNMP). We recommend that you read and understand
one of the many available books that describe SNMP before working with SNMPc.
For continued technical support and downloadable updates you must purchase an Extended Software
Updates license on a yearly basis. Please go to the Sales page at www.castlerock.com for more
information.
For technical support, please go to the Support page at www.castlerock.com. Press “Click Here to
Create a New Account” to register at our HelpDesk system.
After creating your HelpDesk account, log on and click the “Support Tickets” link. Then use the Post
link in the upper right of the page to add a new support ticket.
Once you have created a HelpDesk account you can also send email to [email protected].
Architecture Overview
SNMPc is a general-purpose Distributed Network Manager offering the following benefits over a
standalone product:
• By using Polling and Server components that run on multiple computers, SNMPc can be scaled to
manage very large networks.
• By using multiple Remote Consoles, SNMPc encourages sharing of management information by
many people.
• SNMPc is cost-effective because a collection of components costs less than an equivalent number
of standalone managers.
SNMPc uses the popular SNMP management protocol to poll and configure devices, workstations and
servers over IP networks. Along with all the features expected in any SNMP management station,
SNMPc also includes the following advanced features:
2
SNMPc Product Options
SNMPc includes the two product options described below.
Each SNMPc server can operate with a maximum of ten remote polling agents. For larger networks
you can connect multiple servers together in a Manager of Managers architecture.
The following table shows the differences between the three product options:
3
System Requirements
The following table lists the minimum recommended system requirements.
ICMP (Ping)
ICMP (Ping) mode is used for devices that do not support SNMP but can still be Pinged to see if they
are responding. This may include servers and workstations.
Since SNMP V1 and V2c are the most common and simplest SNMP protocols, this guide will only
show you how to use these protocols.
SNMP V3
SNMP V3 is a secure SNMP Agent protocol that supports authentication and privacy (encryption). The
use of SNMP V3 is considered an advanced topic. As such, this guide does not describe V3 in any
detail. For more information about using V3, please use the Help/Help Topics menu and search for
Setting Device Access Modes in the Index.
4
Installing the SNMPc Server and Local Console
To install the Air Messenger Pro paging application, use the Windows Start/Programs/SNMPc
Network Manager/Install Air Messenger Pro menu. Follow the installation instructions.
After you have installed Air Messenger Pro you can configure SNMPc to notify your pager when an
event occurs. Please refer to the Emailing or Paging the Administrator on an Event section in this
guide for further instructions.
5
Starting the SNMPc Server and Local Console
Go to the Windows Start menu and use the Programs/SNMPc Network Manager/Login Console
menu. At the login prompt, enter localhost as the Server Address. Enter the username and password
and press OK. Initially there is only one user named Administrator with no password.
Go to the Windows Start menu and use the Programs/SNMPc Network Manager/Shutdown System
menu to stop the SNMPc Server system tasks. Use the Windows Start Programs/SNMPc Network
Manager/Startup System menu to restart the SNMPc Server system tasks. Note that any running
console sessions will be logged off and you will need to exit the console applications separately.
To disable automatic startup of the SNMPc Server system tasks, go to the Windows Start menu and use
the Programs/SNMPc Network Manager/Configure Tasks menu. Disable the Auto Startup check box
and press the Done button.
6
Using Console Elements
The following diagram and table below show the main elements of the SNMPc console.
ELEMENT FUNCTION
Main Button Bar Buttons and controls to execute common commands quickly
Edit Button Bar Buttons to quickly insert map elements
Selection Tool Tabbed control for selection of objects within different SNMPc functional
modules
Event Log Tool Tabbed control for display of filtered event log entries
View Window Area Map View, Mib Tables, and Mib Graph windows are shown here.
7
Console Button Commands
The following diagram shows the function of each button in the Main Button Bar and Edit Button Bar.
Each of these buttons has a corresponding main menu item.
Selection Tool
If you can’t see the selection tool, use the View/Selection Tool menu to show it. Use the Selection Tool
to manipulate objects from one of several databases. Use the drag control at the right of the Selection
Tool to change its size. Select one of the Selection Tool tabs to display a tree control for the database.
Use the right-click menu inside a selection tree for database-specific commands.
The Event Log Tool displays different filtered views of the SNMPc event log. If you can’t see the
Event Log Tool, use the View/Event Log Tool menu to show it.
• Select the Current tab to show unacknowledged (current) events. These events have a colored box
at the left side of the log entry. The color of map objects is determined by the highest priority
unacknowledged event for that object.
• Select the History tab to show all events, including acknowledged and unacknowledged events.
• Select one of the Custom tabs and use the right-click Filter View menu to specify what events
should be displayed for that tab.
• Double-click an event entry to display a Map View window with the corresponding device icon
visible.
• To quickly view events for a particular device, first select the device and then use one of the View
Events buttons (or the View/Active Events and View/History Events menus). This will show the
device events in a separate window in the View Windows area.
• To remove one or more events, select the events and press the Delete key.
• To acknowledge (remove current status of) an event, select the event and use the right-click
Acknowledge menu.
• To completely clear the event log, use the File/Clear Events menu.
The View Window Area is the main interface for viewing the SNMPc map and command results. This
area uses the Multi-Document-Interface (MDI) specification to display multiple windows at the same
time.
Use the Window/Cascade and Window/Tile menus to rearrange the windows in the View Window Area
in a way that makes them all visible.
• A Maximized window uses the entire area and hides any other windows behind it. If you close a
maximized window, the next top-most window will still be displayed in the maximized state. You
need to be careful when using maximized windows because it is easy to lose track of how many
windows you have opened and there is an upper limit. Use the Windows menu to see a list of
windows. Use the Windows/Cascade menu to view all windows at the same time.
• An Overlapped window does not take up the entire area. One window will be completely visible
and other windows are partially hidden behind it. This is the most common situation for the View
Window area because it lets you view maps, tables and graphs at the same time and quickly move
between them.
• A Minimized window is displayed as a small title bar with window open/close buttons. Windows
are not typically minimized within the View Window Area because, as with the maximized case,
they can easily be lost behind other windows.
9
Working with the Map Database
Locate the Selection Tool on the right side of the console. If you can’t see the Selection Tool, use the
View/Selection Tool menu to show it. Select the first tab marked Map. The displayed Map Selection
tree shows all icon objects in the map. This includes subnets (which contain lower map levels),
devices, and goto icons. Networks and links are not shown in the map selection tree.
Each icon in the Map Selection Tree is colored according to the status of the represented object. Subnet
icons (and the top level Root Subnet icon) show the highest priority color of all underlying objects.
10
Using Map View Windows
Map View windows are regular overlapping windows that are displayed in the View Window Area of
SNMPc. This is the main area where you can see the map topology as a diagram and easily manipulate
the map objects (add, delete, move). Note that the View Window Area shows multiple windows and if
the topmost window is Maximized (takes up the entire area) then any other windows will be hidden.
Use the Windows/Cascade menu to show all windows within the View Window Area.
• Use the View/Map View/Root Submap menu to show the top level of the SNMPc map.
• Double-Click on any subnet name in the Map Selection Tree or subnet icon in a map view to show
a map view for that subnet.
• To easily move the map view, Right-Click anywhere on the view and drag the mouse to move the
view contents. You can also use the scroll bars, but this is not as easy.
• Use the Zoom Buttons to see more or less of the map view. Use the Pan/Zoom button to zoom
into a selected rectangle (left click and drag the rectangle). Use the 1:1 button to set the normal
zoom mode (icon and name visible). Use the Zoom +/- buttons to manually zoom.
• Use the View All button to toggle the View All state for a selected map view. In this state, the view
contents are automatically zoomed so that all icons are visible. As you change the size of the view
window, the contents will change size. As the icon sizes get smaller, the icon image is hidden and
then the name is hidden. If your top-level map is large and the View All state is enabled (default)
you may only see small icons. Use the manual Zoom buttons to zoom in to an area of the map
view.
• Use the Previous View and Next View buttons to move back and forth between different zoom
levels you have selected.
11
Moving Map Objects
SNMPc normally uses a discovery process to add subnets, devices, links, and networks in a logical
topology that represents a two-level IP Subnet hierarchy. The top level includes all router devices and
subnet icons. The second layer includes single-port devices linked to Bus Networks under the
appropriate subnet icons. The top level map is automatically arranged as a star network.
Map objects are placed on the nearest Map Grid Point when you move them. Use the Config/Console
Options menu and select the Show Grid check box to show map grid points. Set the grid size in the
Grid Spacing edit box.
To move objects at the top level just select one or more objects in a map view and drag the mouse. The
selected objects are moved to the new mouse location. The following two map views show an
automatically (left) and manually (right) arranged Root Submap level:
12
To Move Objects Inside Subnet Levels
Single port devices are added to the second map layer, below top-level subnet icons. Each subnet layer
will also include a Bus Network that all devices are attached to. You can move devices around the Bus
Network by selecting them and dragging them to the new position. However, the Bus Network is
automatically arranged and the object will only be approximately placed where you dragged it.
If you need to positively rearrange the lower levels then it’s best to change the network from a Bus to a
regular Network. This network will not be automatically arranged and you can move icons anywhere in
the view, as well as change the network shape with the use of Junction Points. You can click and drag
any junction point or network segment, and add or remove junction points by double clicking on the
network.
You can also disconnect objects from the Bus Network by deleting the attaching link. Then the
detached object can be moved anywhere in the view. The following two map views show a subnet level
that is automatically arranged (left) and manually arranged using a regular Network (right):
Note that any links will be deleted if you just move the attached objects. To move a network and all
attached links and objects you must select all of the items. You can also use the Edit/Copy or Cut
menus along with the Edit/Paste menu to move objects (or create copies) but these menus will not
move link or network objects and the moved objects will not retain their relative positions.
13
Changing Object Properties
14
The following table describes the access parameters available in the Object Properties Access tab for
Device, Link, and Network objects. Access parameters are not valid for Subnet and Goto object types.
15
The following table lists each available attribute in the Object Properties Attributes tab, the object types
it is valid for, and a description of the attribute.
16
Adding Map Objects
SNMPc supports several object types, including subnets, devices, links, and networks. To add objects,
first open a map view window and then use one of the Insert/Map Object menus or the Edit Button Bar
buttons. After adding icon objects, you need to move them to the desired location. If you can’t see the
new object, use the View All button. The following table describes the different object types:
TYPE DESCRIPTION
Subnet A Subnet icon contains other map layers, possibly including other subnets.
• Double-click on a subnet icon to open a view window for the next layer down.
• Use the Parent Window button to go up one layer to the parent subnet view.
• Use the Root Subnet button to open the top map level view.
Device A Device icon represents a polled device, including SNMP and Ping polled devices.
• When adding a device object, you need to set the device Address in the displayed
Properties dialog box. You can append an optional UDP port to the address as
x.x.x.Port.
• Then select the Access tab and set the Read Access Mode and Read/Write Access
Mode parameters. Use ICMP (Ping) for non-SNMP devices (or NONE where you
only want to poll TCP services), and use SNMP V1 for regular SNMP devices. For
SNMP V1 devices, you must also set the Read Community and Read/Write
Community parameters to valid community names.
• Finally, select the Attributes tab and set appropriate values for the Poll Interval, Poll
Timeout, and Poll Retries attributes.
Link A link object is a line between two icon objects (subnet, device, goto). Link objects can be
polled so you can optionally set an IP Address and Access/Polling attributes as with the
Device Object. However, by default link the Poll Interval for links is set to zero so it is not
polled. To add one or more link objects, first select two or more device objects and
optionally a single subnet or network object, then press the Add Link button from the Edit
Button Bar.
Network There are several types of Network objects which have different layout styles.
• A Bus Network automatically arranges the network and attached links/icons in a bus
configuration.
• A Ring Network automatically arranges the attached objects in a ring.
• A regular Network object can be manually shaped. Double-click on a Regular
Network object to create a junction point. Double-click on an existing junction point
to remove it. Click on a junction object or network segment and drag it to move it in
the map view.
• Network objects can also be polled but the Poll Interval is set to zero (non-polled) by
default.
Use one of the Add Network buttons from the Edit Button Bar to add a network. If you
first select several icon objects, SNMPc will also add links between the icons and the new
network.
Goto A Goto object is like a subnet in that you can double-click on it to open a new map view
window. However, a Goto object displays the map subnet that is named in the Address
field. To make a Goto that opens the Root Submap, leave the Address field blank.
17
Viewing Device Mib Data
Select one or more SNMP devices objects and use the Manage or Right-Click menus to display
common SNMP MIB tables in several formats. Note that not all devices implement all tables in these
menus so in some cases the menus will fail to show a result. It’s up to you to determine if the table
specified in the menu is supported.
Manage menus are actually built-in custom menus from an external configuration file. You can also
add custom menus to display particular tables. For example, if you have only a few device types in
your network you probably should add custom menus to display the vendor specific tables for those
devices. You can then display Mib information using the Right-Click menus instead of searching for
Mib tables in the Mib Selection Tree. For more information about custom menus, select the Menu tab
of the Selection Tool and press the F1 key.
18
Table Display Elements
The following diagram shows a sample table display and describes the function of table controls.
Search
Switch Axis
Short Names
Pause Polling
Edit Controls
• To start a graph display, first select one or more cells (rows, columns, or individual cells), then use
the Show Graph button.
• To change a table cell and do a Set Operation to the device, first locate settable cells (those
displayed in blue). Double-click the cell to move into the Edit Mode. Enter the new value directly
into the cell (or select from the pull-down if it is displayed). Then press the Check Edit Control
button. To cancel a Set operation in progress, press the Cross Edit Control button.
The following diagram shows a sample graph display and the function of graph controls.
Restart Graph
Pause Graph
Save to File
Graph Style
Poll Interval
Vertical Scale
Paging Controls
View Area
Restart Graph
19
Graph Styles
The following diagram shows sample displays of the four graph styles: Line, Bar, Distribution, and
Pie. Note that the Bar and Pie show Average values.
• Drag the bar at the top of the Legend Control to make the control bigger or smaller.
• Double-click the check mark at the left to enable or disable of a variable.
• Use the Right-Click Properties menu to set line properties and scaling for a variable.
• Double-Click on the Graph View area to show or hide the Legend Control.
20
Saving Long Term Statistics
SNMPc Trend Reports save long term statistics for any SNMP table and also SNMPc Service Polling
pseudo-tables. Each report saves data for one table and up to ten devices. You can set manual
threshold alarms for any variable instance to generate an event when a variable reaches a specific value.
Data is saved in a private format database at one or more polling agent systems. Data can be
downloaded and viewed in a regular graph window for a specified date period.
For the Enterprise Edition only, SNMPc also exports trend report data automatically to printers, text
files, WEB HTML files, and an ODBC database. Exported reports can be generated on an hourly,
daily, weekly, and monthly basis.
• First select one or more device objects using the Map Selection Tree or a Map View window.
• Locate the Selection Tool at the left of the console. If you can’t see the Selection Tool, use the
View/Selection Tool menu to show it.
• Select the Trend tab and open the SNMPc Trend Reports group name.
• Use the Right-Click Insert Report menu to add a new report.
• Enter a name for the new report.
• Select one of the built-in table names from the Mib Table pull-down. You can also press the >>
button to select any standard or private Mib table.
• For initial test purposes, set the Poll Interval to 1 minute. We recommend that you use a 10 minute
poll interval if you have several reports.
• Press OK to save the report using standard settings.
21
Viewing Trend Data in a Graph Window
Irrespective of the report poll interval, all Counter variables shown in a trend report graph window are
normalized to per-second values.
The SNMPc Enterprise Edition only can automatically export trend report data to a variety of targets.
The most common export target is to HTML format files that can be viewed remotely using a WEB
browser.
• Use the Config/Trend Reports menu. • Press the Trend tab in the Selection Tool.
• Set the Web Directory edit box to the • Right-click on the report name and use the
name of a directory that can be accessed Properties menu.
by both SNMPc and your WEB server. • Select the Export Destinations tab.
• SNMPc WEB reports will be exported to • Make sure that To WEB Server is checked.
a subdirectory named TrendReports and • Check the Hourly Schedule checkbox.
the main HTML file is named • Press Ok.
reportGroups.html.
22
The WEB report will be exported on the hour for the previous hour’s worth of data. Wait for several
hours and then use the Tools/WEB Reports menu to view the WEB reports in a WEB browser. The
following is a sample SNMPc hourly WEB report. Note that all vertical (Y) scales are normalized to
per-second values.
The polling agent normally polls all available instances for each variable in a trend report table. To
limit polled instances, select the report name in the Trend Selection Tree and use the Right-Click
Properties menu, then use the Instances button.
23
Setting Threshold Alarms
You can generate a Threshold Alarm when a polled SNMP variable value meets certain criteria.
SNMPc supports three distinct mechanisms for generating Threshold Alarms as described in the
following table.
Note: For variables that have a textual instance part, you can use the form statusVar.”text instance”
rather than full SNMP dot notation.
24
Configuring Automatic Alarms
Use the Config/Trend Reports menu and select the Automatic Alarms tab. You can set various
parameters of the automatic alarm algorithm in this dialog. Generally the default settings are adequate
and the main thing you might want to do is disable automatic alarms by unchecking the Enable
Automatic Alarms checkbox.
You must first create a trend report for a set of devices and an SNMP Mib Table. Please refer to the
earlier section, Saving Long Term Statistics for a description of creating trend reports.
Select the report name in the Trend Selection Tree and use the Right-Click Properties menu, then use
the Instances button.
25
Polling Application Services
SNMPc supports customized polling of any TCP application service, simplified polling of four built-in
TCP application services (FTP, SMTP, WEB, and TELNET), and external polling of non-TCP services
by custom applications. This section describes how to poll TCP services. For more information about
external program polling, please use the Help/Help Topics menu, open the Customizing SNMPc link
and then open the Developing Service Polling Applications link.
• You can optionally send a text string to a TCP service and compare the reply to a text pattern.
• Each map object can poll up to 16 different Custom Services.
• There is no limit on the total number of Custom Service definitions that can be created.
• You can optionally run an external custom application to poll the service.
Double-click the Service Polling attribute, or use the “>>” button, to edit Custom service definitions.
The Poll Services dialog is displayed.
26
Use the controls in the upper Polled Services for this Object section to manage polling for the selected
device.
After adding a new service definition, you need to press the Add>> button if you want this service to be
polled for the currently selected device.
Note that service names prepended by an asterisk are built-in and cannot be changed or deleted. These
services are *Ftp, *Telnet, *Smtp, and *Web. These services use a simplified connect-only form of
polling.
27
Emailing or Paging the Administrator on an Event
This section shows you how to dial a pager or send email to the SNMPc Administrator user when a
selection of devices goes down.
28
Step 4: Add an Event Filter for the pollDeviceDown event
29
Step 6: Set the Email/Page event actions
30
Using Other Event Types
We have used the pollDeviceDown event as an example for this section. The mechanism is the same
for other types of events, including those generated for Status Variable and Manual Threshold Alarms.
The following table shows common SNMPc events and when they occur.
Note 1: A poll sequence occurs repeatedly every Poll Interval seconds. During each poll sequence, a
poll is sent and a reply expected within the Poll Timeout period. If no response is received during the
timeout period, the poll is sent again immediately (retried). Up to Poll Retries attempts will be made
during a single poll sequence. If the retries all fail then the poll sequence fails. The Poll Interval must
then elapse before another poll sequence is attempted.
31
Emailing or Paging Multiple Users
This section shows how to email or page two users when a selection of devices goes down. Please read
and understand the previous section before reading this one.
In the Match tab of the Add Event Filter dialog, make sure that you match different devices than those
used in the previous section (emailing the Administrator). Otherwise, this new filter will not be unique
and it will not match any incoming events.
Don’t forget to set the Auto-Clears flags for any matching events.
32
Troubleshooting Network Discovery
During the SNMPc Server installation you entered the address, netmask, and community name for one
SNMP V1 discovery seed device. This is normally enough information to discover most of your
network. When you first start SNMPc it will take several minutes for discovery to start adding objects
to the map. Use the Root Subnet button to display the top-level map view.
If you used the Disable Discovery on Startup option of the installation, discovery will not be running
when you first start SNMPc. In this case, you need to set discovery filters before proceeding. Please
refer to the Limiting Discovery section below before reading this section.
Discovery creates a two-level IP Subnet based topology. At the top-level, discovery adds any multi-
port devices (routers) and subnet icons for each IP Subnet. Link objects are added between each router
and the subnets it is connected to. The map is automatically arranged in a star configuration.
All single-port SNMP devices and ICMP (Ping) devices are added to the second level under each
subnet icon, based on the device IP address and subnet mask. A single Bus Network is added to each
subnet level, and all devices in the subnet are linked to this network.
Use the Root Subnet button to display the top-level map view. You should see a mixture of SNMP
device icons and subnet icons, connected by links in a star configuration. Double-click on one of the
subnet icons. You should see a Bus Network with devices linked to it in a grid configuration.
The following diagram shows a sample top-level and subnet map view for a small network. Note that
some devices have vendor-specific icons while others have generic icons. Each generic device icon is
marked as SNMP or ICMP (Ping), which is important in determining discovery problems.
33
Failure Symptoms and Solutions
The discovery agent uses a heuristic algorithm to find network devices. That means it is somewhat
non-deterministic and will show different results from one run to another. There are many reasons for
this, including lost broadcast responses (buffer overflows, collisions), lost polls, slow responses, etc.
This is completely normal. However, there are some permanent failure cases that you can resolve. The
following symptoms are typical of a discovery failure:
1. Nothing added to the map (after a suitable wait period of several minutes).
2. Top-level map only or mostly contains subnet icons, with no links.
3. Some or all SNMP devices are added to lower level subnets as Ping icons.
4. Not all expected network devices are discovered.
SNMPc uses TCP/IP to communicate between different components. This can conflict with other
software running on your system. Look for any other management applications or Windows services
and stop them (e.g., Windows SNMP Trap Service). Try installing on a different system that has less
software installed to help identify the conflicting software. This is a rare failure case.
34
SNMP Device Access Control List
Many SNMP devices have an Access Control List (ACL). An ACL is a list of IP addresses from which
the device accepts SNMP requests. This is a vendor-specific security feature that is configured at the
device using a terminal or Telnet session. At a minimum, you need to go to each Discovery Seed
device and check if it has an ACL and that your SNMPc system address is in the list. For complete
network discovery you must add your system address to any ACLs in your network.
To get around this problem you can enable sequential polling of every possible address within a
discovered subnet. Use the Config/Discovery-Polling menu and select the Ping Scan Subnets
checkbox then press the Restart button.
Note that SNMPc will not poll ranges that you specify but only discovered subnets. To discover more
subnets, add more seeds as described in the previous section.
35
Limiting the Scope of Discovery
If you have a large network but you only want to manage a small part of it, you need to set discovery
address range filters. Discovery filters only specify what should be included. So if you set any
discovery filters you must set enough of them to cover any address ranges you want to discover.
Address range filters are in dot notation with optional wild-card asterisk characters and numeric range
specifiers. Unless the last element is an asterisk, there must be four dot-separated elements. The
following are some valid examples:
207.*
207.212.33.*
207.200-211.*
198.*.*.22-88
Left unattended, discovery will constantly rearrange your top-level map as new devices are added. This
is undesirable if you want to manually change the map layout. To control discovery layout, use the
Config/Discovery-Polling menu and do one of the following:
36
Using a Remote Console
The Remote Console can be used with the Enterprise Edition only.
Once you have accustomed yourself to using SNMPc Enterprise in a standalone configuration, the first
level of extension is to login from a remote workstation. You can login from any workstation that is
running TCP/IP and is connected to your network in some way (e.g., over the Internet, leased line,
LAN, etc.). However, the SNMPc Enterprise console has fairly heavy bandwidth requirements and will
not perform adequately on low-speed dial-up lines. We recommend that you only login remotely over
LAN or T1 speed lines.
Perform the following steps to install an SNMPc Enterprise Remote Console on a computer.
• From the Windows Start menu, select Run and enter d:\setup.exe (replace d with the drive letter for
your CD-ROM drive). Press OK.
• The setup program will proceed to install the SNMPc Enterprise Remote Console on your system.
Once the installation is complete you can login to a running SNMPc Enterprise server. From the
Windows Start menu, select the Programs/SNMPc Network Manager/Login Console menu.
Enter the IP Address of the server computer and press OK. You are now logged in to the server
and can perform any console operations remotely
The base Enterprise Edition supports a maximum of ten Windows Consoles. In order to run more than
ten Windows Consoles, you must purchase the Remote Access Extension license key option. Once you
have this license key, use the Config/Software Keys menu and add the key in the provided edit box.
37
Using the JAVA Console
1. You must run the SNMPc Server under Windows Vista, NT, XP, 2000 or 2003.
2. The SNMPc JAVA Console was compiled using JAVA version 1.5.0. You should install this, or a
more recent, version of the JAVA runtime on the remote client before trying to run the console
applet.
3. You must run a WEB Server on the SNMPc Enterprise server system. This is not included with
SNMPc.
Perform the following steps to install and use the JAVA Console:
Step 1: Install and enable a WEB Server application (not included with SNMPc).
Step 2: Create a directory for the JAVA Console components that is accessible to your WEB Server.
Step 3: Copy the following JAVA Console components to the directory created in step 2 above:
<snmpc>\java\crc.jar
<snmpc>\java\default.html
<snmpc>\java\manual
where <snmpc> is the SNMPc installation directory. Manual is a directory and contains all of the
online documentation in HTML format.
Step 4: Using a WEB Browser from any system, enter the URL for the SNMPc JAVA Console startup
page as follows:
http://a.b.c.d/snmpcjavadir/default.html
where a.b.c.d is the IP address of the SNMPc server system and snmpcjavadir is the directory where
you placed the JAVA Console components. The JAVA Console will be executed inside the WEB
browser.
38
The JAVA Console provides limited functionality and is read-only. It is designed for occasional use or
for snmpc access over low-speed lines. Once you are running the JAVA Console Help menu to learn
about using the JAVA user interface.
You can limit the addresses that are allowed to connect to SNMPc by editing the SNMPc.ini file. The
SNMPc.ini file is located in the directory that SNMPc was installed to. Add the following line to the
[Server] section:
AcceptAddrs=a.b.c.d,aa.bb.cc.dd,...
where "a.b.c.d" and "aa.bb.cc.dd" are acceptable client addresses. You may add as many addresses as
you like separated by commas. These must be IP Addresses. Domain names are not acceptable.
39
Installing Remote Polling Agents
The Remote Polling Agent can be used with the Enterprise Edition only. Note that the evaluation
version installs the Enterprise Edition.
You can add a Remote Polling Agent to another computer on your network. This computer could be on
the same LAN or in another city. Unlike the Remote Console computer, you can add a Polling Agent
on the other side of a low-speed line because it does not have high bandwidth requirements.
Adding one or more remote Polling Agents solves the following problems:
• A polling agent on the other side of a slow or expensive line can poll devices independently,
notifying you only when a change occurs. This saves money and frees up the line for other uses.
• If you have many devices in your network, or if you want to poll many devices for long-term
statistics, your server computer may become overburdened and response times will decrease.
Using a remote Polling Agent offloads the polling tasks from the server computer.
• Remote Polling Agents residing on privately addressed networks (i.e., 10. addresses) allow polling
of devices that are not normally accessible from public networks and which may have duplicate
addresses.
• Automatic discovery of a large network can present an unwieldy top level map. Remote Polling
agents resolve this issue by creating a new top-level submap icon for each Polling Agent region.
Perform the following steps to install an SNMPc Enterprise Remote Polling Agent:
Each Enterprise Edition server supports a maximum of ten Remote Polling Agents. For larger
networks you can connect multiple servers together in a Manager of Managers architecture.
The configuration and use of Remote Polling Agents is an advanced topic that is beyond the scope of
this document. For information on configuring and using Remote Polling Agents, use the
Config/Discovery-Polling menu and press the Help button. Read the link named Managing
Multiple Discovery Agents.
40
Adding a Redundant Backup Server
Backup Server functionality is available with the Enterprise Edition only. Note that the evaluation
version installs the Enterprise Edition.
By using two SNMPc servers with one designated as a Primary and the other as Backup server you can
continue monitoring your network if the Primary system is disabled for any reason. The Primary
SNMPc server will automatically export its configuration files to the Backup server on a scheduled
basis. It’s important to do this automatically so that the Backup server is always up to date.
When the Backup server detects a failure of the Primary server it will take over all polling of the
network, including instructing any remote polling agents to reconnect to the Backup server.
The following preconditions must exist before configuring the redundant backup server functionality:
• The password for the Administrator and Remote Poller users must be the same on both systems.
• There must be an available communication path between both systems and from each system to
any remote polling agents you are using.
The backup server takes over polling of all map devices by automatically setting the This system is
currently polling map objects checkbox on. Once you have resolved the problem at the primary
Server, disable this checkbox at the backup system to revert to the normal state.
Use the Primary Server Address and Backup Server Address edit boxes to set the IP address, in dot
notation, of the corresponding server systems. These settings must be the same on both systems.
Use the Test Interval and Test Retries edit boxes to set the time between checks of the primary server
by the backup server and how many times to retry before taking over polling.
41
Other SNMPc Features
This document has only described some of the most commonly used SNMPc features. SNMPc is a full-
featured distributed network management system that will meet your most demanding needs. These are
some of the other features that you will find described in the Online Help system.
There are several options for buying SNMPc, including online electronic delivery and purchase from
one of our resellers. For complete pricing and purchasing information please go to the Sales page of
www.castlerock.com.
For a detailed comparison of the three SNMPc product options, please go to the Product Options link
on the Products page of www.castlerock.com.
If you want to buy SNMPc after using the evaluation version, there is no need to reinstall any software
components. The evaluation version you downloaded from the WEB includes the latest updates and
may be newer than the CDROM you receive. To upgrade your evaluation copy, just enter your
purchased license keys at the Welcome dialog when you start the SNMPc Server.
42
Appendix A – Event Message/Exec Parameters
Use Event Parameters in Event Action Filters to substitute information related to a specific event.
Event Parameters can be used in the Event Message and as arguments to a program in the Exec
Program action. The available Event Parameters are described in the following table.
PARAMETER EXPANSION
$$ The dollar ($) symbol
$V Event message text (for Exec Program action).
$W Console frame window number.
$L License sequence number for ODBC node ID export.
$l Log entry record number (can only be used for run program action, not in message)
$M Server IP Address.
$R Address of sending entity (could be the same as the target device, or Polling Agent)
$F Event Action Filter name.
$f Event Action Filter database record number.
$O Trap Name as a textual string.
$o Trap Object Identifier in dot format.
$P Device parent submap name.
$A Address of target device (device that the event is about)
$T Trap Community Name.
$x Date the event occurred, in local format at server.
$X Time the event occurred, in time zone of server.
$@ Time the event occurred, in seconds since Jan 1, 1970.
$U Value of sysUpTime in the event trap.
$N The map object name of the target device.
$B The map object MAC address of the target device
$D The map object description of the target device
$h The map object group number of the target device
$H The map object group name of the target device
$i The map database record number of the target device.
$G The Read Community name of the target device
$S The Set Community name of the target device.
$E The timeout attribute, in seconds, of the target device
$Y The max retries for the target device
$C The number of variables in the event trap.
$z The priority number of the associated log event.
$Z The priority name of the associated log event.
$* All variables as "[seq] name (type): value".
$-n The nth variable as "name (type): value"
$+n The nth variable as "name: value".
$n The nth variable as “value”
$>n All variables from the nth as "value".
$>-n All variables from the nth as "[seq] name (type): value.
$>+n All variables from the nth as "name: value.
43
44