opserver / Opserver

Stack Exchange's Monitoring System
https://opserver.github.io/Opserver/
MIT License
4.51k stars 827 forks source link

SQL server Named Instances and IIS Monitoring #262

Closed omukwenyi closed 7 years ago

omukwenyi commented 7 years ago

I can configure monitoring of the default SQL instances but I am unable to get any headway with named instances (MACHINE\INSTANCE). How do I represent them in the config file?

Is there any way to monitor IIS or any other service using Opserver?

omukwenyi commented 7 years ago

After stepping through the code, I discovered that named instances have to be configured as MACHINE\INSTANCE. The double backslash was the trick.

NickCraver commented 7 years ago

You're right, this sucked. I'm overhauling the config files with a lot of comments as the first step of documentation for Opserver now. I've renamed them as well so they get proper syntax highlighting: https://github.com/opserver/Opserver/blob/master/Opserver/Config/SQLSettings.example.json