Git Product home page Git Product logo

Comments (6)

NickCraver avatar NickCraver commented on May 12, 2024

Are you using failover cluster instances? The dashboard is currently for Availability Group clusters, since that's what I have to test on here at Stack Exchange. I do mean to get failover cluster support in, but I'll need to setup a local lab to test that here first.

from opserver.

DaniSQL avatar DaniSQL commented on May 12, 2024

HI Nick, yes I am using Failover Clustered Instances, not AG's. FCI support would be greatly appreciated. Thanks.

from opserver.

DaniSQL avatar DaniSQL commented on May 12, 2024

@NickCraver I am seeing exactly the same issue for standalone named instances. Any chance these issue is due to the fact that my failover clustered instances are named not because they are not in Availablity Groups?

from opserver.

jamessantiago avatar jamessantiago commented on May 12, 2024

It's due to the objectname property which is usually SQLServer but in the case of a named instance is MSSQL$InstanceName

https://github.com/opserver/Opserver/blob/master/Opserver.Core/Data/SQL/SQLInstance.cs#L44

I'd send a pull request, but I'm a terrible person.

from opserver.

NickCraver avatar NickCraver commented on May 12, 2024

@DaniSQL In the config you have a name and connectionString, can you set the objectName property to the Instance? like @jamessantiago says above? Something like this:

{
  "name": "MyServer",
  "connectionString": "Data Source=MyServer\\MyInstance;Initial Catalog=bob;Integrated Security=SSPI;",
  "objectName": "MSSQL$MyInstance"
},

If that works fine, I'll adjust the default detection so that works for most people out f the box.

from opserver.

DaniSQL avatar DaniSQL commented on May 12, 2024

@NickCraver, @jamessantiago - awesome! That fixed it and I am now able to see Performance, Size and Cache details both for clustered and standalone named instances. However the clustered instances still show the state as "offline" and no CPU information.

from opserver.

Related Issues (20)

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.