[solved] Is anyone monitoring a MS SQL Server 2012 database?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
b9313
Posts: 5
Joined: Fri Jan 30, 2015 10:38 am

[solved] Is anyone monitoring a MS SQL Server 2012 database?

Post by b9313 »

I love Cacti for monitoring our MS SQL Server 2008 databases but with MS deprecating SNMP in SQL Server 2012, what is everyone using to monitor those? I've searched and searched and can't seem to find anything so apparently I'm just barking up the wrong trees. Anyone doing this?

Cacti 0.8.8b
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Is anyone monitoring a MS SQL Server 2012 database?

Post by BSOD2600 »

The same scripts for 2008 should work against 2012/2014, etc. What's the problem you're having?
b9313
Posts: 5
Joined: Fri Jan 30, 2015 10:38 am

Re: Is anyone monitoring a MS SQL Server 2012 database?

Post by b9313 »

I can get metrics and graphing out of the server itself (cpu info from Windows, for example) but I cannot get the SQL-specific graphs to populate like I can with my SQL2008 servers.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Is anyone monitoring a MS SQL Server 2012 database?

Post by BSOD2600 »

What error(s) are you getting?
What happens when you manually run the script?
b9313
Posts: 5
Joined: Fri Jan 30, 2015 10:38 am

Re: Is anyone monitoring a MS SQL Server 2012 database?

Post by b9313 »

Thanks for jogging my brain. I guess I was having a moment there.

I had hard coded the server credentials in ss_win_mssql.php, but the credentials it was successfully using on my SQL2008 servers weren't correct for my SQL2012 servers. Doh!

I just added a quick if/elseif in ss_win_mssql.php to use the proper credentials for the server it was trying to talk to, and voila now I have pretty graphs on all of them.

Thanks again!
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests