Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_sophos
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!
When SNMP is not an option this is pretty useful.
' Script: check_sophos.vbs
' Ripped from the check_av plugin by Matt White
' Version: 0.2
' changelog: added check x64 support 6-DEC-2012
' Updated code by robert.fults001@gmail.com
' Date: Nov. 11, 2011
' Details: Check that the current virus definition date for Sophos Antivirus is within acceptable bounds
' NSC.ini:
' check_sophos=cscript.exe //NoLogo scriptscheck_sophos.vbs /W:$ARG1$ /c:$ARG2$
' Call with:
' ./check_nrpe -H 10.9.48.185 -c check_sophos -a 0 1
' Script: check_sophos.vbs
' Ripped from the check_av plugin by Matt White
' Version: 0.2
' changelog: added check x64 support 6-DEC-2012
' Updated code by robert.fults001@gmail.com
' Date: Nov. 11, 2011
' Details: Check that the current virus definition date for Sophos Antivirus is within acceptable bounds
' NSC.ini:
' check_sophos=cscript.exe //NoLogo scriptscheck_sophos.vbs /W:$ARG1$ /c:$ARG2$
' Call with:
' ./check_nrpe -H 10.9.48.185 -c check_sophos -a 0 1
Reviews (2)
Great script for checking windows machines with sophos. Although the enterprise console does this, it's useful for monitoring individual important servers. This also is useful because it is written in vbs and can be applied to 2003 machines as well as 2008!
C:Program FilesNSClient++scriptscheck_sophos.vbs(28, 3) Microsoft VBScript runtime error: Type mismatch: 'Cint'
Owner's reply
How are you calling the check and what OS are you running this on? I have this script running with no issues on several Windows Server 2003 and 2008 R2 instances.