Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
NsClientExt_Check_Locks_MsSQL.vbs
0.0.0.2
2013-08-16
- Nagios 3.x
GPL
33287
File | Description |
---|---|
NsClientExt_Check_Locks_MsSQL.vbs | NsClientExt_Check_Locks_MsSQL.vbs |
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!
' 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
'
'
'
' **************************************************
'
' 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
'
'
'
' **************************************************
Reviews (0)
Be the first to review this listing!