Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Trend Micro OfficeScan
92033
File | Description |
---|---|
check_office_scan.exe | Precompiled executable |
check_office_scan.js | Check plugin JScript source |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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
-v
-t
-u
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)
byj.santos, July 20, 2016
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!
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!
bystadium28, June 23, 2015
ive tryed to recompile but the registry key its missing in office scan 10 with a 2012 server.
Regards
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.
the Tool is nice thx, but it can not do with 64 Bit Systems. A change would be that become this 64 bit capable.
byMaxWinterstein, August 4, 2013
throws file.io not found exception on win2012srv german.