jinjie / Nagios-WordPress-Update

Nagios plugin to check for WordPress update on a remote server without NRPE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could it detect headers, so returns critical if wp-version.php not found

fredbradley opened this issue · comments

I'm getting an 'OK' message when this check is run on Wordpress installs where the wp-version.php has yet to be installed.

It would be good to put an extra check so that if anything other than a 200 header response came back it would return critical.

Example use case: Developer wanting to know if end user has deleted their version checker script! Or if a virus has got in a removed the file.