Netcool Probe
Netcool Probe
Netcool Probe
v7
Contents
Preface ...................................................................................... 1
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
About the Netcool/OMNIbus v7 Probe and Gateway Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Associated Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Netcool®/OMNIbus™ Installation and Deployment Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Online Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Typographical Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Note, Tip, and Warning Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Syntax and Example Subheadings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
API Probes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
CORBA Probes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Miscellaneous Probes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Probe Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Executable File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Properties File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Rules File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Probe Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Creating a Unique Identifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Deduplication with Probes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Probe Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Store and Forward Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Secure Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Peer-to-Peer Failover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Using Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Comparison Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Logical Operators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Existence Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
String Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Math Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Date and Time Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Details Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Service Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Nested IF Statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Regular Expression Match . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Numeric Comparisons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Simple Numeric Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Unidirectional Gateways . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Bidirectional Gateways. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Gateway Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Gateway Configuration File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Reader Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Writer Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Route Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Mapping Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Filter Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Running a Gateway. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Running a Gateway on UNIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Gateway Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Store and Forward Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Secure Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Gateway Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Other Gateway Writers and Failback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Conversion Table Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Adding a Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Updating a Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Deleting a Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
SHOW READERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
TRANSFER. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
What to Do If . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
This guide describes how to configure and use probes and gateways.
It contains introductory and reference information about probes, including probe rules file syntax,
properties and command line options, error messages, and troubleshooting techniques.
It also contains introductory and reference information about gateways, including gateway commands,
command line options, and error messages.
For more information about specific probes and gateways, refer to the documentation available for each
probe and gateway on the Micromuse Support Site.
• Audience on page 2
• About the Netcool/OMNIbus v7 Probe and Gateway Guide on page 3
• Associated Publications on page 4
• Typographical Notation on page 5
• Operating System Considerations on page 8
Audience
This guide is intended for both users and administrators, and provides detailed cross-platform information
about functions and capabilities. In addition, it is designed to be used as a reference guide to assist you in
designing and configuring your environment.
Probes and gateways are part of Netcool/OMNIbus, and it is assumed that you understand how
Netcool/OMNIbus works. For more information, refer to the publications described in Associated
Publications on page 4.
• Chapter 1: Introduction to Probes on page 9 introduces probes, their key features, and how to use
them. It also describes the types of probes, their architecture and components, and how to run them.
• Chapter 2: Probe Rules File Syntax on page 27 describes rules file syntax. The rules file defines how the
probe should process event data to create a meaningful Netcool/OMNIbus alert.
• Chapter 3: Probe Properties and Command Line Options on page 59 describes the properties and
command line options common to all probes and TSMs.
• Chapter 4: Introduction to Gateways on page 69 introduces gateways, their key features, and how to
use them. It also describes the types of gateways, their architecture and components, and how to run
them.
• Chapter 5: Gateway Commands and Command Line Options on page 95 describes the command line
options for nco_gate. It also describes gateway commands that are common to all gateways.
• Appendix A: Regular Expressions on page 119 contains information about how to use regular
expressions.
• Appendix B: ObjectServer Tables on page 123 contains ObjectServer database table information. It
describes the tables in the alerts and service databases and ObjectServer data types.
• Appendix C: Probe Error Messages and Troubleshooting Techniques on page 137 lists all of the messages
that are common to all probes, including ProbeWatch and TSMWatch messages. It also includes
troubleshooting information for probes.
• Appendix D: Gateway Error Messages on page 155 lists gateway error messages.
Associated Publications
To use probes and gateways, you must possess an understanding of the Netcool/OMNIbus technology. This
section provides a description of the documentation that accompanies Netcool/OMNIbus.
Online Help
Netcool/OMNIbus GUIs contain context-sensitive online help with index and search capabilities.
Typographical Notation
Table 1 shows the typographical notation and conventions used to describe commands, SQL syntax, and
graphical user interface (GUI) features. This notation is used throughout this book and other Netcool®
publications.
Example Description
• Screen representations
• Source code
• Object names
• Program names
• SQL syntax elements
Italicized monospace text indicates a variable that the user must populate. For example, -password
password.
Bold The following application characteristics are described in a bold font style:
• Buttons
• Frames
• Text fields
• Menu entries
A bold arrow symbol indicates a menu entry selection. For example, File→Save.
• Emphasized text
Example Description
[1] Code or command examples are occasionally prefixed with a line number in square brackets. For
example:
{ a | b } In SQL syntax notation, curly brackets enclose two or more required alternative choices, separated by
vertical bars.
[ ] In SQL syntax notation, square brackets indicate an optional element or clause. Multiple elements or
clauses are separated by vertical bars.
| In SQL syntax notation, vertical bars separate two or more alternative syntax elements.
... In SQL syntax notation, ellipses indicate that the preceding element can be repeated. The repetition is
unlimited unless otherwise indicated.
,... In SQL syntax notation, ellipses preceded by a comma indicate that the preceding element can be
repeated, with each repeated element separated from the last by a comma. The repetition is unlimited
unless otherwise indicated.
( ) In SQL syntax notation, parentheses appearing within the statement syntax are part of the syntax and
should be typed as shown unless otherwise indicated.
Many Netcool commands have one or more command line options that can be specified following a hyphen
(-).
• A string can contain alphanumeric characters. If the string has spaces in it, enclose it in quotation
(") marks.
• An integer must contain a positive whole number or zero (0).
• A BOOLEAN must be set to TRUE or FALSE.
SQL keywords are not case-sensitive, and may appear in uppercase, lowercase, or mixed case. Names of
ObjectServer objects and identifiers are case-sensitive.
Note: Note is used for extra information about the feature or operation that is being described. Essentially,
this is for extra data that is important but not vital to the user.
Tip: Tip is used for additional information that might be useful for the user. For example, when describing
an installation process, there might be a shortcut that could be used instead of following the standard
installation instructions.
Warning: Warning is used for highlighting vital instructions, cautions, or critical information. Pay close
! attention to warnings, as they contain information that is vital to the successful use of our products.
Syntax
Syntax subheadings contain examples of ObjectServer SQL syntax commands and their usage. For example:
CREATE DATABASE database_name;
Example
Example subheadings describe typical or generic scenarios, or samples of code. For example:
[1] <body>
[2] <img src="ChartView?template=barchart&format=PNG
[3] &request=image&chart=quote&width=800&height=400" border="0" height="400"
[4] width="800" alt="Events by Severity"
[5] >
[6] </body>
Unless otherwise specified, command files are located in the $OMNIHOME/bin directory, where
$OMNIHOME is the UNIX environment variable that contains the path to the Netcool/OMNIbus home
directory.
On Microsoft Windows platforms, replace $OMNIHOME with %OMNIHOME% and the forward slash (/)
with a backward slash (\).
This chapter introduces probes, their key features, and how to use them. It also describes the types of probes,
their architecture and components, and how to run them.
For descriptions of common properties and command line options, see Chapter 3: Probe Properties and
Command Line Options on page 59.
For information about using probe rules file syntax to define how the probe should process event data, see
Rules File on page 16 and Chapter 2: Probe Rules File Syntax on page 27.
For descriptions of probe error messages and troubleshooting hints, see Appendix C: Probe Error Messages
and Troubleshooting Techniques on page 137.
For more information about specific probes, see Using a Specific Probe on page 22 and the individual guides
available for each probe on the Micromuse Support Site.
ObjectServer
Probe
NCOMS
Gateway
RDBMS
Raw Data
snmp-trap
"" sequ
ence I 4305
Event data is generated by
recei Probe
the probe target.
ve-time U Target
Figure 1: Event Processing in Netcool/OMNIbus
Probes can acquire data from any stable data source. These sources are described in Types of Probes on
page 11.
• Device
• Log file
• Database
• API
• CORBA
• Miscellaneous
Tip: The probe type is determined by the method in which the probe detects events. For example, the Probe
for Agile ATM Switch Management detects events produced by a device (an ATM switch), but it acquires
events from a log file, not directly from the switch. Therefore, this probe is classed as a log file probe and
not a device probe.
Device Probes
A device probe acquires events by connecting to a remote device, such as an ATM switch.
Device probes often run on a separate machine to the one they are probing and connect to the target
machine through a network link, modem, or physical cable. Some device probes can use more than one
method to connect to the target machine.
Once connected to the target machine, the probe detects events and forwards them to the ObjectServer.
Some device probes are passive, waiting to detect an event before forwarding it to the ObjectServer; for
example, the Probe for Marconi ServiceOn EMOS. Other device probes are more active, issuing commands
to the target device in order to acquire events; for example, the TSM for Ericsson AXE10.
Most log file probes run on the machine where the log file resides; this is not necessarily the same machine
as the target system. The target system appends events to the log file. Periodically, the probe opens the log
file, acquires and processes the events stored in it, and forwards the relevant events to the ObjectServer as
alerts. You can configure how often the probe checks the log file for new events and how events are
processed.
Database Probes
A database probe acquires events from a single database table; the source table. Depending on the
configuration, any change (insert, update, or delete) to a row of the source table can produce an event. For
example, the Probe for Oracle acquires data from transactions logged in an Oracle database table.
When a database probe is started, it creates a temporary logging table and adds a trigger to the source table.
When a change is made to the source table, the trigger forwards the event to the logging table. Periodically,
the events stored in the logging table are forwarded to the ObjectServer as alerts and the contents of the
logging table are discarded. You can configure how often the probe checks the logging table for new events.
Warning: Existing triggers on the source table may be overwritten when the probe is installed.
!
Database probes treat each row of the source table as a single entity. Even if only one field of a row in the
source table changes, all of the fields of that row are forwarded to the logging table and from there to the
ObjectServer. If a row in the source table is deleted, the probe forwards the contents of the row before it was
deleted. If a row in the source table is inserted or updated, the probe forwards the contents of the row after
the insert or update.
API Probes
An API probe acquires events through the API of another application. For example, the Probe for Sun
Management Center uses the Sun Management Center Java API to connect remotely to the Sun
Management Center.
API probes use specially designed libraries to acquire events from another application or management
system. These libraries contain functions that connect to the target system and manage the retrieval of
events. The API probes call these functions which connect to the target system and return any events to the
probe. The probe processes these events and forwards them to the ObjectServer as alerts.
CORBA Probes
Common Object Request Broker Architecture (CORBA) allows distributed systems to be defined
independent of a specific programming language. CORBA probes use CORBA interfaces to connect to the
data source; usually an Element Management System (EMS). Equipment vendors publish the details of their
specific CORBA interface as Interface Definition Language (IDL) files. These IDL files are used to create
the CORBA client and server applications. A specific probe is required for each specific CORBA interface.
CORBA probes use the Borland VisiBroker Object Request Broker (ORB) to communicate with other
vendor's ORBs. You must obtain this ORB from Micromuse Support.
Most CORBA probes are written using Java, and require specific Java components to be installed to run the
probe, as described in the individual guides for these probes. Probes written in Java use the following
additional processes:
• The nco_p_nonnative probe, which enables probes written in Java to communicate with the
standard probe C library (libOpl)
For example, the Probe for Marconi MV38/PSB manages the alarm lifecycle by collecting events from the
Marconi ServiceOn Optical Network Management System. To do this, it connects to the Practical Service
and Business (PSB) CORBA interface using the CORBA Naming Service running on the PSB host.
Miscellaneous Probes
All of the miscellaneous probes have characteristics that differentiate them from the other types of probes
and from each other. Each of them carries out a specialized task that requires them to work in a unique way.
For example, the Email Probe connects to the mail server, retrieves emails, processes them, deletes them, and
then disconnects. This is useful on a workstation that does not have sufficient resources to permit an SMTP
server and associated local mail delivery system to be kept resident and continuously running.
Another example of a probe in the miscellaneous category is the Ping Probe. It is used for general purpose
applications on UNIX platforms and does not require any special hardware. You can use the Ping Probe to
monitor any device that supports the ICMP protocol, such as switches, routers, PCs, and UNIX hosts.
• An executable file
• A properties file
• A rules file
Tip: Some probes have additional components. When additional components are provided, they are
described in the individual probe guides.
Executable File
The executable file is the core of a probe. It connects to the event source, acquires and processes events, and
forwards the events to the ObjectServer as alerts.
Probe executable files are stored in the directory $OMNIHOME/probes/arch, where arch is the
platform name of the architecture. For example, the executable file for the Ping Probe that runs on HP-UX
11.00 is:
$OMNIHOME/probes/hpux11/nco_p_ping
To start a probe on UNIX with the appropriate configuration information, run the wrapper script in the
directory $OMNIHOME/probes. For example, to start the Ping Probe, enter:
$OMNIHOME/probes/nco_p_ping
When the probe is started, it obtains information on how to configure its environment from the properties
and rules files, described in the next sections. The probe uses this configuration information to customize
the data it forwards to the ObjectServer.
For more information about how to run a specific probe and specify command line options, see Using a
Specific Probe on page 22.
Properties File
Probe properties define the environment in which the probe runs. For example, the Server property
specifies the ObjectServer to which the probe forwards alerts. Probe properties are stored in a properties file
in the directory $OMNIHOME/probes/arch. Properties files are identified by the .props file
extension.
For example, the properties file for the Ping Probe that runs on HP-UX 11.00 is:
$OMNIHOME/probes/hpux11/ping.props
Properties files are formed of name-value pairs separated by a colon. For example:
Server : "NCOMS"
In this name-value pair, Server is the name of the property and NCOMS is the value to which the property
is set. String values must be enclosed in quotes; other values do not require quotes.
For example, the Server property is a common property, because every probe needs to know which
ObjectServer to send alerts to. Common properties are described in Probe Properties and Command Line
Options on page 60.
Probe-specific properties vary by probe. Some probes do not have any specific properties, but most have
additional properties that relate to the environment in which they run. For example, the Ping Probe has a
Pingfile property which specifies the name of a file containing a list of the machines to be pinged.
Probe-specific properties are described in the individual probe guides, available on the Micromuse Support
Site.
The command line option overrides the property when both are set. In the preceding example, where the
property sets the server to NCOMS and the command line option sets the server to STWO, the value STWO
is used for the ObjectServer name. For more information on using command line options to override
properties, refer to Probe Properties and Command Line Options on page 60.
Rules File
The rules file defines how the probe should process event data to create a meaningful alert. The rules file also
creates an identifier for each alert, the Identifier field, described in Creating a Unique Identifier on
page 18. This identifier is used to uniquely identify the problem source. Duplicate alerts (those with the
same identifier) are correlated so they only appear in the event list once.
Local rules files are stored in the directory $OMNIHOME/probes/arch, and are identified by the
.rules file extension.
For example, the rules file for the Ping Probe that runs on HP-UX 11.00 is:
$OMNIHOME/probes/hpux11/ping.rules
You can use a URL to specify a rules file located on a remote server that is accessible using the http
protocol. This allows all rules files to be sourced for each probe from a central point. Using a suitable
configuration management tool, such as CVS, at the central point enables version management of all rules
files.
Refer to Chapter 2: Probe Rules File Syntax on page 27 for detailed information about rules files and how to
modify them.
This method is preferable to restarting the probe, because the probe will not lose events.
Tip: For CORBA probes, issue the command kill -HUP on the nco_p_nonnative process.
1 2 3
T "" 0.0.0.0 10 NodeNumber $NodeNumber @Identifier
0122 0.0.0.0 IPAddress $IPAddress @NodeNumber
82 8097562 Cause $Cause @IPAddress
27237 82 Summary $Summary @Cause
Probe
9000937 8290 Time $Time @Summary
00 936 0 0 0 Date $Date @Time
Pope23 Summary $Summary @Date
snmp-trap "" Sequence $Sequence @Summary
se quence I Version $Version @Sequence
4305 re Text $Text @Version
ceive-time U Flag $Flag @Text
82 9000936 @Flag
Event List
ObjectServer
Gateway
Figure 2: Event Mapping Using Rules
The raw event data that a probe acquires cannot be sent directly to the ObjectServer. The probe breaks the
event data into tokens (1 - in Figure 2). Each token represents a piece of event data.
The probe then parses these tokens into elements and processes the elements according to the rules in the
rules file (2 - in Figure 2). Elements are identified in the rules file by the $ symbol. For example, $Node is
an element containing the node name of the event source.
Elements are used to assign values to ObjectServer fields, indicated by the @ symbol (3 - in Figure 2). The
field values contain the event details in a form understood by the ObjectServer. Fields make up the alerts
which are forwarded to the ObjectServer, where they are stored and managed in the alerts.status
table and displayed in the event list.
The Identifier field is also generated by the rules file, as described in the next section.
For more information about manipulating fields and elements, see Chapter 2: Probe Rules File Syntax on
page 27.
The Identifier field allows the ObjectServer to correlate alerts so that duplicate alerts only appear in
the event list once. Rather than inserting a new alert, the alert is reinserted —the existing alert is updated.
These updates are configurable. For example, the tally field (@Tally) is typically incremented to keep track
of the number of times the event occurred.
It is essential that the identifier identifies repeated events appropriately. The following identifier is not
specific enough, because any events with the same manager and node are treated as duplicates:
@Identifier=@Manager+@Node
If the identifier is too specific, the ObjectServer is not able to correlate and deduplicate repeated events. For
example, an identifier that contains a time value prevents correct deduplication.
Rules file syntax is described in Chapter 2: Probe Rules File Syntax on page 27.
For an overview of alert processing and deduplication, see the Netcool/OMNIbus Administration Guide.
In this file name, probename is the name of the probe and servername is the name of the ObjectServer
to which the probe is attempting to send alerts.
When the probe detects that the ObjectServer is back on line, it switches to forward mode and sends the
alert information held in the .store file to the ObjectServer. Once all of the alerts in the .store file
have been forwarded, the probe returns to normal operation.
Store and forward functionality is enabled by default, but can be disabled by setting the
StoreAndForward property to 0 (FALSE) in the properties file or using the -nosaf command line
option.
However, if you set the probe to run in automatic store and forward mode, it will go straight into store mode
if the ObjectServer is not running, as long as the probe has been connected to the ObjectServer at least once
before. Enable automatic store and forward mode using the -autosaf command line option or
AutoSAF property.
Note: For failover to work, automatic store and forward must be enabled in addition to setting the
ServerBackup, NetworkTimeout, and PollServer properties.
The captured data is in a format that can be replayed by the Generic Probe, as described in the guide for the
Generic Probe.
You can enable raw capture mode using the -raw command line option or RawCapture property.
You can also set the RawCapture property in the rules file, so that you can send the raw event data to a
file only when certain conditions are met. See Changing the Value of the RawCapture Property in the Rules File
on page 30 for more information.
Secure Mode
You can run the ObjectServer in secure mode. When you start the ObjectServer using the -secure
command line option, the ObjectServer authenticates probe, gateway, and proxy server connections by
requiring a user name and encrypted password. When a connection request is sent, the ObjectServer issues
an authentication message. The probe, gateway, or proxy server must respond with the correct user name
and password combination.
If the ObjectServer is not running in secure mode, probe, gateway, and proxy server connection requests are
not authenticated.
When connecting to a secure ObjectServer or proxy server, each probe must have the AuthUserName and
AuthPassword properties in its property file. If the user name and password combination is incorrect,
the ObjectServer issues an error message and rejects the connection.
You must encrypt the passwords used in secure mode using the nco_g_crypt utility, described in the
Netcool/OMNIbus Administration Guide. Then, add the AuthUserName and AuthPassword
properties to the probe properties file with the corresponding user name and encrypted password before
running the probe.
Peer-to-Peer Failover
Two instances of a probe can run simultaneously in a peer-to-peer failover relationship. One instance is
designated as the master; the other acts as a slave and is on hot standby. If the master instance fails, the slave
instance is activated.
Note: Peer-to-peer failover is not supported for all probes. Probes that list the Mode, PeerHost, and
PeerPort properties when you run the command $OMNIHOME/probes/nco_p_probename
-dumpprops support peer-to-peer failover.
• For the master instance, set the Mode property to master and the PeerHost property to the
network element name of the slave.
• For the slave instance, set the Mode property to slave and the PeerHost property to the
network element name of the master.
• For both instances, set the PeerPort property to the port through which the master and slave
communicate.
To disable the peer-to-peer failover relationship, run a single instance of the probe with the Mode property
set to standard. This is the default setting.
The following are example properties file values for the slave:
PeerPort: 9999
PeerHost: "masterhost"
Mode: "slave"
There is a delay of up to one second before the mode change takes effect. This can result in duplicate events
if two probe instances are switching from standard mode to master or slave; however, no data is
lost.
Tip: To start the probe on UNIX with the appropriate configuration, run the wrapper script, as described
in Running a Probe on UNIX on page 22.
In these paths, arch is the name of the architecture on which the probe is installed; for example,
solaris2 when running on a Solaris system.
Refer to the guide for each probe, available on the Micromuse Support Site, for details about specific probes,
their defaults, and which of their properties can be changed.
Note: Probes should be managed by process control. Process control is described in the Netcool/OMNIbus
Administration Guide.
Once you have installed the probe, you must configure the properties and rules files to fit your environment.
For example, if you are using a log file probe such as the HTTP Common Log Format Probe, you need to
set the LogFile property, so that the probe can connect to the event source. Refer to Probe Components
on page 14 for more information about properties and rules files.
The probename is the abbreviated name of the probe you want to run. The -option is the command
line option and value is the value you are setting the option to. Not every option requires you to specify
a value. For example, to run the Sybase Probe in raw capture mode, enter:
$OMNIHOME/probes/nco_p_sybase -raw
The command line options available to all probes are described in Chapter 3: Probe Properties and Command
Line Options on page 59.
Note: If you are running a proxy server, connect your probes to the proxy server rather than to the
ObjectServer. To do this, use the Server property or -server command line option and specify the
name of the proxy server. For more information on the proxy server, see the Netcool/OMNIbus
Administration Guide.
Tip: In versions of Netcool/OMNIbus prior to v7, probes were installed as services by default. As of
Netcool/OMNIbus v7, probes are installed as console applications by default.
In this command, probename is the abbreviated name of the probe you want to run and option is a
command line option.
There are extra command line options available for the Windows version of each probe. To display these,
enter the following command:
nco_p_probename -?
-noauto This option is used with the -install option. It disables automatic
startup for the probe running as a service. If this option is used, the
probe is not started automatically when the machine boots.
-group string This option is used with the -depend command line option. You can
group all the probes together under the same group name. You can
then force that group to be dependent on another service.
-depend srv @grp ... This option specifies other services or groups that the probe is
dependent on. If you use this option, the probe will not start until the
services (srv) and groups (@grp) specified with this option have been
run.
-cmdLine "-option value..." This option specifies one or more command line options to be set each
time the probe service is restarted.
Configure how probes are started using the Services window as follows:
3. Use the Services window to start and stop Windows services. Indicate whether the service is started
automatically when the machine is booted by clicking the Startup button.
Note: If the ObjectServer and the probe are started as services, the probe may start first. The probe
will not be able to connect to the ObjectServer until the ObjectServer is running.
This chapter describes rules file syntax. The rules file defines how the probe should process event data to
create a meaningful Netcool/OMNIbus alert. The rules file also creates an identifier for each alert to
uniquely identify the problem source, so repeated events can be deduplicated.
For introductory information about rules files, see Rules File on page 16. For information about the
Identifier field, see Creating a Unique Identifier on page 18.
The Identifier field, used by the ObjectServer for deduplication, is also created based on the logic in
the rules file, as described in Creating a Unique Identifier on page 18.
Elements are indicated by the $ symbol in the rules file. For example, $Node is an element containing the
node name of the event source. You can assign elements to ObjectServer fields, indicated by the @ symbol
in the rules file.
Numeric values can be expressed in decimal or hexadecimal form. The following statements, which set the
Class field to 100, are equivalent:
• @Class=100
• @Class=0x64
In addition to assigning elements to fields, you can use the processing statements, operators, and functions
described in this chapter to manipulate these values in rules files before assigning them.
Tip: Elements are stored as strings, so you need to use the int function, described in Math Functions on
page 43, to convert them into integers before performing numeric operations.
If you refer to an element that has not been initialized in this way, the element is set to the null string ("").
In the following example, temporary elements are used to extract information from a Summary element,
which has the string value: The Port is down on Port 1 Board 2.
$temp1 = extract ($Summary, "Port ([0-9]+)")
$temp2 = extract ($Summary, "Board ([0-9]+)")
@AlertKey = $temp1 + "." + $temp2
The extract function is used to assign values to temporary elements temp1 and temp2. Then these
elements are concatenated with a . separating them, and assigned to the AlertKey field. After these
statements are executed, the AlertKey field has the value 1.2. The extract function is described in
String Functions on page 41, and the concatenate operator (+) is described in Math and String Operators on
page 37.
In this example, when the rules file is processed, the probe searches for a property named Server. If the
property is found, its value is concatenated to the text string and assigned to the Summary field. If the
property is not found, a null string ("") is assigned.
These properties retain their values across events and when the rules file is re-read.
if (condition) {
# Send the next event to the raw capture file
%RawCapture=1
}
Tip: The setting for raw capture mode takes effect for the next event processed; not for the current event.
You can enable raw capture mode globally by setting the -raw command line option or the RawCapture
property in the probe properties file, as described in Raw Capture Mode on page 20.
Using Arrays
You must define arrays at the start of a rules file, before any processing statements.
Tip: You must also define tables, described in Lookup Table Operations on page 45, and target
ObjectServers, described in Sending Alerts to Alternate ObjectServers and Tables on page 50, before any
processing statements.
Arrays are one dimensional. Each time an assignment is made for a key value that already exists, the previous
value is overwritten. For example:
node_arr["myhost"] = "a";
node_arr["yourhost"] = "b";
node_arr["myhost"] = "c";
After the preceding statements have been executed, there are two items in the node_arr array. The item
with the key myhost is set to c, and the item with the key yourhost is set to b. You can make
assignments using probe elements, for example:
node_arr[$Node] = "d";
Note: Array values are persistent until a probe is restarted; if you force the probe to re-read the rules file by
issuing a kill -HUP pid command on the probe process ID, the array values are maintained.
The IF Statement
A condition is a combination of expressions and operations that resolve to either TRUE or FALSE. The IF
statement allows conditional execution of a set of one or more assignment statements by executing only the
rules for the condition that is TRUE. It has the following syntax:
if (condition) {
rules
} [ else if (condition) {
rules
} ... ]
[ else (condition) {
rules
} ]
You can combine conditions into increasingly complex conditions using the logical AND operator (&&),
which is true only if all of its inputs are true, and OR operator (||), which is true if any of its inputs are true.
For example:
if match ($Enterprise, "Acme") && match ($trap-type, "Link-Up") {
@Summary = "Acme Link Up on " + @Node
}
Logical operators are described in Logical Operators on page 39. The match function is described in String
Functions on page 41.
The SWITCH statement tests for exact matches only. This statement should be used wherever possible
instead of an IF statement because SWITCH statements are processed more efficiently and therefore execute
more quickly.
Note: Each SWITCH statement must contain a default case even if there are no rules associated with it.
There is no BREAK clause for the SWITCH statement, so any rules in the DEFAULT case are executed if no
other case is matched.
You can have more than one stringliteral separated by the pipe (|) symbol. For example:
case "jupiter" | "mars" | "venus":
This case is executed if the expression matches any of the specified strings.
Specify the path to the rules file as an absolute path. A relative path is relative to the probe working directory,
which can vary depending on how the probe is started. You cannot use environment variables in the path.
if(match(@Manager, "ProbeWatch"))
{
include "/opt/netcool/omnibus/probes/solaris2/probewatch.rules"
}
else
...
==, !=, <>, <, >, <=, >= Perform comparison operations. page 38
NOT (also !), AND (also &&), OR (also ||), XOR (also ^) Perform logical (boolean) operations. page 39
expand Returns a string (which must be a literal string) with escape page 41
sequences expanded.
extract Returns the part of a string (which can be a field, element, or page 41
string expression) that matches the parenthesized section of
the regular expression.
hostname Returns the name of the host on which the probe is running. page 45
length Calculates the length of an expression and returns the numeric page 41
value.
nmatch Tests for a string match at the beginning of a specified string. page 41
settarget, setdefaulttarget Sets the ObjectServer alerts are sent to. page 50
You can use string operators to manipulate character strings. Table 6 describes the string operator supported
in rules files.
& Bitwise AND (&), OR (|), and XOR (^). The $result1 = int($number1) & int($number2)
| results are determined bit-by-bit.
^
>> Shifts bits right (>>) or left (<<). $result2 = int($number3) >> 1
<<
These operators manipulate the bits in integer expressions. For example, in the statement:
$result2 = int($number3) >> 1
Note that the bits do not wrap around; when they drop off one end, they are replaced on the other end by
a 0.
Bitwise operators only work with integer expressions. Elements are stored as strings, so you need to use the
int function, described in Math Functions on page 43, to convert them into integers before performing
these operations.
Comparison Operators
You can use comparison operators to test numeric values for equality and inequality. Table 8 describes the
comparison operators supported in rules files.
<>
< Tests for greater than (>), less than (<), greater than or equal to (>=), or less int($eventid) <=30
than or equal to (<=).
>
<=
>=
Logical Operators
You can use logical operators on boolean values to form expressions that resolve to TRUE or FALSE. Table 9
describes the logical operators supported in rules files.
AND (also &&) An AND expression is true only if all of its if match($Enterprise,"Acme") &&
inputs are TRUE.
match($trap-type,"Link-Up")
Existence Function
You can use the exists function to test for the existence of an element, with the following syntax:
exists ($element)
The function returns TRUE if the element was created for this particular event; otherwise it returns FALSE.
String Functions
You can use string functions to manipulate string elements, typically field or element names. Table 11
describes the string functions supported in rules files.
\b - backspace
\e - escape (033 octal)
\f - form feed
\n - new line
\r - carriage return
\t - horizontal tab
\v - vertical tab
This function cannot be used as the
regular expression argument in the
regmatch or extract functions.
Math Functions
You can use math functions to perform numeric operations on elements. Elements are stored as strings, so
you must use these functions to convert them into integers before performing numeric operations. Table 12
describes the math functions supported in rules files.
In the following example, the severity of an alert that monitors disk space usage is set depending on the
amount of available disk space.
if (int($PercentFull) > 80 && int($PercentFull) <=85)
{
@Severity=2
}
else if (int($PercentFull)) > 85 && int($PercentFull) <=90)
{
@Severity=3
}
else if (int($PercentFull > 90 && int($PercentFull) <=95)
{
@Severity=4
}
else if (int($PercentFull) > 95)
{
@Severity=5
}
The percentage of disk space is not always provided in the event stream. The percentage of disk space can
be calculated in the rules file as follows:
if (int($total) > 0)
{
@DiskSpace=(100*int($diskspace))/int($total)
}
The previous example can then be used to set the severity of the alert.
hostname() Returns the name of the host on which the $My_Hostname = hostname()
probe is running.
The lookup function evaluates the expression in the keys of the named table and returns the associated
value. If the key is not found, an empty string is returned. The lookup function has the following syntax:
lookup(expression,tablename)
You can create a lookup table directly in the rules file or in a separate file.
You can create a lookup table directly in the rules file using the following format:
table tablename={{"key","value"},{"key","value"}...}
Note: Table definitions must appear at the start of a rules file, before any processing statements. You can
define multiple tables in a rules file. For changes to the lookup table to take effect, the probe must be forced
to re-read the rules file. Refer to Re-reading the Rules File on page 16 for more information.
For example, to create a table that matches a node name to the department the node is in:
table dept={{"node1","Technical"},{"node2","Finance"}}
You can access this lookup table in the rules file as follows:
@ExtraChar=lookup(@Node,dept)
This example uses the @Node field as the key. If the value of the @Node field matches a key in the table,
@ExtraChar is set to the corresponding value.
You can obtain values from a multiple value lookup table as follows:
[@Summary, @AlertKey, $error_code] = lookup("key1", "example_table")
Rather than including the lookup table directly in the rules file, you can create the table in a separate file. If
you are specifying a single value, the file must be in the format:
key[TAB]value
key[TAB]value
To create a table in which the node name is matched to the department the node is in, use the following
format:
node1[TAB]"Technical"
node2[TAB]"Finance"
The table function must appear at the start of a rules file, before any processing statements. Specify the
full path to the lookup table file as follows:
table dept="/opt/netcool/omnibus/probes/solaris2/Dept"
You can then use this lookup table in the rules file as follows:
@ExtraChar=lookup(@Node,dept)
You can also control how the probe processes external lookup tables with the LookupTableMode
property, described in Probe Properties and Command Line Options on page 60. This property determines
how errors are handled when external lookup tables do not have the same number of values on each line.
You can specify a default option to handle an event that does not match any of the key values in a table. The
default statement must follow the specific table definition.
If set to TRUE, update on deduplication is enabled. If set to FALSE, update on deduplication is disabled.
The default is TRUE.
For example, to ensure that the Severity field is updated on deduplication, you can add the following
to the rules file:
update(@Severity)
You can also disable update on deduplication for a specific field. For example:
update(@Severity, FALSE)
Details Function
Details are extra elements created by a probe to display alert information that is not stored in a field of the
alerts.status table. Alerts do not have detail information unless it is added.
Detail elements are stored in the ObjectServer details table, alerts.details. You can view details by
double-clicking an alert in the event list.
You can add information to the details table using the details function. The detail information is added
when an alert is inserted, but not if it is deduplicated.
The following example adds the elements $a and $b to the alerts.details table:
details($a,$b)
The following example adds all of the alert information to the alerts.details table:
details($*)
Warning: You should only use $* when you are debugging or writing rules files. After using $* for long
! periods of time, the ObjectServer tables will become very large and the performance of the ObjectServer will
suffer.
In the following example, the $Summary element is compared to the strings Incoming and Backup.
If there is no match, the @Summary field is set to the string Please see details, and all of the
information for the alert is added to the details table:
if (match($Summary, "Incoming"))
{
@Summary = "Received a call"
}
else if(match($Summary, "Backup"))
{
@Summary = "Attempting to back up"
}
else
{
@Summary = "Please see details"
details($*)
}
There are five log levels: DEBUG, INFO, WARNING, ERROR, and FATAL, in order of increasing severity.
For example, if the log level is set to WARNING, only WARNING, ERROR, and FATAL messages are logged,
but if the logging is set to ERROR then only ERROR and FATAL messages are logged.
Log Function
Setlog Function
The setlog function sets the minimum level at which messages are logged during rules processing. By
default, the level for logging is WARNING and above.
The DEBUG level message is not logged, because the logging setting is set higher than DEBUG. The second
WARNING level message is not logged, because the preceding setlog function has set the log level higher
than WARNING.
Note: Regardless of the number of registered target ObjectServers, each alert can only be sent to one of
them.
When you register more than one target, the one registered first is initially the default target. Unless another
command overrides these settings, the alert destination following these register commands is the
alerts.status table in the TEST1 ObjectServer.
The setdefaulttarget function enables you to change the default ObjectServer to which alerts are
sent when a target is not specified.
The settarget function enables you to specify the ObjectServer to which an alert will be sent without
changing the default target.
You can change both the default ObjectServer and the ObjectServer to which specific alerts are sent, as
shown in the following example:
# Once an event of Major severity or higher comes in,
# set the default ObjectServer to TEST2
if(int(@Severity) > 3)
{ setdefaulttarget(HighAlerts) }
# Send all clear events to TEST3
if (int(@Severity) = 0)
{ settarget(ClearAlerts) }
Service Function
Use the service function to define the status of a service before alerts are forwarded to the ObjectServer.
The status changes the color of the alert when it is displayed in the event list and Service windows.
If you want a Ping Probe to return a service status for each host it monitors, you can use the service
function in the rules file to assign a service status to each alert. In the following example, a service status is
assigned to each alert based on the value of the status element.
switch ($status)
{
case "unreachable":
@Severity = "5"
@Summary = @Node + " is not reachable"
@Type = 1
service($host, bad) # Service Entry
case "alive":
@Severity = "3"
@Summary = @Node + " is now alive"
@Type = 2
service($host, good) # Service Entry
case "noaddress":
@Severity = "2"
@Summary = @Node + " has no address"
service($host, marginal) # Service Entry
case "removed":
@Severity = "5"
Each time the updateload function is executed, the current time stamp, recorded in seconds and
microseconds, is added to the beginning of a series of time stamps. The remaining time stamps record the
difference in time from the previous time stamp. For example, to take a time measurement and update a
property called load with a new time stamp:
%load = updateload(%load)
Tip: Depending on the operating system, differing levels of granularity may be reported in time stamps.
You can specify a maximum time window for which samples are kept, and a maximum number of samples.
By default, the time window is one second and the maximum number of samples is 50. You can specify the
number of seconds for which load samples are kept and the maximum number of samples in the format:
time_window_in_seconds.max_number_of_samples
For example, to set or reset these values for the load property:
%load = "2.40"
When the number of seconds in the time window is exceeded, any samples outside of that time window are
removed. When the number of samples reaches the limit, the oldest measurement is removed.
The getload function calculates the current load, returned as events per second. For example, to calculate
the current load and assign it to a temporary element called current_load:
$current_load = getload(%load)
For an example of how to use the load function to monitor loads, see Using Load Functions to Monitor
Nodes on page 58.
Use the -rulesfile command line option to specify the full path and file name of the rules file. The
Syntax Probe always runs in debug mode. It connects to the ObjectServer, tests the rules file, displays any
errors to the screen, and then exits. If no errors are displayed, the syntax of the rules file is correct.
Tip: For changes to the rules file to take effect, the probe must be forced to re-read the rules file. Refer to
Re-reading the Rules File on page 16 for more information.
To change the message level of a running probe to run in debug mode, issue the command kill -USR2
pid on the probe process ID (PID). Refer to the ps and kill man pages for more information.
Each time you issue the command kill -USR2 pid, the message level is cycled.
Tip: For CORBA probes, issue the command kill commands on the nco_p_nonnative process ID.
You also can set the probe to run in debug mode on the command line or in the properties file. To enable
debug mode on the command line, enter the command:
$OMNIHOME/probes/arch/probename -messagelevel DEBUG -messagelog STDOUT
If you omit the MessageLog property or -messagelog command line option, the debug information
is sent to the probe log file in the $OMNIHOME/log directory rather than to the screen.
Nested IF Statements
This example rule first tests if the trap has come from an Acme manager, and then tests if it is a Link-Up.
If both conditions are met, the @Summary field is populated the values of the @Node field and
$ifIndex and $ifLocReason elements:
if( match($enterprise,"Acme") )
{
if( match($trap-type, "Link-Up") )
{
@Summary= "Acme Link Up on " + @Node + " Port " + $ifIndex +
" Reason: "+$ifLocReason
} }
Numeric Comparisons
This example rule tests the value of an element called $freespace as a numeric value by converting it to
an integer and performing a numeric comparison:
if (int($freespace) < 1024)
{
@Summary="Less than 1024K free on drive array"
}
# initialize array items with the number of seconds samples may span and
# number of samples to maintain.
if ( match("", loads[@Node]) ){
loads[@Node] = "2.50"
}
if ( match("" , %general_load) ){
%general_load="2.50"
}
loads[@Node] = updateload(loads[@Node])
%general_load=updateload(%general_load)
if ( int(getload(loads[@Node]) ) > 5 ){
log(WARN, $Node + " is creating more than 5 events per second")
}
if ( int(getload(%general_load)) > 80){
log(WARN, "Probe is creating more than 80 events per second - switching to HIGHLOAD")
settarget(HIGHLOAD)
}
Line Options
This chapter describes the properties and command line options common to all probes and TSMs. For the
properties and command line options specific to a particular probe or TSM, refer to the individual guides
for each probe and TSM available on the Micromuse Support Site.
For introductory information about probes, see Chapter 1: Introduction to Probes on page 9. For an
introduction to probe properties, refer to Properties File on page 14.
You can edit probe property values using a text editor. To override the default, change a setting in the
properties file and remove the hash symbol. If you edit the properties file while the probe is running, the
changes you make will take effect the next time you start the probe.
If you change a setting on the command line, this overrides both the default value and the setting in the
properties file. To simplify the command you type to run the probe, add as many properties as possible to
the properties file rather than using the command line options.
The probename is the abbreviated name of the probe you want to run. The -option is the command
line option and value is the value you are setting the option to. Not every option requires you to specify
a value.
If the -name command line option is specified, it determines the name used for the probe files described
in Table 16:
In these paths, arch is the name of the architecture on which the probe is installed; for example,
solaris2 when running on a Solaris system.
If the -propsfile command line option is specified, its value overrides the name setting for the
properties file.
Note: Always read the guide that is specific to the probe you are running for additional configuration
information. The individual probe guides are available on the Micromuse Support Site.
Table 17 lists the common properties and command line options available to all probes, and their default
settings.
AuthPassword string N/A The password associated with the user name used
to authenticate the probe when it connects to an
ObjectServer running in secure mode. This
password must be encrypted with the nco_g_
crypt utility. The default is ''.
AuthUserName string N/A A user name used to authenticate the probe when
it connects to an ObjectServer running in secure
mode. The default is ''.
Secure mode is described in Secure Mode on
page 20.
BeatInterval integer -beatinterval integer Specifies the heartbeat interval for peer-to-peer
failover. The default is 2 seconds.
Peer-to-peer failover is described in Peer-to-Peer
Failover on page 20.
BufferSize integer -buffersize integer Specifies the number of alerts the probe buffers.
The default is 10 .
LookupTableMode integer -lookupmode integer Specifies how table lookups are performed. It can
be set to 1, 2, or 3. The default is 3.
If set to 1, all external lookup tables are assumed to
have a single value column. Tabs are not used as
column delimiters.
Manager string -manager string Specifies the value of the Manager field for the
alert. The default value is determined by the probe.
MaxLogFileSize integer -maxlogfilesize integer Specifies the maximum size the log file can grow
to, in Bytes. The default is 1 MByte. Once the log
file reaches the size specified, a second log file is
started. When the second file reaches the
maximum size, the first file is overwritten with a
new log file and the process starts again.
MaxRawFileSize integer N/A Specifies the maximum size of the raw capture file,
in KBytes. The default is unlimited (-1).
MaxSAFFileSize integer -maxsaffilesize integer Specifies the maximum size the store and forward
file can grow to, in Bytes. The default is 1 MByte.
MessageLevel string -messagelevel string Specifies the message logging level. Possible
values are: debug, info, warn, error, and
fatal. The default level is warn.
MessageLog string -messagelog string Specifies where messages are logged. The default
is $OMNIHOME/log/name.log.
Mode string -mode string Specifies the role of the instance of the probe in a
peer-to-peer failover relationship. The mode can
be:
MsgTimeLog string -msgtimelog string Specifies the time after which the daily log is
created. The default is 0000 (midnight).
Name string -name string Specifies the name of the probe. This value
determines the names of the properties file, rules
file, message log file, and store and forward file, as
listed in Table 16 on page 60.
NetworkTimeout integer -networktimeout integer Specifies a time in seconds after which the
connection to the ObjectServer times out, should a
network failure occur. The default is 0, meaning
that no timeout occurs.
PeerHost string -peerhost string Specifies the hostname of the network element
acting as the counterpart to this probe instance in
a peer-to-peer failover relationship. The default is
localhost.
Peer-to-peer failover is described in Peer-to-Peer
Failover on page 20.
PeerPort integer -peerport integer Specifies the port through which the master and
slave communicate in a peer-to-peer failover
relationship. The default port is 99.
Peer-to-peer failover is described in Peer-to-Peer
Failover on page 20.
PidFile string -pidfile string Specifies the name of the file that stores the
process ID for the device. The default is
$OMNIHOME/var/name.pid, where name is
the name of the probe and pid is the process ID.
Props.CheckNames N/A When TRUE, the probe does not run if any
TRUE | FALSE specified property is invalid. The default is TRUE.
PropsFile string -propsfile string Specifies the name of the properties file. The
default is
$OMNIHOME/probes/arch/name.props,
where name is the name of the probe and arch is
the platform name of the architecture.
RawCapture 0 | 1 -raw Controls the raw capture mode. Raw capture mode
is usually used at the request of Micromuse
-noraw Support. By default, raw capture mode is disabled
(0).
RawCaptureFile string -capturefile string Specifies the name of the raw capture file. The
default is $OMNIHOME/var/name.cap, where
name is the name of the probe.
RulesFile string -rulesfile string Specifies the name of the rules file.
The default is
$OMNIHOME/probes/arch/name.rules,
where name is the name of the probe.
SAFFileName string -saffilename string Specifies the name of the store and forward file.
The default is
$OMNIHOME/var/name.store.server,
where name is the name of the probe and server
is the name of the target ObjectServer.
Server string -server string Specifies the name of the ObjectServer or proxy
server that alerts are sent to. The default is NCOMS.
This chapter introduces gateways, their key features, and how to use them. It also describes the types of
gateways, their components, and how to run them.
For information about commands common to all gateways and nco_gate command line options, refer
to Chapter 5: Gateway Commands and Command Line Options on page 95.
For descriptions of gateway error messages, refer to Appendix D: Gateway Error Messages on page 155.
For information about specific gateways, refer to the documentation available for each gateway on the
Micromuse Support Site. Some gateways have a different architecture than that described in this chapter,
and do not use nco_gate.
You can use gateways to replicate alerts or to maintain a backup ObjectServer. Application gateways enable
you to integrate different business functions. For example, you can configure a gateway to send alert
information to a helpdesk system. You can also use a gateway to archive alerts to a database.
Gateways
Monitors and probes forward alerts to
send alerts to the local a helpdesk/CRM
Event List system and an
ObjectServer.
RDBMS.
Helpdesk/
Monitor Gateway CRM
ObjectServer
NCOMS
Gateway
Probe
RDBMS
Gateway
• The ObjectServer Gateway enables you to replicate alerts between ObjectServers in a failover
configuration.
• RDBMS gateways enable you to store critical alerts in a database so you can analyze network
performance.
• Helpdesk gateways enable you to integrate the NOC and the helpdesk by converting trouble tickets
to alerts and alerts to trouble tickets.
Once a gateway is correctly installed and configured, the transfer of alerts is transparent to operators. For
example, alerts are forwarded from an ObjectServer to a database automatically without user intervention.
Unidirectional gateways only allow alerts to flow in one direction. Changes made in the source ObjectServer
are replicated in the destination ObjectServer or application, but changes made in the destination
ObjectServer or application are not replicated in the source ObjectServer. They can be considered as
archiving tools.
Bidirectional gateways allow alerts to flow from the source ObjectServer to the target ObjectServer or
application and also allow feedback to the source ObjectServer. In a bidirectional gateway configuration,
changes made to the contents of a source ObjectServer are replicated in a destination ObjectServer or
application, and the destination ObjectServer or application replicates its alerts in the source ObjectServer.
They can be considered as synchronization tools.
• Another ObjectServer
• A database
• A helpdesk application
• Other applications or devices
ObjectServer gateways are used to exchange alerts between ObjectServers. This is useful when you want to
create a distributed installation, or when you want to install a backup ObjectServer.
Database gateways are used to store alerts from an ObjectServer. This is useful when you want to keep a
historical record of the alerts forwarded to the ObjectServer.
Helpdesk gateways are used to integrate Netcool/OMNIbus with a range of helpdesk systems. This is useful
when you want to correlate the trouble tickets raised by your customers with the networks and systems you
are using to provide their services.
Other gateways are specialized applications that forward ObjectServer alerts to other applications or devices
(for example, a flat file or socket).
Note: Only gateways that send alerts to certain targets can be bidirectional. For more information, refer to
the individual gateway guides available on the Micromuse Support Site.
Note: ObjectServer gateways have been revised for Netcool/OMNIbus v7 and do not use the nco_gate
binary which is common to many other gateways.
The unidirectional and bidirectional ObjectServer gateways are described in detail in the guide for the
ObjectServer Gateway, available on the Micromuse Support Site.
Reader Writer
Reader Writer
Mapper
ObjectServer ObjectServer
NCOMS DENCO
Writer Reader
Changes made in the NCOMS The Gateway - nco_g_objserv_bi Changes made in the DENCO
ObjectServer are replicated in the ObjectServer are replicated in
DENCO ObjectServer. the NCOMS ObjectServer.
Because bidirectional ObjectServer gateways are used to resynchronize failover pairs, failback is
automatically disabled. This is because one half of the gateway can legitimately be connected to a backup
server and so should not be forced to keep failing back to the primary ObjectServer.
However, if a bidirectional gateway is being used to share data between two separate sites, and each site has
a failover pair operating, you can manually enable failback on each server. When enabled, the writer
automatically enables failback on its counterpart reader.
For more information about ObjectServer gateways and how to enable failback, see the guide for the
ObjectServer Gateway, available on the Micromuse Support Site.
Note: While all gateways have the components described in this section, some gateways have a different
architecture than that described, and do not use nco_gate. For more information, refer to the individual
gateway guides available on the Micromuse Support Site.
Gateway Components
Gateways have reader and writer components. Readers extract alerts from the ObjectServer. Writers forward
alerts to another ObjectServer or to other applications. There is only one type of reader, but there are various
types of writers depending on the destination application.
Routes specify the destination to which a reader forwards alerts. One reader can have multiple routes to
different writers, and one writer can have multiple routes from different readers.
Gateway filters and mappings configure alert flow. Filters define the types of alerts that can be passed through
a gateway. Mappings define the format of these alerts.
Readers, writers, routes, filters, and mappings are defined in the gateway configuration file, described in
Gateway Configuration on page 79.
Unidirectional Gateways
A simple example of a gateway is the Flat File Gateway. This is a unidirectional gateway that reads alerts
from an ObjectServer and writes them to a flat file. This example architecture is shown in Figure 6.
Route
ObjectServer Flat
Reader Writer
NCOMS File
Bidirectional Gateways
In a bidirectional gateway configuration, changes made to the alerts in a source ObjectServer are replicated
in a destination application, and the destination application replicates changes to its alerts in the source
ObjectServer. This enables you, for example, to raise trouble tickets in a helpdesk system for certain alerts.
Changes made to the tickets in the helpdesk system can then be sent back to the ObjectServer.
Writer
Reader Module
Route
ObjectServer Helpdesk
NCOMS MAIN
Reader
The Reader
A reader extracts alerts from an ObjectServer. There is only one type of reader: the ObjectServer reader.
When the reader starts, the gateway attempts to open a connection to the source ObjectServer. If the gateway
succeeds in opening the connection, it immediately starts to read alerts from the ObjectServer.
Writer Modules
Writer modules manage communications between gateways and third-party applications, and format the
alert correctly for entry into the application.
The writer module generates log files which can help debug the gateway. The log files are described in
Gateway Debugging on page 91.
Communication between the writer module and the third-party application uses helper applications, which
interact directly with the application through its APIs or other interfaces. These processes are transparent to
the user (though they are visible using the ps command or similar utility).
The writer module uses a reference number cache to track the alerts and their associated reference number
in the target application. For each alert, the cache stores the following:
When a ticket is raised in response to an alert, the writer module enters the reference number in the cache
and returns it to the ObjectServer where the alert is updated to include the reference number.
Reader Writer
Reference
Number
ObjectServer Cache Helpdesk
NCOMS MAIN
R
Writer
Module Reader
Routes
Routes create the link between the source reader and the destination writer. Any alerts received by the source
ObjectServer are read by the reader, passed through the route to the writer, and written into the destination
ObjectServer or application.
• open.sql
• update.sql
• journal.sql
• close.sql
For detailed information on configuring alert updates from the helpdesk, see the gateway guide for the type
of gateway that you are using. These are available on the Micromuse Support Site.
• Readers
• Writers
• Routes
• Mappings
• Filters
This section describes the gateway configuration file and the commands used in it to define the operation
of the gateway.
Note: ObjectServer gateways have been revised for Netcool/OMNIbus v7. The configuration file which is
common to other gateways is replaced with a properties file. For more information, see the guide for the
ObjectServer gateway.
Every gateway has a configuration file, with the extension .conf. The default gateway configuration file is:
$OMNIHOME/etc/NCO_GATE.conf
Use the -config command line option to specify the full path and name of an alternate configuration file.
For example, to run a helpdesk gateway with a configuration file named HDESK.conf, enter:
$OMNIHOME/bin/nco_gate -config $OMNIHOME/etc/HDESK.conf
Reader Commands
A reader extracts alerts from an ObjectServer. There is only type of reader: the ObjectServer reader. Readers
are started using the START READER command, which defines the name of the reader and the name of
the ObjectServer from which to read.
For example, to start a reader for the NCOMS ObjectServer shown in Figure 6 on page 75, add the following
command to the configuration file:
START READER NCOMS_READ CONNECT TO NCOMS;
Once this command has been issued, the reader is started and the gateway attempts to open a connection to
the source ObjectServer. If the gateway succeeds in opening the connection, it immediately starts to read
alerts from the ObjectServer. For the reader to forward these alerts to their destination, you must define an
associated route and writer.
The START READER command is described in more detail in Reader Commands on page 98.
Writer Commands
Writers send the alerts acquired by a reader to the destination application or ObjectServer. Writers are
created using the START WRITER command, which defines the name of the writer and the information
that allows it to connect to its destination.
For example, to create the writer for the Flat File Gateway shown in Figure 6 on page 75, add the following
command to the configuration file:
START WRITER FILE_WRITER
(
TYPE = FILE,
REVISION = 1,
FILE = '/tmp/omnibus/log/NCOMS_alert.log',
MAP = FILE_MAP,
INSERT_HEADER = 'INSERT: ',
UPDATE_HEADER = 'UPDATE: ',
DELETE_HEADER = 'DELETE: ',
START_STRING = '"',
END_STRING = '"',
INSERT_TRAILER = '\n',
UPDATE_TRAILER = '\n',
DELETE_TRAILER = '\n'
);
Once the START WRITER command has been issued, the gateway attempts to establish the connection to
the alert destination (either an application or another ObjectServer). The writer sends alerts received from
the source ObjectServer until the STOP WRITER command is issued.
The START WRITER command is described in more detail in Writer Commands on page 101.
Route Commands
Routes create the link between readers and writers. Routes are created using the ADD ROUTE command.
This command defines the name of the route, the source reader, and the destination writer.
For example, to create the route between the NCOMS ObjectServer reader and the writer for the Flat File
Gateway shown in Figure 6 on page 75, add the following command to the configuration file:
ADD ROUTE FROM NCOMS_READ TO FILE_WRITER;
Once this command is issued, the connection between a reader and writer is established. Any alerts received
by the source ObjectServer are read by the reader, passed through the route to the writer, and written into
the destination ObjectServer or application.
The ADD ROUTE command is described in more detail in Route Commands on page 110.
Mapping Commands
Mappings define how alerts received from the source ObjectServer should be written to the destination
ObjectServer or application. Each writer has a different mapping which is defined using the CREATE
MAPPING command.
For example, to create the mapping between the ObjectServer reader and the writer for the Flat File Gateway
shown in Figure 6 on page 75, add the following command to the configuration file:
CREATE MAPPING FILE_MAP
(
''= '@Identifier',
''= '@Serial',
''= '@Node' ,
''= '@Manager',
''= '@FirstOccurrence' CONVERT TO DATE,
''= '@LastOccurrence' CONVERT TO DATE,
''= '@InternalLast' CONVERT TO DATE,
''= '@Tally',
''= '@Class',
''= '@Grade',
''= '@Location',
''= '@ServerName',
''= '@ServerSerial'
);
Each line between the parentheses defines how the gateway writes alerts into the file. For the Flat File
Gateway, the CREATE MAPPING command defines the fields from which data is written into each alert
in the output file. The alert fields from the source ObjectServer are represented by the @ symbol.
The following example shows INSERT and UPDATE commands using the FILE_MAP mapping shown
above.
INSERT: "Downlink6LinkMon4Link",127,"sfo4397","Netcool Probe",12/05/03
15:39:23,12/05/03 15:39:23,12/05/03 15:30:53,1,3300,0,"","NCOMS",127
UPDATE: "muppetMachineMon2Systems",104,"sfo4397","Netcool Probe",12/05/03
12:29:34,12/05/03 15:40:06,12/05/03 15:31:36,11,3300,0,"","NCOMS",104
UPDATE: "muppetMachineMon4Systems",93,"sfo4397","Netcool Probe",12/05/03
12:29:11,12/05/03 15:40:35,12/05/03 15:32:05,12,3300,0,"","NCOMS",93
Other gateways (with the exception of the Socket Gateway) require a field in the target to be specified for
each source ObjectServer field. For example, in the Gateway for Remedy ARS, source ObjectServer fields
are mapped to Remedy ARS fields, which are identified with long integer values rather than field names. In
the following example, the ARS field 536870913 maps to the Serial field from the ObjectServer:
536870913 = '@Serial' ON INSERT ONLY
The ON INSERT ONLY clause controls when the field is updated. Fields with the ON INSERT ONLY
clause are only forwarded once, when the alert is created for the first time in the ObjectServer. Fields that
do not have the ON INSERT ONLY clause are updated each time the alert changes.
The CREATE MAPPING command is described in more detail in Mapping Commands on page 105.
Filter Commands
You may not always want to send all of the alerts read by a reader to the destination application. For example,
you may only want to send alerts that have a severity level of Critical. Filters define which of the alerts
read by the ObjectServer reader should be forwarded to the destination.
You create filters using the CREATE FILTER command and apply them using the START READER
command. For example, to create a filter that only forwards critical alerts to the destination application or
ObjectServer, add the following command to the configuration file:
CREATE FILTER CRITONLY AS 'Severity = 5';
This command creates a filter named CRITONLY, which only forwards alerts with a severity level of
Critical (5).
Note: To perform string comparisons with filters, you must escape the quotes in the CREATE FILTER
command with backslashes. For example, to create a filter that only forwards alerts from a node called fred,
the CREATE FILTER command is:
To apply the filter to the ObjectServer reader shown in Figure 6 on page 75, add the following command
to the configuration file:
START READER NCOMS_READ CONNECT TO NCOMS USING FILTER CRITONLY;
The CREATE FILTER command is described in more detail in Filter Commands on page 108.
This command loads the file /usr/filters/myfilt.elf as a filter. This filter name is defined by
the Filter Builder Name field.
Note: The Name field must be alphabetical and must not contain spaces.
For more information about the Filter Builder, refer to the Netcool/OMNIbus User Guide.
You must also create your configuration file, described in Gateway Configuration on page 79.
Once you have defined the gateway communications and created your configuration file, you can run the
gateway.
Note: Some gateways have a different architecture than that described in this chapter, and do not use nco_
gate. For information about specific gateways, refer to the documentation available for each gateway on
the Micromuse Support Site.
This runs a gateway with the default name NCO_GATE and the default configuration file
$OMNIHOME/etc/NCO_GATE.conf.
To run a gateway with your own configuration, use command line options, as described in Gateway
Command Line Options on page 96. For example:
$OMNIHOME/bin/nco_gate -name ORA1 -config $OMNIHOME/etc/RDBMS.conf
This runs a gateway named ORA1 using a configuration file named RDBMS.conf.
Gateways should be configured to run under process control. Process control is described in the
Netcool/OMNIbus Administration Guide.
This runs a gateway with the default name NCO_GATE and the default configuration file
%OMNIHOME%\etc\NCO_GATE.conf.
To run a gateway as a console application with your own configuration, use the command line options, as
described in Gateway Command Line Options on page 96. For example:
%OMNIHOME%\bin\nco_gate -name ORA1 -config %OMNIHOME%\etc\RDBMS.conf
This runs a gateway named ORA1 using a configuration file named RDBMS.conf.
You can configure how gateways are started using the Services window as follows:
Note: If you are running a gateway on UNIX, you must be a member of the UNIX user group that is
allowed to log into a gateway. By default, this is the ncoadmin user group. You may need to ask your
system administrator to create this group. The -admingroup command line option is described in
Gateway Command Line Options on page 96.
Use the SQL interactive interface to connect to a gateway as a specific user. For example:
Table 18: Connecting to the Gateway Using the SQL Interactive Interface
In these commands, servername is the name of the gateway and username is a valid user name. If you
do not specify a user name, the default is the user running the command.
You are prompted to enter a password. On UNIX, the default is to enter your UNIX password. To
authenticate users using other methods, use the -authenticate command line option, described in
Gateway Command Line Options on page 96.
After connecting with a user name and password, a numbered prompt is displayed.
1>
You can enter commands to configure the gateway dynamically. The following example shows a session in
which new routes are added:
$ nco_sql -server NCO_GATE
Password:
User 'admin' logged in.
1> ADD ROUTE FROM DENCO_READ TO ARS_WRITER;
2> ADD ROUTE FROM DENCO_READ TO OS_WRITER;
3> go
1>
If you want to disable interactive configuration, add the following line to the end of the gateway
configuration file:
SET CONNECTIONS FALSE;
You can then use the saved configuration file for other gateways.
First stop any running readers and writers manually with the STOP command. Then use the DUMP
CONFIG command to discard the current configuration.
The DUMP CONFIG command will not discard the configuration if any readers and writers are running or
if the configuration has been changed interactively, unless you use the FORCE option. To determine if the
configuration has been changed interactively, use the SHOW SYSTEM command, described in SHOW
SYSTEM on page 115.
Once you have dumped the configuration, you can load a new configuration with the command:
LOAD CONFIG FROM 'filename';
When the writer detects that the target ObjectServer or database is not present or is not functioning (usually
because the writer is unable to write an alert), it switches into store mode. In this mode, the writer stores
everything it would normally send to the database in a file named:
$OMNIHOME/var/writername.destserver.store
In this file name, writername is the name of the writer and destserver is the name of the server to
which the gateway is attempting to send alerts.
When the gateway detects that the destination server is back on line, it switches into forward mode and sends
the alert information held in the .store file to the destination server. Once all of the alerts in the .store
file have been forwarded, the writer returns to normal operation.
Store and forward mode only works when a connection to the ObjectServer or database destination has been
established, used, and then lost. If the destination server is not running when the gateway starts, store and
forward mode is not triggered and the gateway terminates.
If the gateway connects to the destination ObjectServer and a store and forward file already exists, the
gateway replays the contents of the store and forward file before it sends new alerts.
Store and forward mode is configured using the attributes STORE_AND_FORWARD and STORE_FILE.
Note: Refer to the individual gateway documentation to determine whether an individual gateway supports
store and forward mode. Store and forward does not work with bidirectional gateway configurations, with
the exception of the bidirectional ObjectServer Gateway.
Secure Mode
You can run the ObjectServer in secure mode. When you start the ObjectServer using the -secure
command line option, the ObjectServer authenticates probe, gateway, and proxy server connections by
requiring a user name and encrypted password. When a connection request is sent, the ObjectServer issues
an authentication message. The probe, gateway, or proxy server must respond with the correct user name
and password. If the user name and password combination is incorrect, the ObjectServer issues an error
message and rejects the connection.
If the ObjectServer is not running in secure mode, probe, gateway, and proxy server connection requests are
not authenticated.
When connecting to a secure ObjectServer, the gateway must have the AUTH_USER and AUTH_
PASSWORD commands in the gateway configuration file. You can choose any valid user name for the
AUTH_USER gateway command. To generate the encrypted AUTH_PASSWORD, use the nco_g_crypt
utility, described in the Netcool/OMNIbus Administration Guide. The command takes the unencrypted
password and displays the encrypted password to be entered for the AUTH_PASSWORD command.
Note: If you are connecting to a version 3.6 ObjectServer, use the nco_crypt utility, rather than the
nco_g_crypt utility, to encrypt the password. If you are using PAM for authorization in your version
3.6 ObjectServer, you must use a plain text password.
The AUTH_USER and AUTH_PASSWORD commands must precede any reader commands in the gateway
configuration file. Before running the gateway, add the user name and corresponding encrypted password
to the configuration file, for example:
AUTH_USER 'Gate_User'
AUTH_PASSWORD 'Crypt_Password'
Note: ObjectServer gateways have been revised for Netcool/OMNIbus v7. To connect to a secure
ObjectServer from the ObjectServer Gateway, the gateway properties for the user name and password must
be set. For more information, see the guide for the ObjectServer Gateway.
The user name and encrypted password are stored in the USERNAME and PASSWORD attributes in the
gateway writer.
Note: If you are using a helpdesk gateway, substitute USER for USERNAME.
For example:
START WRITER SYBASE_WRITER
(
TYPE = SYBASE,
REVISION = 1,
SERVER = DARKSTAR,
MAP = SYBASE_MAP,
USER = 'SYSTEM',
PASSWORD = 'MKFGHIFE',
FORWARD_DELETES = TRUE
);
This type of error message indicates that the gateway has aborted because one of the reader or writer modules
failed. In this case, check the following log files:
NCO_GATE_XRWY_WRITE.log
or
NCO_GATE_XRWY_READ.log
Where X identifies the name of the gateway and Y identifies the version of that gateway.
• ObjectServer writer
• Sybase database writer
• Sybase Reporter writer
• SNMP writer
• ServiceView writer
• Socket writer
• Flat file writer
• Informix database writer
You must also ensure that the appropriate table exists in your ObjectServer. The default table is
NCOMS.conversions.targetname. In this example targetname is the name of the conversion
table specific to a gateway. For example, NCOMS.conversions.peregrine.
The Gateway Conversions window for the Gateway for Peregrine is displayed in Figure 9.
ObjectServer
table column
Conversion value
Converted value
The Gateway Conversion window title bar contains the ObjectServer name and table name being used. The
work area displays any existing conversions.
• The second column contains the values associated with the column.
Adding a Conversion
To add a new conversion:
Updating a Conversion
To update an existing conversion:
1. Select the conversion to update. The conversion details are populated with the existing values.
2. Update the values as required.
3. Click Apply.
Deleting a Conversion
To delete a conversion:
1. Select the conversion to delete. The conversion details are populated with the existing values.
2. Click the Delete button. You can undo the delete by clicking the Undo button.
3. Click Apply.
This chapter describes the command line options for nco_gate. It also describes gateway commands that
are common to all gateways.
Resynchronization commands are only valid for the ObjectServer Gateway, and are therefore described in
the guide for the ObjectServer Gateway.
For more information about specific gateways, refer to the documentation available for each gateway on the
Micromuse Support Site.
Option Description
-admingroup string Specifies the name of the UNIX user group that has administrator privileges. Members of
this group can log into the gateway. The default group name is ncoadmin.
-authenticate Specifies the authentication mode to use to verify user credentials. The options are UNIX,
PAM, and HPTCB.
UNIX | PAM | HPTCB
The default authentication mode is UNIX, which means that the Posix getpwnam or
getspnam function is used to verify user credentials on UNIX platforms. Depending on
system setup, passwords are verified using the /etc/password file, the /etc/shadow
shadow password file, NIS, or NIS+.
If PAM is specified as the authentication mode, Pluggable Authentication Modules are used
to verify user credentials. The service name used by the gateway when the PAM interface is
initialized is netcool. PAM authentication is available on Linux, Solaris, and HP-UX 11
platforms only.
If HPTCB is specified as the authentication mode, this HP-UX password protection system
is used. This option is only available on HP trusted (secure) systems.
-config string Specifies the name of the configuration file to be read at start up. The default is
$OMNIHOME/etc/gatename.conf.
-help Displays help information about the command line options and exits.
-logfile string Specifies the name of the log file. If omitted, the default is
$OMNIHOME/log/gatename.log.
-logsize integer Specifies the maximum size of the log file in KBytes. The minimum is 16 KBytes. The default
is 1 MByte.
-name string Specifies the gateway name. Specify this name following the -server command line
option to connect to the gateway using nco_sql.
-queue integer Specifies the size of the internal queues. The default is 1024. Do not modify unless advised
by Micromuse Support.
Option Description
-stacksize integer Specifies the size of the internal threads. The default is 256 KBytes. Do not modify unless
advised by Micromuse Support.
-uniquelog If -logfile is not set, this option forces the log file to be uniquely named by appending
the process ID of the gateway to the end of the default log file name.
If -logfile is set, this has no effect.
START READER
This section describes the START READER command.
Syntax
The syntax of the START READER command is:
START READER reader_name CONNECT TO server_name [ USING FILTER filter_name ]
[ ORDER BY 'column, ... [ ASC | DESC ]' ] [ AFTER IDUC DO 'update_command' ]
[ IDUC = integer ] [ JOURNAL_FLUSH = integer ] [ IDUC_ORDER ];
Usage
Starts a reader named reader_name which connects to an ObjectServer named server_name.
The optional USING FILTER clause, followed by the name of a filter that has been created using the
CREATE FILTER command, enables you to restrict the number of rows affected by gateway updates. The
filter replaces an SQL WHERE clause, so the gateway only updates the rows selected by the filter.
The optional ORDER BY clause instructs the gateway to display the results in sequential order, depending
on the values of one or more column names, in either descending (DESC) or ascending (ASC) order. If the
ORDER BY clause is not specified, no ordering is used.
The optional AFTER IDUC clause instructs the gateway to perform the update specified in the update_
command in the ObjectServer when it places alerts in the writer queue. This is used to provide feedback
when alerts pass through a gateway.
The value specified in the optional IDUC clause indicates an IDUC interval for gateways that is more
frequent than the value of the Granularity property set in the source ObjectServer. This enables
gateway updates to be forwarded to the target more rapidly without causing overall system performance to
deteriorate.
The value specified in the optional JOURNAL_FLUSH clause indicates a delay in seconds between when
the IDUC update occurs in the ObjectServer (every Granularity seconds) and when the journal entries
are retrieved by the gateway. Normally, only journal entries that have been made in the last Granularity
seconds are retrieved. When the system is under heavy load, set this clause so journal entries are retrieved for
the last integer + Granularity seconds. This prevents the loss of any journal entries that are created
after the IDUC update but before the gateway retrieves the entries. Any duplicate journal entries retrieved
are eliminated by deduplication.
The optional IDUC_ORDER clause specifies the order in which the IDUC data is processed. The default
processing mode for gateways is to process DELETE statements, followed by UPDATE statements, followed
by INSERT statements. Do not change this clause unless you have been advised to do so by Micromuse
Support.
Example
This example uses the Grade field as a state field. Initially, all probes set Grade to 0. The gateway filters
any alerts that have a Grade of 1. After the alerts have passed through the gateway, the AFTER IDUC
update provides alert state feedback by changing the value of the Grade field to 2.
STOP READER
This section describes the STOP READER command.
Syntax
The syntax of the STOP READER command is:
STOP READER reader_name;
Usage
Stops the reader named reader_name. This command will not stop the reader if the reader is in use with
any routes.
Example
SHOW READERS
This section describes the SHOW READERS command.
Syntax
The syntax of the SHOW READERS command is:
SHOW READERS;
Usage
Lists all the current readers that have been started and are running on the gateway. This command can only
be used interactively.
Example
SHOW READERS;
START WRITER
This section describes the START WRITER command.
Syntax
The syntax of the START WRITER command is:
START WRITER writer_name
( TYPE=writer_type , REVISION=number
[ , keyword_setting [ , keyword_setting ] ...] );
Usage
Starts a writer named writer_name. This is followed by a list of comma-separated keyword settings in
parentheses. The first setting must be a TYPE setting indicating the writer_type. The next setting must
be a REVISION setting. This is currently set to 1 for all writers. The remaining keywords and their settings
depend on the type of writer.
Example
STOP WRITER
This section describes the STOP WRITER command.
Syntax
The syntax of the STOP WRITER command is:
STOP WRITER writer_name;
Usage
Stops the writer called writer_name. If any route is using this writer, the writer will not be stopped.
Example
SHOW WRITERS
This section describes the SHOW WRITERS command.
Syntax
The syntax of the SHOW WRITERS command is:
SHOW WRITERS;
Usage
Lists all current writers in the gateway. This command can only be used interactively.
Example
1>SHOW WRITERS;
2>GO
Name Type Routes Msgq Id Mutex Id Thread
----------- ---- ------ ------- -------- ------
SNMP_WRITER SNMP 1 15 0 0x001b8cd0
1>
Syntax
The syntax of the SHOW WRITER TYPES command is:
SHOW WRITER TYPES;
Usage
Lists all the currently known types of writers supported by the gateway. This command can only be used
interactively.
Example
Syntax
The syntax of the SHOW WRITER ATTRIBUTES command is:
SHOW WRITER { ATTRIBUTES | ATTR } FOR writer_name;
Usage
Shows all the settings (attributes) of the writer named writer_name. The ATTRIBUTES keyword is
interchangeable with the abbreviated ATTR keyword.
Example
1>
CREATE MAPPING
This section describes the CREATE MAPPING command.
Syntax
The syntax of the CREATE MAPPING command is:
CREATE MAPPING mapping_name ( mapping [ , mapping ] );
Usage
Creates a mapping file named mapping_name for use by a writer. Mapping lines have the following
syntax:
{ string | integer } = { string | integer | name | real | boolean }
[ ON INSERT ONLY ] [ CONVERT TO { INT | STRING | DATE } ]
The first argument is an identifier for the destination field and the second argument is an identifier for the
source field (or a preset value).
The right-hand side of the mapping is dependent on the writer with which the mapping is to be used. Refer
to the appropriate writer section of the individual gateway guide, available on the Micromuse Support Site.
The optional ON INSERT ONLY clause determines the update behavior of the mapping. Without the ON
INSERT ONLY clause, the field is updated every time a change is made to an alert. With the ON INSERT
ONLY clause, the field is inserted at creation time (that is, when the alert appears for the first time) but is
not updated on subsequent updates of the alert even if the field value is changed.
The optional CONVERT TO type clause allows the mapping to define a forced conversion for situations
where a source field may not match the type of the destination field. The type can be INT, STRING, or
DATE. This forces the source field to be converted to the specified data type.
Example
DROP MAPPING
This section describes the DROP MAPPING command.
Syntax
The syntax of the DROP MAPPING command is:
DROP MAPPING mapping_name;
Usage
Removes the mapping named mapping_name from the gateway. This command will not drop the map
if it is being used by a writer.
Example
SHOW MAPPINGS
This section describes the SHOW MAPPINGS command.
Syntax
The syntax of the SHOW MAPPINGS command is:
SHOW MAPPINGS;
Usage
Lists all the mappings currently created in the gateway. This command can only be used interactively.
Example
Syntax
The syntax of the SHOW MAPPING ATTRIBUTES command is:
SHOW MAPPING { ATTRIBUTES | ATTR } FOR mapping_name;
Usage
Shows the mappings (attributes) of the mapping named mapping_name. The ATTRIBUTES keyword
is interchangeable with the abbreviated ATTR keyword. This command can only be used interactively.
Example
CREATE FILTER
This section describes the CREATE FILTER command.
Syntax
The syntax of the CREATE FILTER command is:
CREATE FILTER filter_name AS filter_condition;
Usage
Creates a filter named filter_name for use by a reader. The filter specification filter_condition
is an SQL condition. SQL conditions are described in the Netcool/OMNIbus Administration Guide.
Example
LOAD FILTER
This section describes the LOAD FILTER command.
Syntax
The syntax of the LOAD FILTER command is:
LOAD FILTER FROM 'filename';
Usage
Loads a filter from a file. Filter files have the .elf file extension.
Example
DROP FILTER
This section describes the DROP FILTER command.
Syntax
The syntax of the DROP FILTER command is:
DROP FILTER filter_name;
Usage
Removes the filter named filter_name from the gateway. The filter will not be dropped if it is being
used by a reader.
Example
ADD ROUTE
This section describes the ADD ROUTE command.
Syntax
The syntax of the ADD ROUTE command is:
ADD ROUTE FROM reader_name TO writer_name;
Usage
Adds a route between a reader named reader_name and a writer named writer_name to allow alerts
to pass through the gateway.
Example
REMOVE ROUTE
This section describes the REMOVE ROUTE command.
Syntax
The syntax of the REMOVE ROUTE command is:
REMOVE ROUTE FROM reader_name TO writer_name;
Usage
Removes an existing route between a reader named reader_name and a writer named writer_name.
Example
SHOW ROUTES
This section describes the SHOW ROUTES command.
Syntax
The syntax of the SHOW ROUTES command is:
SHOW ROUTES;
Usage
Shows all currently configured routes in the gateway. This command can only be used interactively.
Example
1>
LOAD CONFIG
This section describes the LOAD CONFIG command.
Syntax
The syntax of the LOAD CONFIG command is:
LOAD CONFIG FROM 'filename';
Usage
Loads a gateway configuration file from a file named in filename.
Example
SAVE CONFIG
This section describes the SAVE CONFIG command.
Syntax
The syntax of the SAVE CONFIG command is:
SAVE CONFIG TO 'filename';
Usage
Saves the current configuration of the gateway into a file named in filename.
Example
DUMP CONFIG
This section describes the DUMP CONFIG command.
Syntax
The syntax of the DUMP CONFIG command is:
DUMP CONFIG [ FORCE ];
Usage
Clears the current configuration. If the gateway is active and forwarding alerts, this command will not clear
the configuration unless the optional keyword FORCE is used.
Example
DUMP CONFIG;
SHUTDOWN
This section describes the SHUTDOWN command.
Syntax
The syntax of the SHUTDOWN command is:
SHUTDOWN [ FORCE ];
Usage
Instructs the gateway to shut down; all readers and writers are stopped. By default, the gateway is not shut
down if interactive changes to the configuration have not been saved. Refer to SHOW SYSTEM on page 115
for details on how to determine if the configuration has been changed interactively.
If the optional FORCE keyword is used, the gateway is shut down, even if the configuration has been
changed interactively.
Example
SHUTDOWN;
SET CONNECTIONS
This section describes the SET CONNECTIONS command.
Syntax
The syntax of the SET CONNECTIONS command is:
SET CONNECTIONS { TRUE | FALSE | YES | NO };
Usage
Enables or disables connections to the gateway using the SQL interactive interface. When set to FALSE or
NO, it is not possible to connect to the gateway with nco_sql. When set to TRUE or YES, it is possible
to connect to the gateway with nco_sql. This command determines whether interactive reconfiguration
is allowed.
Example
SHOW SYSTEM
This section describes the SHOW SYSTEM command.
Syntax
The syntax of the SHOW SYSTEM command is:
SHOW SYSTEM;
Usage
Displays information about the current gateway settings. The parameters returned are shown in Table 20.
Connections Status of the SET CONNECTIONS flag. Refer to SET CONNECTIONS on page 114.
Debug Mode Status of the SET DEBUG MODE flag. Refer to SET DEBUG MODE on page 116.
Configuration Changed If the configuration has been changed interactively, this is set to YES.
More parameters may be returned when in debug mode. This command can only be used interactively.
Example
Debug Mode NO
Multi User YES
Syntax
The syntax of the SET DEBUG MODE command is:
SET DEBUG MODE { TRUE | FALSE | YES | NO };
Usage
Sets the debugging mode of the gateway. When set to TRUE or YES, debugging messages are sent to the log
file. The default setting is NO or FALSE. This command should only be used under the advice of Micromuse
Support.
Example
TRANSFER
This section describes the TRANSFER command.
Syntax
The syntax of the TRANSFER command is:
TRANSFER 'tablename' FROM readername TO writername [ AS 'tableformat' ]
{ DELETE | DELETE condition | DO NOT DELETE }
[ USE TRANSFER_MAP ] [ USING FILTER filter_clause ];
Usage
Transfers the contents of one database table to another database table. You can use this command to transfer
tables between Sybase, Oracle, Informix, ODBC, CORBA, and Socket gateways.
The AS tableformat clause specifies the format of the destination table if it is different from the source
table format.
The DELETE and DO NOT DELETE clauses define how the destination table is processed. By default, the
contents of the destination table are deleted before the contents of the source table are transferred. You can
optionally specify a condition that determines whether the deletion will occur. If you specify DO NOT
DELETE, the contents of the destination table are not deleted before the contents of the source table are
transferred.
Note: The DELETE clause does not function with the Socket and CORBA gateways.
The USE TRANSFER_MAP clause instructs the gateway to use the mapping definition that is assigned as
the map to the writer used in the TRANSFER command. The USE TRANSFER_MAP clause is only
available for use with the Oracle Gateway.
An optional filter clause may be applied by specifying USING FILTER followed by the filter. Enter a valid
filter, as described in the CREATE FILTER command.
Example
This appendix contains information about how to use regular expressions. It contains the following section:
* Matches zero or more instances of The pattern ‘goo*’ matches ‘my godness’,
the preceding character or character ‘my goodness’, and ‘my gooodness’, but
pattern. not ‘my gdness’.
+ Matches one or more instances of the The pattern ‘goo+’ matches ‘my goodness’
preceding character or character and ‘my gooodness’, but not ‘my godness’.
pattern.
? Matches zero or one instance of the The pattern ‘goo?’ matches ‘my godness’
preceding character or character and ‘my goodness’, but not ‘my
pattern. gooodness’ or ‘my gdness’.
$ Matches the end of the string. The pattern ‘end$’ matches ‘the end’, but
not ‘the ending’.
^ Matches the beginning of the string. The pattern ‘^severity’ matches ‘severity
level 5’, but not ‘The severity is 5’.
. Matches any single character. The pattern ‘b.at’ matches ‘baat’, ‘bBat’,
and ‘b4at’, but not ‘bat’ or ‘bB4at’.
[abcd] Matches any characters in the square ^[A-Za-z]+$ matches any string that
brackets or in the range of characters contains only upper or lower case letter
separated by a hyphen (-), such as characters.
[0-9].
[^abcd] Matches any character except those [^0-9] matches any string that does not
in the square brackets or in the range contain any numeric characters.
of characters separated by a hyphen
(-), such as [0-9].
| Matches one of the characters or A(B|C)D matches ‘ABD’ and ‘ACD’, but not
character patterns on either side of ‘AD’, ‘ABCD’, ‘ABBD’, or ‘ACCD’.
the vertical bar.
This appendix contains ObjectServer database table information. It contains the following sections:
alerts.status Table
The alerts.status table contains status information about problems that have been detected by
probes, TSMs, and monitors.
Serial incr Yes The Netcool/OMNIbus serial number for the row.
Node varchar(64) Yes Identifies the managed entity from which the alarm
originated. This could be a host or device name,
service name, or other entity. For IP network devices or
hosts, the Node column contains the resolved name of
the device or host. In cases where the name cannot be
resolved, the Node column should contain the IP
address of the host or device.
NodeAlias varchar(64) No The alias for the node. For network devices or hosts,
this should be the logical (layer-3) address of the
entity. For IP devices or hosts, this should be the IP
address.
Manager varchar(64) Yes The descriptive name of the probe that collected and
forwarded the alarm to the ObjectServer. This can also
be used to indicate the host on which the probe is
running.
AlertKey varchar(64) Yes The descriptive key that indicates the managed object
instance referenced by the alert (for example, the disk
partition indicated by a file system full alert or the
switch port indicated by a utilization alert).
Severity integer Yes Indicates the alert severity level, which provides an
indication of how the perceived capability of the
managed object has been affected. The color of the
alert in the event list is controlled by the severity value:
0 - Clear
1 - Indeterminate
2 - Warning
3 - Minor
4 - Major
5 - Critical
Summary varchar(255) Yes The text summary of the cause of the alert.
FirstOccurrence time Yes The time in seconds (from midnight Jan 1, 1970) when
this alert was created or when polling started at the
probe.
LastOccurrence time Yes The time when this alert was last updated at the probe.
InternalLast time Yes The time when this alert was last updated at the
ObjectServer.
1 - Problem
2 - Resolution
3 - Netcool/Visionary problem
4 - Netcool/Visionary resolution
11 - More Severe
12 - Less Severe
13- Information
Class integer Yes The alert class used to identify the probe or vendor
from which the alert was generated. Controls the
applicability of context-sensitive event list tools.
1 - Escalated
OwnerUID integer Yes The user identifier of the user who is assigned to
handle this alert.
Acknowledged integer Yes Indicates whether the alert has been acknowledged:
0 - No
1 - Yes
Flash integer No Enables the option to make the event list flash.
ExpireTime integer Yes The number of seconds until the alert is cleared
automatically. Used by the Expire automation.
1 - Escalated
2 - Escalated-Level 2
3 - Escalated-Level 3
4 - Suppressed
5 - Hidden
6 - Maintenance
TaskList integer Yes Indicates whether a user has added the alert to the
Task List:
0 - No
1 - Yes
0 - Unknown
1 - Root cause
2 - Symptom
LocalNodeAlias varchar(64) Yes The alias of the network entity indicated by the alert.
For network devices or hosts, this is the logical
(layer-3) address of the entity, or another logical
address that enables direct communication with the
device. For use in managed object instance
identification.
LocalPriObj varchar(255) No The primary object referenced by the alert. For use in
managed object instance identification.
LocalSecObj varchar(255) No The secondary object referenced by the alert. For use
in managed object instance identification.
RemoteNodeAlias varchar(64) Yes The network address of the remote network entity. For
use in managed object instance identification.
0 - Not defined
1 - Communications
2 - Quality of Service
3 - Processing error
4 - Equipment
5 - Environmental
6 - Integrity violation
7 - Operational violation
8 - Physical violation
ServerSerial integer Yes The serial number of the alert on the originating
ObjectServer (if it did not originate on this
ObjectServer). Used by gateways to control the
propagation of alerts between ObjectServers.
Note: You can only display columns of type CHAR, VARCHAR, INCR, INTEGER, and TIME in the event
list. Do not add columns of any other type to the alerts.status table.
alerts.details Table
The alerts.details table contains the detail attributes of the alerts in the system.
AttrVal integer Boolean; when false (0), just the Detail column is valid. Otherwise, the Name
and Detail columns are both valid.
Sequence integer Sequence number, used for ordering entries in the event list Event Information
window.
alerts.journal Table
The alerts.journal table provides a history of work performed on alerts.
Serial integer Serial number of alert that this journal entry is related to.
Chrono time Time and date that this entry was made.
service.status Table
The service.status table is used to control the additional features required to support Netcool/ISMs.
0 - Good
1 - Bad
2 - Marginal
3 - Unknown
StateChange time Indicates the last time the service state changed.
LastGoodAt time Indicates the last time the service was Good (0).
LastBadAt time Indicates the last time the service was Bad (1).
LastMarginalAt time Indicates the last time the service was Marginal (2).
Note: You can only display columns of type CHAR, VARCHAR, INCR, INTEGER, and TIME in the event
list. Do not add columns of any other type to the alerts.status table.
Troubleshooting Techniques
This appendix lists all of the messages that are common to all probes, including ProbeWatch and
TSMWatch messages.
Refer to the individual probe guides for information about probe-specific messages.
• Fatal
• Error
• Warning
• Information
• Debug
Connection to ObjectServer The connection to the ObjectServer Check that the ObjectServer is
marked DEAD - aborting... ceased (and store and forward is not available.
enabled in the probe).
Failed to access OMNIHOME The probe was unable to locate the Check that the OMNIHOME
directory: "directory interfaces file. environment variable is set to the
name" correct destination.
Failed to connect - The ObjectServer is not available. Check that the ObjectServer is
aborting running, that the interfaces file on the
system where the probe is installed
has an entry for the ObjectServer, and
that there is no networking problem
between the two systems.
Failed to create property Internal errors. Refer to your support contract for
information about contacting the
Failed to define argument helpdesk.
Failed to initialise
Failed to process
arguments
Failed to read rules - A property or command line option is Check that the command line option
aborting pointing to a non-existent rules file. or properties file refers to the correct
rules file.
Field "field name" not The rules file being used refers to a Check the rules file and correct the
found in status table field of the format @fieldname problem.
which does not exist in the status
No matching field found
table.
for "field name"
Unknown data type returned The ObjectServer has returned Refer to your support contract for
from ObjectServer unknown data. information about contacting the
helpdesk.
Can't set generic property An option in the probe is not mapped Check the properties file for the
"property name" via correctly to a property. named property and refer to the
command line probe documentation for supported
properties.
Property "property name"
for option "option name"
does not exist
Could not send alert The probe was unable to send an Check that the ObjectServer is
alert (usually an internal alert) to the available.
ObjectServer.
Could not set "fieldname" The probe was unable to set a field Check if the ObjectServer tables have
field value. This may be because the been modified.
ObjectServer tables have been
modified so that default fields are no
longer present.
CreateAndSet failed The probe is unable to create an Refer to your support contract for
element. information about contacting the
CreateAndSet failed for helpdesk.
attr: "element name"
Error Setting SIGINT The probe was unable to set up a Refer to your support contract for
Handler signal handler for either an INT , information about contacting the
QUIT, or TERM. helpdesk.
Error Setting SIGQUIT
Handler
Failed to open file: "file A file referred to in the rules file (for Check the rules file and ensure the file
name" example, with the table function) is available.
does not exist.
Failed to open message The probe is unable to open the Check the command line or
log: "file name" specified log file. properties file and correct the
problem.
Failed to open Properties The probe is unable to open the Check the properties file or command
file: "properties file properties file. line to ensure the properties file is in
name" the specified location.
Failed to open Rules file: The probe is unable to open the rules Check the properties file or command
"rules file name" file. line to ensure the rules file is in the
specified location.
The rules file for the
probe is not available or
incorrectly specified.
No extraction data for A regular expression being used in Check the rules file and correct the
"regexp" - missing ()'s? the extract function may be problem.
missing parentheses.
Regexp doesn't match for
"string" The string data that is being used to
extract may not match the regular
expression.
Option "option name" used The option used expects a value Check the probe documentation and
without argument which has not been supplied. the contents of the command line.
OS Error: "error message" There is an error in the Sybase Refer to your support contract for
connection. There should be a information about contacting the
Procedure "procedure subsequent message from the probe helpdesk.
name": "error message"
which details the effect of this error.
Server "server name":
"error message"
Properties file: "error There is an error in the format of the Check the properties file at the
description" at line "line properties file. specified line number and correct the
no" problem.
PropGetValue failed A required property has not been set. Check the properties file.
Regular Expression Error: A regular expression is incorrectly Check the rules file for the regular
"regexp" formed in the rules file. expression and correct the problem.
Results processing failed There is a problem with the Refer to your support contract for
ObjectServer. information about contacting the
Unexpected return from
helpdesk.
results processing
Unexpected value during
results processing
Rules file: "error There is an error in the rules file Check the rules file at the specified
description" at line "line format or syntax. line number and correct the problem.
no"
SendAlert failed The probe was unable to send an Check that the ObjectServer is
alert to the ObjectServer. available.
SessionProcess failed The probe was unable to process the Refer to your support contract for
alert against the rules file. information about contacting the
helpdesk.
Unknown message level The properties file or command line Check the properties file or command
"message level string" - specified a message level which is not line and use a supported message
using WARNING level supported. level (debug, info, warning,
error, fatal).
Unknown option: "option An option has been used on the Check the probe documentation and
name" command line to start the probe the contents of the command line.
which is not supported by the probe.
Unknown property "property A property specified in the properties Check the properties file for the
name" - ignored file does not exist in the probe. named property and refer to the
probe documentation for supported
properties.
Failed to install Client There is a problem with the The probe will try to continue.
Message Callback ObjectServer.
Failed to retrieve
connection status -
attempting to continue
Failed to set SYBASE in The probe was unable to override the Check that the SYBASE environment
environment SYBASE environment variable. variable is correctly set.
New value for field "field A string being copied into an alert Check the rules file.
name" truncated to field has had to be truncated to fit the
"number" characters field.
Type mismatch for property A property has been set with the Check the properties file or command
"property name" - new wrong data type. line to ensure that the property is
value ignored correctly set.
Using stderr for logging The probe was unable to open a log No action required. The probe is
file. writing messages to stderr.
A value for "string" A value requested from a lookup No action required. The function in
doesn’t exist in lookup table is not available. the rules file will return an empty
table "table name" string.
Attempted to duplicate An error or problem has occurred in No action required. The library will
NULL string the memory allocation or string handle the problem.
handling components of the probe
Attempted to free NULL library.
pointer
Failed to reallocate
memory block at address
"hex address" (Requested
size was "number" bytes)
New value for field "field A field value has been set. N/A
name" is "value"
ProbeWatch and TSMWatch messages are processed in the rules file and converted into alerts like other
events. Table C6 shows the elements common to ProbeWatch and TSMWatch events.
Going down ... The probe or TSM is shutting down. The probe or TSM is executing a
shutdown routine.
Running ... The probe or TSM has started The probe or TSM has just been
running. started.
Unable to get events ... The probe or TSM encountered a There was a problem initializing the
problem while listening for events. connection or there was a license or
connection failure after some events
were received. Refer to your support
contract for information about
contacting the helpdesk.
Refer to the individual probe guides for additional summary strings for each probe.
TSMWatch messages are in the same format as ProbeWatch messages. Table C8 describes summary strings
common to all TSMs.
Resynchronisation Attempted ... Messages relating to synchronizing current alerts between N/A
the switch and Netcool/OMNIbus.
Resynchronisation Succeeded ...
Section Description
Common Problem Causes on page 148 This section contains a list of common problem causes. If you are unsure
what your problem is, you should start by reading this part and following
the instructions. If you cannot solve your problem by following the
instructions in this part, move on to the section What to Do If on page 149.
What to Do If on page 149 This section describes common symptoms caused by probe problems
and step-by-step instructions to help you locate and solve the problem. If
none of the headings in this section match the symptoms of your
problem, read through the lists of instructions and make sure that you
have tried all of the most likely solutions listed there.
For information about setting the OMNIHOME and NETCOOL_LICENSE_FILE environment variables,
refer to the Netcool/OMNIbus Installation and Deployment Guide.
For information about solving rules file problems, refer to Chapter 2: Probe Rules File Syntax on page 27.
For information about probe properties, refer to Chapter 3: Probe Properties and Command Line Options on
page 59. Check that all of the properties are set correctly in the probe properties file. For example, check that
the Server property contains the correct ObjectServer or proxy server name and that the RulesFile
property contains the correct rules file name.
If you cannot solve the problem, read through the next section and make sure that you have tried all of the
most likely solutions listed there.
What to Do If
The headings in this section describe the most common symptoms of probe problems. Find the heading that
most closely describes your problem and follow the instructions until you have located the cause and solved
the problem:
Problem See...
The event list fields are not being populated properly. page 153
If none of the headings match the symptoms of your problem, read through the lists of instructions and
make sure that you have tried all of the most likely solutions listed there. If you have tried all of the suggested
problem solutions and your probe still does not work, refer to your support contract and contact the
helpdesk.
1. Run the probe in debug mode as described in Debugging Rules Files on page 55.
2. Check that the ObjectServer is running by trying to connect using nco_ping or nco_sql.
If you can connect successfully, the ObjectServer is running. If the ObjectServer is not running, this
is likely to be the cause of the problem. For more information about using the ObjectServer and
nco_sql, refer to the Netcool/OMNIbus Administration Guide.
3. Check that there are no other probes running with the same configuration using the commands:
ps -ef | grep nco_p
A list of probe processes is displayed. Check that none of the processes correspond to the same type of
probe. You cannot run two identical probe configurations because this would duplicate all of the
events forwarded to the ObjectServer.
4. Check that you have enough licenses available to start another probe by entering:
$NCLICENSE/bin/nc_print_license
If you do not have enough licences to run another probe and you cannot stop any of the other probes,
contact the helpdesk to request another license.
5. Check that you are using the correct probe for the current version of the target software.
6. Check that there are no syntax errors in the rules file. Refer to Testing Rules Files on page 54 for more
information about how to do this.
7. Check that your system has not run out of system resources and can launch more processes. You can
do this using df -k or top. Refer to the df and top man pages for more information about using
these commands.
8. Check to see if the $OMNIHOME/var/probename.saf store and forward file exists. If it exists,
check that it has not become too large. If your disk is full, the probes and ObjectServers are not able
to work properly.
Warning: Store and forward is not designed to handle very large numbers of events. Left unattended,
! a store and forward file will continue to grow until it runs out of disk space. Refer to Probe Properties
and Command Line Options on page 59 for information about setting the MaxSAFFileSize
property.
9. Check that the store and forward file has not been corrupted. If the store and forward file has been
corrupted there should be an error message in the log file
($OMNIHOME/log/probename.log). If the file is corrupted, delete it and restart the probe.
10. Check that the probe binary you are trying to run is the correct one for the current architecture by
entering:
$OMNIHOME/bin/arch/probename -version
Check that the probe version matches your system architecture.
If you are running the probe on a remote host:
11. Check that the probe host can connect to the ObjectServer host using the ping command. Try to
ping the ObjectServer host machine using the hostname and the IP address. Refer to the ping man
page for more information about how to do this.
If you cannot connect to the ObjectServer host using the ping command, there is a problem with
the connection between your probe host and your ObjectServer host.
12. Check that the ObjectServer has been configured correctly in the Server Editor (nco_xigen) and
that the interfaces information has been distributed to the ObjectServer and probe hosts. Refer to the
Netcool/OMNIbus Installation and Deployment Guide for more information.
13. Check to see if there is a firewall between the probe host and the ObjectServer host. If there is, make
sure that the firewall will allow traffic between the probe and the ObjectServer.
11. Check that the probe host can connect to the ObjectServer host using the ping command. Try to
ping the ObjectServer host machine using the hostname and the IP address. Refer to the ping man
page for more information about how to do this.
If you cannot connect to the ObjectServer host using the ping command, there is a problem with
the connection between your probe host and your ObjectServer host.
12. Check that the ObjectServer has been configured correctly through the Server Editor (nco_xigen)
and that the interfaces information has been distributed to the ObjectServer and probe hosts. Refer to
the Netcool/OMNIbus Installation and Deployment Guide for more information.
13. Check to see if there is a firewall between the probe host and the ObjectServer host. If there is, make
sure that the firewall will allow traffic between the probe and the ObjectServer.
1. Run the probe in debug mode as described in Debugging Rules Files on page 55.
2. Check that the event source you are trying to probe is working correctly. Refer to the documentation
supplied with your element manager for more information about how to do this.
3. Check that the probe event source has events to send to the ObjectServer.
4. Check that all of the properties in the properties file are set correctly. For example, check that the
Server property contains the correct ObjectServer name and that the RulesFile property
contains the correct rules file name.
5. Check for any discard functions in the probe rules file. The discard function discards events
based on specified conditions. Refer to Deleting Elements or Events on page 40 for more information.
1. Run the probe in debug mode as described in Debugging Rules Files on page 55.
2. Check that the probe can connect to the event source.
3. Check to see if the $OMNIHOME/var/probename.saf store and forward file exists. If it exists,
check that it has not become too large. If your disk is full, the probes and ObjectServer will not be
able to work properly.
Warning: Store and forward is not designed to handle very large numbers of alerts. Left unattended,
! a store and forward file will continue to grow until it runs out of disk space. Refer to Probe Properties
and Command Line Options on page 59 for information about setting the MaxSAFFileSize
property.
4. Check that the store and forward file has not been corrupted. If the store and forward file has been
corrupted there should be an error message in the probe log file
($OMNIHOME/log/probename.log). If the store and forward file is corrupted, delete it and
restart the probe.
1. Run the probe in debug mode as described in Debugging Rules Files on page 55.
2. Check that fields which are not being populated properly are being correctly mapped to elements in
the rules file. Refer to Chapter 2: Probe Rules File Syntax on page 27 for more information about
configuring rules files.
3. Check that it is not a GUI problem by querying the alerts.status table using ObjectServer
SQL. Refer to the Netcool/OMNIbus Administration Guide for more information about using the
SQL interactive interface to view the table information.
Gateway_name Writer: The gateway failed to allocate Try to free more memory.
HashAlloc failure in _ memory.
gateway_name CacheAdd().
Gateway_name Writer:
MemStrDup() failure in _
gateway_name CacheAdd().
Gateway_name Writer: Failed The gateway failed to allocate Try to free more memory.
to allocate memory. memory.
Gateway_name Writer writer_ The gateway failed to allocate Try to free more memory.
name: Could not create memory.
serial cache - memory
problems.
Gateway_name Writer: Failed The writer failed to lock the Refer to your support contract for
to lock connection mutex. ObjectServer feedback connection in information about contacting the
order to access the connection and helpdesk.
feed back problem ticket data for the
associated alert. This lock failure may
be due to insufficient resources or as
a result of the underlying threading
system preventing a deadlock
between multiple threads that are
contending for the resource.
Gateway_name Writer: Failed This error message comes from the Refer to your support contract for
to re-acquire alert details gateway cache reclamation information about contacting the
from OS. sub-system. This message indicates helpdesk.
that the gateway failed to re-acquire
the trouble ticket number and
reclaim its internal cache entry from
the ObjectServer.
Gateway_name Writer: Serial The gateway tried to add a serial Refer to your support contract for
x already in serial Cache. number that already exists. information about contacting the
Cannot add. helpdesk.
Gateway_name Writer: Serial The gateway could not delete this You do not need to do anything.
x not found in serial alert because it has already been
cache. Cannot Delete. deleted in Netcool/OMNIbus.
Gateway_name Writer writer_ The gateway could not locate the Check that the module is installed in
name: Failed to construct reader/writer module application. the correct location.
path to gateway_name
Read/Write Module.
Gateway_name Writer writer_ Failed to construct the argument list Check that the arguments in the
name: Failed to construct for gateway module. configuration file are set correctly.
the argument list for
gateway_name Module.
Gateway_name Writer writer_ Failed to create the GPCModule due Try to free more memory.
name: GPCModule creation to insufficient memory.
failed.
Gateway_name Writer writer_ Failed to start the ObjectServer to Check that the module is installed in
name: Failed to start the gateway reader or writer module. the correct location and that the file
OS-gateway_name Writer. permissions are set correctly.
Gateway_name Writer writer_ Failed to stop gateway writer Check the writer log file for more
name: Failed to shutdown module. information.
gateway_name Writer.
Gateway_name Writer writer_ Failed to construct the path to the Check that the module is installed in
name: Failed to construct gateway read/write module the correct location and that the file
path to gateway_name application. permissions are set correctly.
Read/Write Module.
Gateway_name Writer writer_ Cannot find the module binary. Check that the module is installed in
name: Failed to find the the correct location and that the file
gateway_name Read/Write permissions are set correctly.
Module [x].
Gateway_name Writer writer_ The module’s file permissions are set Check that the module is installed in
name: Incorrect permissions incorrectly. the correct location and that the file
on the gateway_name module permissions are set correctly.
binary [x].
Gateway_name Writer writer_ The gateway writer failed to create Try to free more memory.
name: Failed to create the the necessary data protection
Serial Cache Mutex. structure for the internal serial
number cache due to insufficient
resources. This is generally due to
insufficient memory.
Gateway_name Writer writer_ The gateway writer failed to create Try to free more memory.
name: Failed to create the the necessary data protection
Conn Mutex. structure for the ObjectServer
connection due to insufficient
resources.
Gateway_name Writer writer_ The gateway failed to spawn the Check that the gateway can access
name: Failed to start the service thread. the ObjectServer.
gateway_name-to-OS service
thread.
Gateway_name Writer writer_ The gateway did not shut down Check the writer log file for more
name: Failed to send a cleanly. information.
shutdown request to the
gateway_name Writer.
Failed to install SIGCHLD The gateway failed during handler Refer to your support contract for
handler. installation. information about contacting the
helpdesk.
Failed to install SIGPIPE
handler.
No <mapname> attribute for The gateway could not find the map Check the configuration file.
gateway_name writer writer_ name.
name.
<mapname> attribute is not Incorrect writer name given. Check the configuration file.
a name for gateway_name
writer writer_name.
A MAP called <map> does not The gateway could not find specified Check the configuration file.
exist for gateway_name map.
writer writer_name.
MAP <map> is invalid for The given map is not valid. Check the configuration file.
gateway_name writer writer_
name.
Map <map> is not the If this map is not the journal map, Check the JOURNAL_MAP_NAME
journal map and cannot then the JOURNAL_MAP_NAME attribute in the gateway
contain the <journal map attribute is set incorrectly. configuration file.
name> map item in gateway_
name Writer writer_name.
Gateway_name Writer: Failed The gateway failed to send a given Check the log files for more
to send gateway_name Event event. information.
to the gateway_name Writer
module.
Gateway_name Writer: Failed There was an error in retrieving the Check the log files for more
to wait for return from the success statement. information.
gateway_name Writer module.
Gateway_name Writer: Failed The gateway failed to retrieve the Check the log files for more
to read the status return status of a module. information.
message from the gateway_
name Writer module.
Gateway_name Writer: Failed The module failed to send the event Check the log files for more
to send event to gateway_ to gateway. information.
name.
Gateway_name Writer: There was a fatal error. Check the log files for more
gateway_name Writer Module information.
experienced Fatal Error.
Gateway_name Writer: Failed The gateway received unexpected Refer to your support contract for
to send event to gateway_ type. information about contacting the
name. Unknown type. helpdesk.
Gateway_name Writer: Failed The gateway failed to build indexes. Check that the Serial column
to build serial index. exists in the ObjectServer
alerts.status table.
Incorrect data type for the The gateway did not receive the Check that the data type for the
Serial column. correct data type. Serial column in the ObjectServer
alerts.status table is an
integer.
Gateway_name Writer: Failed The gateway failed to get the server Check that the ServerSerial
to build server serial serial index. column exists in the ObjectServer
index. alerts.status table.
Incorrect data type for the The gateway did not receive the Check that the data type for the
Server Serial column. correct data type. ServerSerial column in the
ObjectServer alerts.status
table is an integer.
Gateway_name Writer: Failed The gateway failed to get the server Check that the ServerName
to build server name index. name index. column exists in the ObjectServer
alerts.status table.
Incorrect data type for the The gateway did not receive the Check that the data type for the
Server Name column. correct data type. ServerName column in the
ObjectServer alerts.status
table is a string.
Gateway_name Writer: Failed The gateway could not find the field Refer to your support contract for
to find field <fieldnumber> number it was looking for. information about contacting the
in gateway_name Event. helpdesk.
Gateway_name Writer: The gateway received an invalid field Refer to the Netcool/OMNIbus
Invalid field name for name. Administration Guide for
expansion on action SQL information about ObjectServer SQL.
[<field>].
Gateway_name Writer: The gateway did not find an Check the action.sql file.
Unenclosed field expansion enclosing bracket.
request in action SQL [<sql
action>].
Gateway_name Writer: Failed The gateway failed to send a notify This is an internal error. Refer to your
to turn counter-part command. support contract for information
notification back-on. Fatal about contacting the helpdesk.
error in gateway_name-to-OS
Feedback.
Gateway_name Writer: Failed
to turn counter-part
notification off.
Gateway_name-to-OS Feedback
failed.
Gateway_name Writer: Failed The gateway failed to send the SQL Check the ObjectServer log file.
to send SQL command to command to the ObjectServer.
ObjectServer.
Gateway_name-to-OS Feedback
failed.
Failed to find the column The gateway failed to find the given Check that the given column name is
<column_name> in map <map_ column. entered correctly in the
name>. configuration file and that it appears
in the ObjectServer
alerts.status table.
Gateway_name Writer: Failed The writer failed to lock the This lock failure may be due to
to lock the cache mutex. ObjectServer feedback connection in insufficient resources or as a result of
order to access the connection and the underlying threading system
feed back problem ticket data preventing a deadlock between
changes for the associated alert. multiple threads that are contending
for the resource.
Failed to find cached The gateway failed to find the Check that the specified ticket was
problem ticket for serial specified cache problem ticket originally created by the gateway.
<serial number> using map number.
<map name>.
Gateway_name Writer: Failed After access to the cache, an attempt Refer to your support contract for
to unlock the cache mutex. to unlock the data structures information about contacting the
protection lock failed. This message helpdesk.
indicates that the gateway is in a
position which will lead to a
deadlock situation.
Gateway_name Writer: Cache The gateway could not add the serial Try to free more memory.
add error. to the serial cache due to insufficient
resources.
Gateway_name Writer writer_ The gateway failed to create the Check the writer log file.
name: Failed to create journal event update.
gateway_name Event for
journal update.
Gateway_name Writer writer_ The gateway failed to send journal Check the writer log file.
name: Failed to send event update.
journal update event to
gateway_name.
<attribute name> attribute An attribute in the writer was of an Check the writer definition in the
is not a string for incorrect data type. configuration file.
gateway_name writer writer_
name.
No <attribute name> The gateway failed to find the Add the attribute to the writer
attribute for gateway_name attribute. definition in the configuration file.
writer writer_name given.
Gateway_name Writer writer_ An attempt to find the necessary Check the configuration file.
name: Failed to find the counterpart attribute failed.
<counterpart attribute>
attribute for the writer.
This is necessary due to
bi-directional nature.
Gateway_name Writer writer_ The gateway found an incorrect data Check the configuration file.
name: Is not a name for an type.
Object Server reader.
Gateway_name Writer writer_ The reader was not found. Check the counterpart configuration
name: Reader <reader> was in the configuration file.
not found for counter part.
Gateway_name Writer writer_ This command failed to disable IDUC Refer to your support contract for
name: Failed to send SKIP on a bidirectional connection. information about contacting the
Command. helpdesk.
Connection to feedback The gateway failed to make Check the ObjectServer log file.
server failed. connection.
Failed to set the death The gateway failed to set the This is an internal error. Refer to your
call on the feedback necessary property. support contract for information
connection. about contacting the helpdesk.
Writer counterpart error. The gateway failed to find the Check the counterpart configuration
counterpart attribute for gateway in the configuration file.
writer.
Gateway_name Writer: Failed The gateway failed to stat the file Check the file access permissions for
to stat() the action SQL in order to determine its size. the specified action file.
file "filename".
Gateway_name Writer: Empty File "filename" is empty. Check the action SQL file.
action SQL file "filename".
Gateway_name Writer: Failed The gateway failed to open the file. Check the file permissions.
to open the action SQL file
"filename".
Gateway_name Writer: Failed The gateway failed to read the file. Check the file permissions.
to read the action SQL file
"filename".
Gateway_name Writer: No There is no action SQL in the file. Check the file.
Action SQL find in file
"filename".
Gateway_name Writer writer_ The gateway failed to read the Check the file permissions.
name: Failed to read the conversions table.
conversions table.
Gateway_name Writer: Failed The gateway has received a Problem Refer to your support contract for
to find PM %s in cache for Management Open return event information about contacting the
return PMO event. from gateway for the problem ticket. helpdesk.
When an attempt was made to look
up the problem ticket number in the
writer’s cache, in order to determine
the serial number of the ticket’s
associated alert, no record could be
reclaimed or found.
Gateway_name Writer: Open The gateway failed to construct the Check the ObjectServer SQL file.
Feedback Failed. open action SQL statement or send
the SQL action command to the
server.
Gateway_name Writer: No There is no update action SQL Check the configuration file.
Update action SQL for statement.
gateway_name Update event.
Gateway_name Writer: Failed The gateway has received a Problem Refer to your support contract for
to find PM %s in cache for Management Update return event information about contacting the
return PMU event. from gateway for the problem ticket. helpdesk.
When an attempt was made to look
up the problem ticket number in the
writer’s cache in order to determine
the serial number of the ticket’s
associated alert, no record could be
reclaimed or found.
Gateway_name Writer: Update The gateway failed to construct the Check the ObjectServer log file.
Feedback Failed. open action SQL statement or send
the SQL action command to the
server.
Gateway_name Writer: Failed The gateway has received a Problem Refer to your support contract for
to find PM %s in cache for Management Journal return event information about contacting the
return PMJ event. from gateway for the problem ticket. helpdesk.
When an attempt was made to look
up the problem ticket number in the
writer’s cache in order to determine
the serial number of the ticket’s
associated alert, no record could be
reclaimed or found.
Gateway_name Writer: The gateway failed to construct the Check the ObjectServer log file.
Journal Feedback Failed. open action SQL statement or send
the SQL action command to the
server.
Gateway_name Writer: Failed The gateway has received a Problem Refer to your support contract for
to find PM %s in cache for Management Close return event information about contacting the
return PMC event. from gateway for the problem ticket. helpdesk.
When an attempt was made to look
up the problem ticket number in the
writer’s cache in order to determine
the serial number of the ticket’s
associated alert, no record could be
reclaimed or found.
Gateway_name Writer: Close The gateway failed to construct the Check the ObjectServer log file.
Feedback Failed. open action SQL statement or send
the SQL action command to the
server.
Received error code <code> The gateway received an error Check the module log files.
from Reader/Writer Module - message.
[<message>].
Gateway_name Writer: Failed The gateway failed to read the event Check the reader log files.
to read gateway_name event sent by the gateway reader module.
from gateway_name Reader
Module.
Gateway_name Writer: The gateway received an unknown Refer to your support contract for
Received event of type event type. information about contacting the
<event type> which was helpdesk.
unexpected.
Gateway_name Writer: The gateway received an invalid Refer to your support contract for
Received invalid known known message. information about contacting the
message from Reader/Writer helpdesk.
Module for this system.
Gateway_name Writer: The gateway received an invalid Refer to your support contract for
Received unknown message unknown message. information about contacting the
from Reader/Writer Module. helpdesk.
Gateway_name Writer: Failed The gateway failed to block due to a Refer to your support contract for
to block on data feed from shutdown request. This message is information about contacting the
gateway_name Reader Module. displayed when the gateway is helpdesk.
shutting down.
Gateway_name Writer: Fatal A thread exited unexpectedly. Check the gateway log files.
thread termination.
Stopping gateway.
<attribute name> attribute An attribute name is not recognized. Check the gateway log files.
is not a string for The gateway will ignore it.
gateway_name writer writer_
name - IGNORED
<attribute name> attribute An attribute name has not been set Check the gateway configuration
must be set to TRUE or to TRUE or FALSE. file.
FALSE for writer writer_
name.
Gateway_name Writer writer_ The gateway failed to shut down Check the module log file.
name: Failed to shutdown reader/writer modules.
gateway_name Reader/Writer
Modules.
Gateway_name Writer writer_ The disconnect of feedback channel Check the ObjectServer log file.
name: Failed to disconnect failed.
feedback connection.
Failed to create gateway_ The gateway writer failed to allocate Try to free more memory.
name event structure for a a gateway event structure for a
problem management open problem management open event
event in writer writer_ due to insufficient memory
name. resources.
Gateway_name Writer: The gateway failed to store the Check the ObjectServer log file.
FEEDBACK FAILED!! problem number.
Failed to create journal The gateway failed to create journal. Check the writer log file.
for gateway_name writer
writer_name (from INSERT)
Failed to create gateway_ The gateway writer failed to allocate Try to free more memory.
name event structure for a a gateway event structure for a
problem management update problem management update event
event in writer writer_ due to insufficient memory
name. resources.
Gateway_name Writer writer_ The gateway failed to delete serial This is an internal error. You can
name: Failed to delete number from cache. ignore it.
problem ticket from cache
for serial <serial number>.
Failed to create gateway_ The gateway writer failed to allocate Try to free more memory.
name event structure for a a gateway event structure for a
PMC event in writer writer_ Problem Management Close event
name. due to insufficient memory
resources.
Index
Symbols C
$ symbol CHAR data type 134
in probe rules files 28 command line options
% symbol gateways 96
in probe rules files 29 probes 61
@ symbol comparison operators
in gateway mappings 81 in probe rules files 38
in probe rules files 17, 28 configuration commands
@Identifier 17, 18 gateways 112
@Tally 18 configuration files
gateways 79
nco_gate.conf 79
A
CORBA probes 13
ADD ROUTE gateway command 81, 110
correlation of events 18
alerts.details table 130
COUNTERPART attribute in gateways 76
alerts.journal table 131
CREATE FILTER gateway command 82, 108
alerts.status table 124
CREATE MAPPING gateway command 105
API probes 12
arithmetic functions
in probe rules files 43 D
arithmetic operators data types 134
in probe rules files 37 database probes 12
arrays date functions
in probe rules files 30 in probe rules files 44
AUTH_PASSWORD gateway command 89 debugging
AUTH_USER gateway command 89 probes 20, 148
rules files 55
deduplication 18, 47
B
deleting
bidirectional gateways 73
elements in probe rules files 40
bit manipulation operators
details function
in probe rules files 38
in probe rules files 48
BOOLEAN data type 134 device probes 11
DROP FILTER gateway command 109
I N
Identifier field 16, 18 nco_g_crypt 20, 61, 89
IDUC 98 nco_gate 96
IF statements in rules files 32, 56 nco_gate.conf file 79
include files nco_gate.log file 91
in probe rules files 34
nco_gwconv 93
INCR data type 134
nco_objserv 60
INTEGER data type 134 ncoadmin user group 86, 96
INTEGER64 data type 134
nested IF statements in rules files 56
J O
Java probes 13 ObjectServer
data types 134
L ON INSERT ONLY flag in gateways 82
LOAD CONFIG gateway command 87, 112
LOAD FILTER gateway command 108 P
log file probes 11 password encryption 20, 89
log function pattern matching 119
in probe rules files 49
Ping probe 15
logical operators probes
in probe rules files 39 API 12
lookup tables arithmetic functions in rules files 43
in probe rules files 45 arithmetic operators in rules files 37
arrays in rules files 30
bit manipulation operators in rules files 38
M
command line options 61
mappings comparison operators in rules files 38
commands 105 components 14
in gateways 81 CORBA 13
math functions data acquisition 17
in probe rules files 43 database 12
math operators date functions in rules files 44
in probe rules files 37 debugging 20, 148
messagelevel command line option 55 debugging rules files 55
Corporate
USA Micromuse Inc. (HQ) 1-800-Netcool (638 2665) +1 415 538 9091 http://www.micromuse.com
139 Townsend Street
+1 415 538 9090
San Francisco
CA 94107
USA
EUROPE Micromuse Ltd. +44 (0) 20 8875 9500 +44 (0) 20 8875 9995 http://www.micromuse.co.uk
Disraeli House
90 Putney Bridge Road
London SW18 1DA
United Kingdom
ASIA-PACIFIC Micromuse Ltd. +61 (0) 8 9213 3400 +61 (0) 8 9486 1116 http://www.micromuse.com.au
Level 2
26 Colin Street
West Perth
Perth WA 6005
Australia
Technical Support
EUROPE +44 (0) 20 8877 0073 (London, UK) +44 (0) 20 8875 0991
ASIA-PACIFIC +61 (0) 8 9213 3470 (Perth, Australia) +61 (0) 8 9486 1116
[email protected] http://support.micromuse.com/helpdesk/licenses