Perl based utility to extract formatted text content from MS Docx file
Docx2txt is a Perl based command-line utility to convert (even corrupted) Microsoft docx documents to reasonably formatted text files, along with appropriate character conversions. Apart from Perl it also requires a command line unzipping program like unzip/7z/pkzipc/wzunzip.
...Let me know otherwise (create a ticket!).
Installation is easy:
Just put the check-script inyour nagios server, and the other (included) script somewhere so that the check-script can find it (e.g. in the $PATH, or edit the check script for a custom location).