Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Plugin checks your Wordpress installation for available updates.
Current Version
Last Release Date
February 4, 2010
Owner
Nagios Exchange
Uses the integrated update mechanisms of wordpress to check for available updates.
Works with WP 2.8.*
http://foobar.lamp-solutions.de/howtos/wordpress/sicherheit/sicherheits-einzelansicht/artikel/wordpress-mit-nagios-ueberwachen.html
updates as $update) { if($update->current != $wp_version) { $core_updates = 1; } } foreach($plugins->response as $plgupd) { $plugin_updates = 1; } foreach($themes->response as $thupd) { $theme_updates = 1; } if($core_updates) { $text = "core updates available!"; } else { $text = "core ok"; } if($plugin_updates) { $text .= " ; plugins updates are available!"; } else { $text .= " ; plugins ok"; } if($theme_updates) { $text .= " ; theme updates are available!"; } else { $text .= " ; themes ok"; } if($core_updates || $plugin_updates || $theme_updates) { print("CRITICAL - " . $text." "); exit(2); } else { print("OK - " . $text." "); exit(0); } print("CRITICAL - Error in check_wp_versions.php"); exit(2); ?>
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!