Monday Jan 09, 2012

Wls2Rss: Logs and JMX Alerts from WebLogic 12c (and 11,10) into Feeds

Please Post a comment below here to request the war file of Wls2Rss, i'll sent back an mail with attached it as soon as possible.

Wls2Rss is not a new technology for monitoring WebLogic 12, nor wants to replace the monitoring tools already provided by the product, such as:

  • The Administration Console
  • WebLogic Scripting Tool
  • Weblogic Diagnostic Framework
  • Enterprise Manager
  • JRockit Mission Control

Wls2Rss is a simple application, made on some practical experiences and on a very very simple but extraordinarily effective idea, useful for production and development environment, where the monitoring is done on a multitude of systems and domains, without adequate control, mostly for lack of staff or time.

{ IDEA }:
Warn me whenever there is something that can be considered outside the normal execution of the systems. The way I will be alerted, would be based on a Desktop and/or Mobile standards tools, and no through standard protocols for integration technology, useful in the integration between products, but almost never accessible directly from the control operators.
Allow me to subscribe only the systems to which concerned my attentions, being able to decide the basis and the alert threshold. The whole using the Monitoring WebLogic  Technologies provides from the product yet.

Wls2Rss

Now that we have found a simple and standard way to be updated in real time with new "news", there you can use a huge amount of reading tools, the so-called readers.
Wls2Rss intercept in real-time information coming from Weblogic 12 (11, 10) and makes them available via RSS feeds, so you can subscribe and receive, as well as information on traffic, sports, politics, also information regarding our domains WebLogic 12 (11.10).

Data Feed / RSS (from wikipedia)
"Data feed is a mechanism for users to receive updated data from data sources. It is commonly used by real-time applications in point-to-point settings as well as on the world-wide web. The latter is also called Web feed. News feed is a popular form of Web feed. RSS feed makes dissemination of blogs easy.
RSS feeds benefit publishers by letting them syndicate content automatically. A standardized XML file format allows the information to be published once and viewed by many different programs. They benefit readers who want to subscribe to timely updates from favorite websites or to aggregate feeds from many sites into one place.
RSS feeds can be read using software called an "RSS reader", "feed reader", or "aggregator", which can be web-based, desktop-based, or mobile-device-based. The user subscribes to a feed by entering into the reader the feed's URI or by clicking a feed icon in a web browser that initiates the subscription process. The RSS reader checks the user's subscribed feeds regularly for new work, downloads any updates that it finds, and provides a user interface to monitor and read the feeds. RSS allows users to avoid manually inspecting all of the websites they are interested in, and instead subscribe to websites such that all new content is pushed onto their browsers when it becomes available."

A simple and standard way to be updated in real time with new "news", using a huge amount of reading tools, the so-called readers. Now we need to understand how Wls2Rss can intercept this information and being converted into real-time feeds, so you can subscribe to and receive, as well as traffic information, sports, politics, also information regarding our domains WebLogic 12 (11.10).

firefox_rss_reader

Wls2Rss intercept the log informations passing through the various servers log file and the centralized domain log file. In addition Wls2Rss is a native WLDF (WebLogic Diagnostic Framework) JMX notifications subscriber, according to the various "Watch" set.

So for example we may want subscribe the logs of the various domains and their respective servers with different levels of severity, and also all the JMX notifications from WLDF raise specific thresholds or aggregated with respect to the various components of WebLogic 12c: Resources, Connections, Availability.
You can also enable specific search filters over rows of logs, looking for a particular text. Viewing all in one of the many tools for rss feed reader, such as the Apple Mac's Mail application for real time monitoring of any problems that may occur on different instances of WebLogic 12 domains.

Wls2Rss is a simple web application, released as a standard war. Its installation is very simple, just install (deploy) and activate (target) the application on the server where you want the feeds be produced. Important to remember that if you wish to use the feeds of the domain log, you must install wls2rss also on the Weblogic 12 Administration server.

You can still change some default parameters through the standard application deployment descriptor, the web.xml.
The parameters are:

server_log_enabled : To enable or disable the server log feed (Valid value: true, false. Default value: true)

domain_log_enabled : To enable or disable the domain log feed (Valid value: true, false. Default value: true).

jmx_listener_enabled : To enable or disable the WLDF JMX Subscriber feed (Valid value: true, false. Default value: false)

min_log_level: Minimum entry log severity to be considered from the feed engine (Valid value are: DEBUG, INFO, WARNING, ERROR. Default value is WARNING)

max_items_feed : Maximum number of feed entries before rotate as FIFO strategy. (Min value : 1. Max value : 3000. Default value : 50).

feed_charset : To specify a custom Charset on which will be produced the feeds.


configuration parameters


Once installed the application, can be called directly via url: 

http://[host]:[port]/wls2rss

example: http://127.0.0.1:7001/wls2rss

And then access the three feeds. Simple, fast and effective. You can subscribe by phone, web browser, from any feed reader rss / atom.

Here we are...
Ready to just choose and set preferred severity level  (WARNING or ERROR) on the "Wls2Rss", and install it on all our WebLogic 12 (11.10) domains, and you'll be notified directly when something is happening!!!

mac mail reader


Please Post a comment below here to request the war file of Wls2Rss, i'll sent back an mail with attached it as soon as possible.

Permalink http://blogs.oracle.com/slc/entry/weblogic_12_jmx_feed_log 

Author: Nino Guarnacci.


About

.. useful blog on java and middleware technologies.

Search

Archives
« January 2012 »
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    
       
Today