Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Checks if updates (core, plugins & themes) for wordpress exist. Works also for wordpress version 2.9+ Based on http://exchange.nagios.org/directory/Uncategorized/Check-Wordpress-Versions/details
Current Version
0.1
Last Release Date
2010-12-25
Owner
Holger
License
GPL
Compatible With
Hi, I'm trying to use this plugin with NRPE but I'm getting a strange error : Your PHP installation appears to be missing the MySQL extension which is required by WordPress. When I run the command on the remote host, it's working fine. In my nrpe.cfg I've defined the function as follow : command[check_wp]=/opt/libexec/check_wp_version /web/wp Any idea of what should be wrong ?
Looks ok, but it does not work properly for WP greater 3.0. Here are my findings: 1. It always signals a CRITICAL state for core updates. Don't know why, but $wp_version is 3.0 and my installed one is 3.3.1. So the if statement fires... 2. The warning in line 52 comes because of unclean coding. It is only a warning, but a simple check, if the value you want to iterate over, if it is "false" will fix it and is a cleaner approach ;) If I have the time, I will have a second look on it. But maybe you can also check and fix it. Cheers, Holger
I (with PHP 5.2.6) allways get this error, when i execute it: ./check_wp_version /srv/www/sc-rheinau/html/ Warning: Invalid argument supplied for foreach() in /opt/nagios check_wp_version on line 52 OK - core ok ; plugins ok ; themes ok Where is the mistake?
You must be logged in to submit a review.
To:
From: