THIS KNOWLEDGE BASE HAS BEEN ARCHIVED AND IS NO LONGER BEING UPDATED
Please visit library.nagios.com/docs for the latest and most up-to-date documentation.
Home » Categories » Products » Nagios XI » Documentation » Configuration Wizards

Monitoring WebLogic on Windows

Monitoring Weblogic on Windows

This article details setup steps specific to monitoring WebLogic when on a Windows platform.

Prerequisites

This document is assumes you have the following:

  • A remote WebLogic server on a Windows platform

  • A Nagios XI server with a network route to the WebLogic server

The monitoring of the WebLogic server is performed by the WLSAgent. This can be accessed via NCPA. You must install NCPA on your Windows server.

Setup on the Windows Server

1. Download wlsagent tar from below URL :

http://{nagiosxi_address}/nagiosxi/includes/configwizards/java-as/plugins/wlsagent.tar.gz

2. Extract the archive and put all files into C:\Program Files (x86)\Nagios\NCPA\plugins

3. Execute the following commands to generate and copy the WebLogic client library files:

NOTE: $ORACLE_HOME is your Oracle/WebLogic application folder
cd $ORACLE_HOME\wlserver\server\lib
java -jar modules\com.bea.core.jarbuilder.jar

4. Copy the below files into : C:\Program Files (x86)\Nagios\NCPA\plugins\

  • wlclient.jar

  • wljmxclient.jar

  • wlfullclient.jar

5. Create a run.bat file at C:\Program Files (x86)\Nagios\NCPA\plugins with the below content :

@ECHO OFF
java -Xmx32m -cp "C:\Program Files (x86)\Nagios\NCPA\plugins\wlsagent.jar;C:\Program Files (x86)\Nagios\NCPA\plugins\servlet-api-2.5.jar;C:\Program Files (x86)\Nagios\NCPA\plugins\jetty-servlet-7.6.2.v20120308.jar;C:\Program Files (x86)\Nagios\NCPA\plugins\wlclient.jar;C:\Program Files (x86)\Nagios\NCPA\plugins\lib\wljmxclient.jar;C:\Program Files (x86)\Nagios\NCPA\plugins\lib\wlfullclient.jar;" net.wait4it.nagios.wlsagent.core.WLSAgent 0.0.0.0 9090

6. Create a vbs Script to run the batch file in silent and invisible mode: Create a file wlsagent_run.vbs with the below content:

Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "C:\Program Files (x86)\Nagios\NCPA\plugins\run.bat" & Chr(34), 0
Set WshShell = Nothing

7. Run the wlsagent_run.vbs by double clicking and the batch script will run as invisible/background.

8. To configure the Script to run at startup, open regedit and create a string value at the below location :

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

name: wlsagent_run

type: REG_SZ

Data: WScript C:\"Program Files (x86)"\Nagios\NCPA\plugins\wlsagent_run.vbs

9. To configure the Weblogic Monitoring Wizard from Nagios XI, see the The WebLogic Configuration Wizard section in Monitoring WebLogic.



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

4 (1)
Article Rating (1 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - Monitoring A MySQL Server
Viewed 8955 times since Wed, Jul 19, 2017
Nagios XI - How To Use The Bulk Host Cloning & Import Wizard
Viewed 10365 times since Wed, Jan 27, 2016
Nagios XI - How To Monitor A Websensor EM08
Viewed 7012 times since Thu, Jan 28, 2016
Nagios Log Server - Monitoring Using NCPA + Nagios XI
Viewed 10002 times since Mon, Sep 16, 2019
Nagios XI - How to Monitor an AKCP SensorProbe2 using SNMP
Viewed 9154 times since Thu, Jan 28, 2016
Monitoring Windows using NCPA
Viewed 7857 times since Wed, Jul 21, 2021
Nagios XI - Folder Watch Wizard
Viewed 18861 times since Tue, Mar 3, 2015
Nagios XI - Monitoring VMware With Nagios XI
Viewed 14899 times since Thu, Jan 28, 2016
Nagios XI - Core Config Manager - Escalation Wizard
Viewed 6035 times since Sun, Jul 30, 2017
Nagios XI - MultiTech MTR API Integration
Viewed 4185 times since Thu, Nov 29, 2018