Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_jboss_status
1.0
2011-01-12
- Nagios 2.x
- Nagios 3.x
GPL
111431
File | Description |
---|---|
nagios-jboss-check.tar.bz2 | Check script and license |
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!
I didn't like the Jboss checks that I've found which require Java or remote-run, so I wrote this. It's a simple check that looks at memory usage and busy threads. I did this with percentage thresholds to make it dynamic.
Usage: check_jboss_status.pl [-H] [-P ] [-t ]
[-m] [-a ]
[-h]
-H The host to connect to (default: localhost)
-P The port to connect to (default: 8080)
-a The AJP ports to check for (default: 8009)
-h The HTTP ports to check for (default: 8080,8443)
-t The percentage of threads busy for warning
(default: 80,50)
-m The percentage of memory used for warning
(default: 80,50)
Example:
check_jboss_status.pl -H jboss.example.com -P 8080 -t 90,75 -m 75,50 -a 8009 -h
8080,8443
This will check the host "jboss.example.com" on port "8080" and
issue a warning at 75% thread busy or a critical alert at 90% thread
usage, or a warning at 50% or critical at 75% JVM memory usage checking.
for AJP port 8009 and HTTP ports 8080 and 8443.
Usage: check_jboss_status.pl [-H
[-m
[-h
-H
-P
-a
-h
-t
(default: 80,50)
-m
(default: 80,50)
Example:
check_jboss_status.pl -H jboss.example.com -P 8080 -t 90,75 -m 75,50 -a 8009 -h
8080,8443
This will check the host "jboss.example.com" on port "8080" and
issue a warning at 75% thread busy or a critical alert at 90% thread
usage, or a warning at 50% or critical at 75% JVM memory usage checking.
for AJP port 8009 and HTTP ports 8080 and 8443.
Reviews (2)
No matter what host I point it to, I get:
[root@nagios1 ]# perl ./check_jboss_status.pl -H jboss.somecorp.com -P 8080 -t 90,75 -m 75,50 -a 8009 -h 8080
Unable to load status: Bad file descriptor
[root@nagios1 ]#
Would be nice to have some debugging flags.
[root@nagios1 ]# perl ./check_jboss_status.pl -H jboss.somecorp.com -P 8080 -t 90,75 -m 75,50 -a 8009 -h 8080
Unable to load status: Bad file descriptor
[root@nagios1 ]#
Would be nice to have some debugging flags.
bym.pinotti, October 5, 2011
Two issues make the plugin unusable:
- does not support authentication (but you can specify user:pass@host as "-H" param)
- does not parse correctly the /status page (parses as text and not as html)
- does not support authentication (but you can specify user:pass@host as "-H" param)
- does not parse correctly the /status page (parses as text and not as html)