Giter VIP home page Giter VIP logo

zbx-mssql's People

Contributors

mrlpm avatar platinumjay avatar sfuerte avatar tyron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zbx-mssql's Issues

Zabbix 3.2.4 import template have error

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.

Compatibility with Zabbix 3.2

Hello, would it be possible to make this template backwards compatible with Zabbix version 3.2?

Thanks for your time.

Why we need InstancesInfo.ps1

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

powershell scripts are not connecting mssql server

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

  • $connection.Open()
  •   + 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

  • $SqlAdapter.Fill($DataSet) > $null
  •   + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
      + FullyQualifiedErrorId : SqlException
    
    

{
"data":[

perf_counter does not work on windows with a language other than English

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 "

Cannot obtain performance information from collector

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....

Template fails to import under Zabbix 3.4.9 (havent tested on others)

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')".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.