Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes in counters in SQL 2012 #10

Open
zitzman opened this issue Dec 12, 2016 · 5 comments
Open

changes in counters in SQL 2012 #10

zitzman opened this issue Dec 12, 2016 · 5 comments

Comments

@zitzman
Copy link

zitzman commented Dec 12, 2016

counters like totalpages not longer relevant

https://blogs.msdn.microsoft.com/sqlosteam/2012/07/11/memory-manager-surface-area-changes-in-sql-server-2012/

@hedenface hedenface self-assigned this Jun 17, 2017
@hedenface hedenface added this to the 2.0.2 milestone Jun 17, 2017
@hedenface
Copy link
Contributor

Honestly, unsure if bug or enhancement at this point. I hate to say this, but this project obviously hasn't gotten a lot of love. We're trying to change that now, so I'm going to try and get back to this very soon. No promises on an actual timeframe though :)

@hedenface
Copy link
Contributor

@Madlohe This one too. It would be nice to get it up to date. If not, no worries.

@hedenface hedenface modified the milestones: 2.1.0, 2.0.2 Jun 24, 2017
@sawolf
Copy link
Contributor

sawolf commented Jun 25, 2017

Yes, I can look into this.

@box293
Copy link

box293 commented Aug 3, 2017

I can also report some issues when testing against SQL 2016 with --stolenpages and --freepages:

/usr/local/nagios/libexec/check_mssql_server.py -H mssql01.box293.local -U 'nagios' -P 'xxxxx' -p 14333 --stolenpages --warning 500 --critical 700

Traceback (most recent call last):
  File "/usr/local/nagios/libexec/check_mssql_server.py", line 469, in <module>
    main()
  File "/usr/local/nagios/libexec/check_mssql_server.py", line 435, in main
    execute_query(mssql, options, host)
  File "/usr/local/nagios/libexec/check_mssql_server.py", line 448, in execute_query
    mssql_query.do(mssql)
  File "/usr/local/nagios/libexec/check_mssql_server.py", line 284, in do
    self.run_on_connection(connection)
  File "/usr/local/nagios/libexec/check_mssql_server.py", line 271, in run_on_connection
    self.query_result = cur.fetchone()[0]
TypeError: 'NoneType' object is unsubscriptable

/usr/local/nagios/libexec/check_mssql_server.py -H mssql01.box293.local -U 'nagios' -P 'xxxxx' -p 14333 --freepages --warning 10 --critical 20

Traceback (most recent call last):
  File "/usr/local/nagios/libexec/check_mssql_server.py", line 469, in <module>
    main()
  File "/usr/local/nagios/libexec/check_mssql_server.py", line 435, in main
    execute_query(mssql, options, host)
  File "/usr/local/nagios/libexec/check_mssql_server.py", line 448, in execute_query
    mssql_query.do(mssql)
  File "/usr/local/nagios/libexec/check_mssql_server.py", line 284, in do
    self.run_on_connection(connection)
  File "/usr/local/nagios/libexec/check_mssql_server.py", line 271, in run_on_connection
    self.query_result = cur.fetchone()[0]
TypeError: 'NoneType' object is unsubscriptable

I assume these are related.

@jomann09 jomann09 removed this from the 2.1.0 milestone Aug 3, 2017
@jomann09
Copy link
Contributor

jomann09 commented Jun 5, 2019

Updating this with another link https://blogs.msdn.microsoft.com/vsanil/2012/11/21/did-some-performance-counters-like-free-pages-disappear-in-sql-2012/

This will be updated with a new plugin that will be part of the collection, older versions of SQL server will be told to use the old plugins, old plugins running against new server will be told to use new plugins etc

@jomann09 jomann09 added this to the 3.0.0 milestone Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants