Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Wordpress Versions
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!
Uses the integrated update mechanisms of wordpress to check for available updates.
Works with WP 2.8.*
Works with WP 2.8.*
Reviews (2)
byDewey, June 8, 2011
http://foobar.lamp-solutions.de/howtos/wordpress/sicherheit/sicherheits-einzelansicht/artikel/wordpress-mit-nagios-ueberwachen.html
byhteske, December 25, 2010
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);
?>
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);
?>