Home Directory Plugins Anti-Virus Trend Micro Trend Micro OfficeScan

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com


Remember Me

Trend Micro OfficeScan

9 votes
check_office_scan.exePrecompiled executable
check_office_scan.jsCheck plugin JScript source

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

Check plugin to monitor the state of a Trend Micro Office Scan server.
-v count virus infections in last days.
-t warn if more than infections were found in last days.
-u return error if last virus definition is older than days.

Default values: -v 10, -t 0, -u 8

Also returns an critical error if the service is not running.

To compile, use Microsofts Java Script Compiler (JSC,jsc.exe) included in MS .NET Framework.
Use this script with NRPE or NSClient++. For NSClient++ include as follows:

[NRPE Handlers]
Reviews (4)
Hi guys,
I re-compiled the file "check_office_scan.js" and it worked.
Open the file in the text edtitor and change the line number 102.

Before (win32):
var InstallKey = "HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\OfficeScan\service\Information\Local_Path";

After (win64):
var InstallKey = "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TrendMicro\OfficeScan\service\Information\Local_Path";

Save the file and re-compile using the own server .NET Framework:

Is usually in C:WINDOWSmicrosoft.netFramework64v(xxxxxx - .NET version)
Copy the "check_office_scan.js" file to this folder.
Open the command prompt, go to the .NET folder and run the command:

jsc.exe check_office_scan.js

Will generate a new executable compatible with Windows 64-bit!
ive tryed to recompile but the registry key its missing in office scan 10 with a 2012 server.

byabonow, December 30, 2014
Hi nagiosexchange

the Tool is nice thx, but it can not do with 64 Bit Systems. A change would be that become this 64 bit capable.
throws file.io not found exception on win2012srv german.