Home Directory Plugins Databases Others NsClientExt_Check_Locks_MsSQL.vbs

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
Don't miss your chance to attend the 2014 Nagios World conference!

Don't miss your chance to attend the 2014 Nagios World Conference, Oct 13-16th. Informative Sessions, Networking, Food and Cocktails! Visit go.nagios.com/conference/ for more information or to register.


NsClientExt_Check_Locks_MsSQL.vbs

Bookmark and Share

Rating
0 votes
Favoured:
0
Current Version
0.0.0.2
Last Release Date
2013-08-16
Compatible With
  • Nagios 3.x
Owner
E-mail
License
GPL
Hits
10685
Files:
FileDescription
NsClientExt_Check_Locks_MsSQL.vbsNsClientExt_Check_Locks_MsSQL.vbs
' **************************************************
' NsClientExtCheckLocks.vbs
' **************************************************
' Version 0.0.0.2
' NsClient Custom Extention
' Writed 20130816 By Cedric G. -Groupe SNEF-
' **************************************************
' 20130828 - 0.0.0.2 - Add ComputerName
' **************************************************
' Usage > End Of File
' **************************************************
' **************************************************
'
' 1. Copy This Check in Directory Scripts : %PROGRAM_FILES%NSClient++Script
'
' 2. Add followings line in nsclient.ini
' >> NRPEServer = 1
' >> [/settings/external scripts/scripts]
' >> AliasScriptExt = cscript.exe //T:30 //NoLogo scriptsNsClientExt_Check_Locks_MsSQL.vbs /ARG_S:ServerName /ARG_D:DatabaseName /ARG_U:UserName /ARG_P:Password /ARG_W:Warning /ARG_C:Critical /ARG_T:TimeOutConnection
' Mandatory Arguments : ARG_S ARG_D ARG_U ARG_P
' TimeOut Argument is integer inferior or egal to 30
' Warning and Critical arguments are integer and Warning must be < to Critical
'
' 3. Restart NsClient++ Service
'
' 4. Configure Check in nagios
' check_nrpe -t 30 -u -H NrpeServer -c AliasScriptExt
'
'
'
' **************************************************