1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 3.75 out of 5)
Loading...

Update in: 5 March 2024


:

Important Notice: This plugin is no longer actively maintained or updated. We strongly advise you to explore alternative plugins available in our library for the latest features and support.

This script can monitoring a SqlServer using MSSQL Querys. 

Example: 

"<PowershellPATH>powershell.exe" querysql.ps1 -H hostname(optional) -U username(optional) -P password(optional) -Q 'MSSQL Query' 

If you run as Administrator the script, and your sql account has permissions too, this is the execution: 

"<PowershellPATH>powershell.exe" querysql.ps1 -Q 'MSSQL Query' 

Module data

module_begin 
module_name SQL Query 
module_type generic_data or generic_data_string 
module_exec "<PowershellPATH>powershell.exe" querysql.ps1 -H hostname(optional) -U username(optional) -P password(optional) -Q 'MSSQL Query' 
module_end

Files:

querysql.ps1

(Visited 1,380 times, 1 visits today)

For correct visualization of the Pandora FMS library extension, you must have installed version NG 760 or superior

X