Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Check the status for mod_jk loadbalancers via XML download from status URL.
Current Version
Last Release Date
2014-08-26
Owner
Nagios Exchange
check_jk_status
Check the status for mod_jk loadbalancers via XML download from status URL. The plugin will return CRITICAL if one or more nodes from the JK loadbalancer are down.
Dirk Weinhardt submitted a patch to that allows jk-status with just one balancer to be parsed.
First off, thank you for contributing. But here is some constructive criticism. - Learn how to compress a file, why would you compress it twice? - Inefficient Perl programming, the plugin uses a wget to grab the xml from jkstatus/?mime=xml ... Why not just use XML::Simple and slurp it directly into a hashref? my $xml = XMLin($url). Since your already using LWP. Just look at some of the apache status plugins for an example. I am re-writing and will be uploading the updated plugin.
I solved the probrem as follows. 1. Download check_jk_status-0.1.gz 2. gzip -d check_jk_status-0.1.gz 3. mv check_jk_status-0.1 check_jk_status-0.1.gz 4. gzip -d check_jk_status-0.1.gz
Hi.. How would I go about extracting the inner file? I untar'ed the downloaded .gz, but the contents of that file appeared to be repacked into another archive... Many Thanks In Advance...
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!