Omnibus – ZTACS Limited http://ztacs.com Mon, 15 Feb 2016 10:08:33 +0000 en-US hourly 1 https://wordpress.org/?v=5.6.2 http://ztacs.com/wp-content/uploads/2018/03/cropped-ztacs_logo.fw_-32x32.png Omnibus – ZTACS Limited http://ztacs.com 32 32 Installing and Configuring the Netcool Omnibus SCOM 2007 Probe http://ztacs.com/installing-and-configuring-the-netcool-omnibus-scom-2007-probe/ Mon, 15 Feb 2016 10:08:33 +0000 http://www.solutioning.eu/?p=873 In this article we will install and configure the Netcool Omnibus SCOM 2007 Probe. The probe will be installed on a separate machine and will contact the SCOM server across the network.

The following steps will be performed to achieve the integration:

  • Install probe support
  • Install the SCOM probe
  • Configure the SCOM probe to communicate with the probe server and connect to the Omnibus server
  • Configure SCOM to work with the probe

We used Netcool Omnibus version 7.4 and Windows 2008 R2 for the operating systems.

Install probe support

Start the installation by executing the install.exe coming with the Netcool Ombibus Server installation image.

netcool-install-splashClick OK to continue the installation.

pre-installAccept the license agreement then click Next to start the configuration of the Autonomic Deployment Engine.

autonomicnextSelect Do not change at the Deployment Engine Access Permission windows and click Next to continue the installation.

select-destination-folderSelect the Destination Folder and click Next to continue. We used the default folder offered.

choose-install-setSelect Custom at the Install Set selection and click Next.

select-probe-support-onlySelect Probe Support only and continue the installation by clicking the Next button.

click-install-probe-supportClick Install to kick off the installation procedure.

restart-windows-probe-supportReboot your windows system to finalize the installation.

Install the SCOM probe

Unpack the probe zip file into a directory of your choice.

start-installation-probeStart the nco_install_integration.vbs located in C:\IBM\Tivoli\Netcool\omnibus\install if you used the default omnibus installation folder.

netcool-install-splashClick OK to continue the installation.

select-probe-to-installLocate the directory where you unpacked the probe file. You need to specify the directory that contains the COI directory then click Next.

install-probeAccept the License Agreement at the next screen then click Install to start the installation of the SCOM probe.

install-complete-probeThe installation of the SCOM probe is now complete.

Configure the SCOM probe to communicate with the probe server and connect to the Omnibus server

As a first step you need to specify your omnibus servers in the server editor.

start-server-editor-omnibus

You can start the server editor by going to the Start Menu -> Netcool Suite -> System Utilities -> Servers Editor

netcool-configure-objectservers

Add your object servers on the list in the server editor, you can delete whatever you find there by default as it is irrelevant for the current setup.

SDK-locationThe next step is to move the SCOM SDK files from the SCOM Server to the probe machine. You will need to have the copy the following files in the following directories:

  • C:\Program Files\System Center Operations Manager 2007\SDK Binaries\BinariesMicrosoft.EnterpriseManagement.OperationsManager.dll
  • C:\Program Files\System Center Operations Manager 2007\SDK Binaries\Microsoft.EnterpriseManagement.OperationsManager.Common.dll

The following task is to modify the probe’s configuration file.The probe files are located in C:\IBM\Tivoli\Netcool\omnibus\probes\win32 directory if you used the default installation folder. Modify the scom2007r2.props file by adding the following:

Server                        :       “AGG_P”
ServerBackup                  :       “AGG_B”
ConnectorName                    :       “Netcool probe”
ConnectorUser                    :       “youruser”
ConnectorPassword                :       “yourpassword”
ConnectorDomain                :       “yourdomain”
ScomHost                        :       “your_scom_hostname_or_ip”

probe-startedNow you should start the probe with the following command: C:\IBM\Tivoli\Netcool\omnibus\probes\win32\nco_p_scom2007_r2.exe If the probe stays running that means it has successfully connected to both the Object server and the SCOM 2007 Server.

Configure SCOM to work with the probe

netcool-connectorOnce the probe connects to the SCOM server successfully it will create the Netcool Probe product connector.

scom-groupsWe set up a group called netcool and assigned 2 Windows 2008 servers to it.

subsriptionsIf you need to filter on what nodes or events should hit the Probe, you can do so by setting up a groups and assigning them to the Netcool probe connector. Click on the Add button.

add-netcool-test-groupAssign a name to the Subscription then click Next.

approve-groups-scomSelect “netcool” from the groups list then click Next.

approve-targetsLeave the default option at the approve targets screen and click Next.

select-criteria-scomSelect the desired items you would like to have alerts raised for and click Create.

netcool-connectedThe subscription is now created and the events should start flowing across to Omnibus.

SCOM-events

]]>
Integrating Omnibus and PRTG using SNMP probe http://ztacs.com/integrating-omnibus-and-prtg-using-snmp-probe/ Mon, 19 Oct 2015 12:03:00 +0000 http://www.solutioning.eu/?p=840 This guide contains instructions for configuring PRTG Network Monitor software to send SNMP traps to a Omnibus.

Prerequisites:

  • working Omnibus instance
  • SNMP probe (mttrapd) installed and configured

More info on installing and configuring mttrapd.

First step is importing the MIB file.

PRTG Network monitor comes with a MIB file called PRTG-MIB.mib this file you can find in PRTG installation directory. Open mib manager utility to do the import.

/app/IBM/tivoli/netcool/omnibus/bin/nco_mibmanager

PRTG-MIB.mib is depending on SNMPv2-SMI , RFC-1215 and SNMPv2-TC  MIB files, so make sure they are accessible. (all of them are in the default MIB set of Omnibus)

As we see , the trap OID is 0.10  (1.3.6.1.4.1.32446.0.10) , and other attributes can be defined with OIDs 1.1, 1.2, 1.3, and 1.4.

SNMP traps sent by PRTG always use SNMP V1 format. The following OIDs will be included in the trap:

1.3.6.1.4.1.32446.1.1.1: MessageID (as defined by the user in the Field “Message ID”)
1.3.6.1.4.1.32446.1.1.2: An integer representing the event that triggered the notification:
0 = State ended
1 = State started
2 = Volume reached
3 = Speed not reached
4 = Speed reached
5 = Threshold not reached
6 = Threshold reached
7 = Value changed
1.3.6.1.4.1.32446.1.1.3: The state of the object:
0 = None
1 = Unknown
2 = Collecting Data
3 = Up
4 = Warning
5 = Down
6 = No Probe
7 = Paused by User
8 = Paused by Dependency
9 = Paused by Schedule
10 = Unusual
11 = Paused by License
12 = Paused until
13 = Down (Acknowledged)
14 = Down (Partial)
1.3.6.1.4.1.32446.1.1.4: The message text of the notification as defined by the user.

Select the top level enterprise OID from OID browser, click export rules file. Select location for the rules file, and choose rules file type.

Select standalone if you use this SNMP source only, or Netcool knowledge library to export master rules and include rules for more kind of sources.

Now open PRTG Enterprise Console, and navigate to Setup -> Notifications  and create a new notification type clicking “add new notification” button.

Select “Send SNMP Trap” option, and enter connection info:

  • SNMP probe hostname or IP address
  • Port
  • Community string
  • Specific Trap Code  (10)
  • Message ID (used for filtering)
  • Message (configurable using PRTG specific parameters. See PRTG Help for info )

Save the notification and test it clicking “Test” button next to Notification you just created.

Now (if you’re lucky) an event pops up on Omnibus console.

This event is not formatted, ( fe.: Summary field is empty ) so you have to create mappings between PRTG Trap OID values and Omnibus fields. You can do it by editing the rules file you generated before.

Locate the following section :

And edit the Omnibus fields ( @Agent, @Summary, etc. ) enter the information what you want to present on your console. The values of the four OIDs sent with the trap are

  • 1.1 = $paesslerPrtgTrapID
  • 1.2 = $paesslerPrtgTrapEvent
  • 1.3 = $paesslerPrtgTrapSensorstate
  • 1.4 = $paesslerPrtgTrapMessage

In our example Summary field will contain the value of paesslerPrtgTrapMessage OID, but you can customize other fields as well.

Modifications Required on Omnibus Server

Extend the size of the Summary filed in the Alerts table from 255 to at least 1024 as PRTG sends long problem descriptions and it won’t fit into the 255 character default.

modsummaryIn order to make it work with the SNMP probe modify the probe’s def file located in /opt/IBM/tivoli/netcool/omnibus/var/

Replace the value from 255 to 1024:

Identifier 2 255 1
Serial 0 4 0
Node 2 64 0
NodeAlias 2 64 0
Manager 2 64 0
Agent 2 64 0
AlertGroup 2 255 0
AlertKey 2 255 0
Severity 0 4 0
Summary 2 1024 0
StateChange 1 4 0
FirstOccurrence 1 4 0
LastOccurrence 1 4 0
InternalLast 1 4 0
Poll 0 4 0

Restart the probe.

And the final result :

prtgsummary

 

]]>