MantasTumenas / Zabbix-template-for-Microsoft-SQL-Server

Zabbix templates for Microsoft SQL Server. Features MS SQL performance counters. MS SQL instance Low Level Discovery. MS SQL database Low Level Discovery. MS SQL agent job Low Level Discovery. MS SQL database mirroring monitoring. MS SQL Always On monitoring. MS SQL Log Shipping monitoring. Supported versions Tested on Microsoft SQL Server 2012, 2014 and 2016. It may work with earlier versions, but some items (with missing performance counters) may be unsupported. For the extensive overview on the performance counters difference between MS SQL 2008 and MS SQL 2012 you can read here (https://blog.dbi-services.com/sql-server-2012-new-perfmon-counters/). Tested on Zabbix 3.4.0. It may work with earlier versions, but some items (for example service.info[service,]) may be unsupported. The template was started on Zabbix 2.4.0 but after each new Zabbix version, objects were modified or new things were added.
GNU General Public License v3.0
49 stars 27 forks source link

Value "Error executing query on !" of type "string" is not suitable for value type "Numeric (unsigned)" #10

Closed mksplmax closed 5 years ago

mksplmax commented 5 years ago

Hi

Thanks for template.

Template with discovery. sql 2014

SQL Server Databases Discovery database.mssql.status Value "Error executing query on !" of type "string" is not suitable for value type "Numeric (unsigned)" Can you help with this?

Thanks

MantasTumenas commented 5 years ago

Value "Error executing query on !" means you are getting some kind of error

On Mon, Mar 18, 2019 at 11:04 AM mksplmax notifications@github.com wrote:

Hi

Thanks for template.

Template with discovery. sql 2014

SQL Server Databases Discovery database.mssql.status Value "Error executing query on !" of type "string" is not suitable for value type "Numeric (unsigned)" Can you help with this?

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MantasTumenas/Zabbix-template-for-Microsoft-SQL-Server/issues/10, or mute the thread https://github.com/notifications/unsubscribe-auth/AthqTP9tdjH0RYjGBEHRgxDqRgocopFjks5vX1abgaJpZM4b5Q39 .

mksplmax commented 5 years ago

Hi. Thanks for help It all worked But one more question - if you know what status 31 means? Thanks

MantasTumenas commented 5 years ago

Hi. From value mapping. 31 means database is in AlwaysOn, Synchronized. Have you imported value mappings?

On Wed, 20 Mar 2019, 09:06 mksplmax, notifications@github.com wrote:

Hi. Thanks for help It all worked But one more question - if you know what status 31 means Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MantasTumenas/Zabbix-template-for-Microsoft-SQL-Server/issues/10#issuecomment-474711976, or mute the thread https://github.com/notifications/unsubscribe-auth/AthqTKJgizstLD5XV2n_ui80susZXEYCks5vYd3pgaJpZM4b5Q39 .

mksplmax commented 5 years ago

Thanks...Yes. But i see only from 1 to 10.... Zabbix Value Mapping.zip

mksplmax commented 5 years ago

deleted the value and imported again - everything became ok. ...Thank

MantasTumenas commented 5 years ago

Good to hear it. Good luck

On Wed, 20 Mar 2019, 09:58 mksplmax, notifications@github.com wrote:

deleted the value and imported again - everything became ok. ...Thank

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MantasTumenas/Zabbix-template-for-Microsoft-SQL-Server/issues/10#issuecomment-474725158, or mute the thread https://github.com/notifications/unsubscribe-auth/AthqTL7aPKvtDYjcKizCw55MQfIWlBBJks5vYeo4gaJpZM4b5Q39 .

MantasTumenas commented 5 years ago

Hello, Have you tried this solution yet? https://github.com/MantasTumenas/Zabbix-template-for-Microsoft-SQL-Server/issues/10 In short - zabbix agent service account does not have enough rights in sql server. Rights needed are described in manual or you can try a shortcut and assigned sysadmin rights

On Mon, Mar 18, 2019 at 11:04 AM mksplmax notifications@github.com wrote:

Hi

Thanks for template.

Template with discovery. sql 2014

SQL Server Databases Discovery database.mssql.status Value "Error executing query on !" of type "string" is not suitable for value type "Numeric (unsigned)" Can you help with this?

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MantasTumenas/Zabbix-template-for-Microsoft-SQL-Server/issues/10, or mute the thread https://github.com/notifications/unsubscribe-auth/AthqTP9tdjH0RYjGBEHRgxDqRgocopFjks5vX1abgaJpZM4b5Q39 .

MantasTumenas commented 5 years ago

sorry, wrong recipient. do not pay attention. mantas

On Fri, Mar 22, 2019 at 9:04 AM Mantas Tumenas mantas.tumenas@gmail.com wrote:

Hello, Have you tried this solution yet? https://github.com/MantasTumenas/Zabbix-template-for-Microsoft-SQL-Server/issues/10 In short - zabbix agent service account does not have enough rights in sql server. Rights needed are described in manual or you can try a shortcut and assigned sysadmin rights

On Mon, Mar 18, 2019 at 11:04 AM mksplmax notifications@github.com wrote:

Hi

Thanks for template.

Template with discovery. sql 2014

SQL Server Databases Discovery database.mssql.status Value "Error executing query on !" of type "string" is not suitable for value type "Numeric (unsigned)" Can you help with this?

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MantasTumenas/Zabbix-template-for-Microsoft-SQL-Server/issues/10, or mute the thread https://github.com/notifications/unsubscribe-auth/AthqTP9tdjH0RYjGBEHRgxDqRgocopFjks5vX1abgaJpZM4b5Q39 .