Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
cwas-nagios
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
cwas-nagios is a perl script for nagios, this script parses output from PerfServlet servlet, a that work for see websphere internals, like:
* Memory usage
* Cpu Usage
* Garbage Collection time
* Garbage Collection Interval
* Webcontainer threads
* Webcontainer hang threads
* Number of connections to some datasource
* Sessions alive
* Servlet time for war and some particular servlet
Installation, you need install this perl modules:
* use LWP::Simple;
* use XML::Simple;
* use Data::Dumper;
* use Getopt::Long;
And enable PMI & install perfservlet in Websphere Application Server
Usage for monitoring:
* --warning .- warning value
* --critical.- critical value
* --type .- war container
* --port .- default_host port server .-
* --server ip for websphere application server
* --subtype
* For network deployment add --servername and --nodename
*include autentication to websphere
* Memory usage
* Cpu Usage
* Garbage Collection time
* Garbage Collection Interval
* Webcontainer threads
* Webcontainer hang threads
* Number of connections to some datasource
* Sessions alive
* Servlet time for war and some particular servlet
Installation, you need install this perl modules:
* use LWP::Simple;
* use XML::Simple;
* use Data::Dumper;
* use Getopt::Long;
And enable PMI & install perfservlet in Websphere Application Server
Usage for monitoring:
* --warning .- warning value
* --critical.- critical value
* --type .- war container
* --port .- default_host port server .-
* --server ip for websphere application server
* --subtype
* For network deployment add --servername and --nodename
*include autentication to websphere
Reviews (1)
byray_nagios, February 28, 2012
$ perl cwasnd-nagios.pl --type jvm --warning 300 --critical 400 --servername HRMTEST01 --nodename asatest01 --user user123 --pass "changeme" --server example.domain.com --port 9081 --subtype mem
Use of uninitialized value in sprintf at cwasnd-nagios.pl line 77.
Use of uninitialized value in sprintf at cwasnd-nagios.pl line 79.
Illegal division by zero at cwasnd-nagios.pl line 80.
====
Terribly broken script, written in Perl, XML format the script expects is different, too many problems, might as well rewrite the script from scratch
Use of uninitialized value in sprintf at cwasnd-nagios.pl line 77.
Use of uninitialized value in sprintf at cwasnd-nagios.pl line 79.
Illegal division by zero at cwasnd-nagios.pl line 80.
====
Terribly broken script, written in Perl, XML format the script expects is different, too many problems, might as well rewrite the script from scratch
Owner's reply
Hello, I apologize for leaving the script a little bit ditched, would appreciate you send me suggestions for include as a fix, my email address is rdario.ga@gmail.com if you want send me comments
thanks in advance
Dario Garcia