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

Login

Remember Me

Trend Micro OfficeScan

Rating
9 votes
Favoured:
1
Hits
87837
Files:
FileDescription
check_office_scan.exePrecompiled executable
check_office_scan.jsCheck plugin JScript source
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Check plugin to monitor the state of a Trend Micro Office Scan server.
Arguments:
-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]
check_office_scan=scriptscheck_office_scan.exe
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.

Regards
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.