sfuerte / zbx-mssql Goto Github PK
View Code? Open in Web Editor NEWZabbix Template for monitoring and collecting Microsoft SQL Server statistics.
License: GNU General Public License v3.0
Zabbix Template for monitoring and collecting Microsoft SQL Server statistics.
License: GNU General Public License v3.0
Hello,
I am trying to import template on zabbix 3.2.4, but have an error as follow:
Import failed Details Invalid tag "/zabbix_export/version": unsupported version number.
Thanks.
Centos6.8系统下如何安装和配置odbcinst tdsodbc unixodbc?
how i can pass different port in scripts?
i'm not using 1433
Hello, would it be possible to make this template backwards compatible with Zabbix version 3.2?
Thanks for your time.
There is a file in repo: zbx-mssql/scripts/InstancesInfo.ps1
And there is no description why it's here or when we need to use it.
I saw comment in the file - it doesn't unswers the question: 'why it's here?'
Plz add description to readme or in file comments
Hi,
Thanks for this nice tool.
I am trying to configure it but scripts are giving error and not connecting the mssql server.
I am getting below error, please help me to fix it.
PS C:\Users\Administrator> C:\Zabbix\scripts\mssql_basename.ps1
Exception calling "Open" with "0" argument(s): "A network-related or instance-specific error occurred while
establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance
name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider,
error: 40 - Could not open a connection to SQL Server)"
At C:\Zabbix\scripts\mssql_basename.ps1:30 char:1
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : SqlException
Exception calling "Fill" with "1" argument(s): "A network-related or instance-specific error occurred while
establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance
name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider,
error: 40 - Could not open a connection to SQL Server)"
At C:\Zabbix\scripts\mssql_basename.ps1:39 char:1
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : SqlException
{
"data":[
It's not a problem of yours but it's sure to affect users.
For information only: if your windows are not in English, you must translate the perf_counters parameters into your language, according to what is available on the Windows Server performance monitor.
In Sql server 2014 I did not find the key ": Access Methods "
Hi,
I am trying to import template on zabbix 3.0, but have an error
Import failed
Details Invalid tag "/zabbix_export/version": unsupported version number.
Thanks,
Areg
The item needs to be changed from Numeric (unsigned)
to Numeric (float)
Hi sfuete,
I am hoping you can help me :-)
I have successfully loaded zbx-mssql template into my Zabbix 3.4 server and it is fetching data with exception of SQL Server Statistic counters.
If I manually add $DBInstance in the perf_counter key I can fetch the data
perf_counter["\MSSQL$ACT7:Access Methods\Forwarded Records/sec"],
By default perf counter string is perf_counter["\SQLServer:Access Methods\Forwarded Records/sec"]
Where do I need to update the DBname in the perf counter key. Somewhere in ps scripts or is this information collected and added during discovery rule phase?
Thanks in advance....
Hello,
Template fails to import under Zabbix 3.4.9 (havent tested on others)
Error in query [INSERT INTO items (name,type,snmp_community,snmp_oid,delay,history,trends,status,value_type,units,snmpv3_contextname,snmpv3_securityname,snmpv3_securitylevel,snmpv3_authprotocol,snmpv3_authpassphrase,snmpv3_privprotocol,snmpv3_privpassphrase,params,ipmi_sensor,authtype,username,password,publickey,privatekey,port,description,inventory_link,logtimefmt,jmx_endpoint,key_,trapper_hosts,hostid,master_itemid,flags,itemid) VALUES ('SQL Server, Errors: Errors/sec (Total)','0','','','60s','90d','365d','0','0','','','','0','0','','0','','','','0','','','','','','Number of errors/sec.\r\n\r\nКоличество ошибок/с','0','','','perf_counter[\"\\SQLServer:SQL Errors(_Total)\\Errors/sec\"]','','10166',NULL,'0','34785')] [Incorrect string value: '\xD0\x9A\xD0\xBE\xD0\xBB...' for column 'description' at row 1] SQL statement execution has failed "INSERT INTO items (name,type,snmp_community,snmp_oid,delay,history,trends,status,value_type,units,snmpv3_contextname,snmpv3_securityname,snmpv3_securitylevel,snmpv3_authprotocol,snmpv3_authpassphrase,snmpv3_privprotocol,snmpv3_privpassphrase,params,ipmi_sensor,authtype,username,password,publickey,privatekey,port,description,inventory_link,logtimefmt,jmx_endpoint,key_,trapper_hosts,hostid,master_itemid,flags,itemid) VALUES ('SQL Server, Errors: Errors/sec (Total)','0','','','60s','90d','365d','0','0','','','','0','0','','0','','','','0','','','','','','Number of errors/sec.\r\n\r\nКоличество ошибок/с','0','','','perf_counter[\"\\SQLServer:SQL Errors(_Total)\\Errors/sec\"]','','10166',NULL,'0','34785')".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.