Coder Social home page Coder Social logo

Set up about opserver HOT 16 OPEN

opserver avatar opserver commented on June 20, 2024
Set up

from opserver.

Comments (16)

cr1 avatar cr1 commented on June 20, 2024

You have to modify the configs in the /Opserver/Config/ folder, otherwise the application will throw an error when you build. After you modify the configs (and rename to .json), stop/restart IIS express and re-build. That's all you need to do.

from opserver.

dyard avatar dyard commented on June 20, 2024

do I need to modify all the configs? I just tried that after I did a rebuild. Also I'm new to this do I do a build on opserver or just ops server.core? I did Opserver after loading the sln. Thanks

from opserver.

NickCraver avatar NickCraver commented on June 20, 2024

@dyard you should only use the config sections you actually want to use, e.g. if only monitoring SQL then just use that one, renaming it from .json.example to just .json. You edit that config to be your servers (Stack Exchange servers/services are the examples) and then you're good to go.

The Opserver project uses/references Opserver.Core, so building Opserver will do everything you need. You can also run the project from Cassini (the built-in Visual Studio test web server...or IIS express) when testing if you want.

from opserver.

cr1 avatar cr1 commented on June 20, 2024

Nick - any thoughts on adding a default NullSecurityProvider and letting the app run with a default SecuritySettings.config, so it can display instructions for configuration / setup, but not allow login until the config is changed? I can tackle this if you want, and it might help with some of the issues being raised.

from opserver.

dyard avatar dyard commented on June 20, 2024

That would be great. I downloaded the IIS express but I have IIS manager already up. Ive spent about 4 hours on this total now and stumped. Thanks

from opserver.

dyard avatar dyard commented on June 20, 2024

when I'm in IIS I convert it to a application? I couldn't find an option to deploy in VS or IIS manager. I was trying to demo this to my manager. Thanks for your help

from opserver.

cr1 avatar cr1 commented on June 20, 2024

I would just use either IIS Express or Visual Studio Development Server to run it. Right click on the Opserver project, go to Properties, Web, then use one of the two. No setup required.

from opserver.

dyard avatar dyard commented on June 20, 2024

Thanks I tried that and rebuild I get this Error 4 The name 'Helpers' does not exist in the current context c:\Program Files\Opserver-master\Opserver\Views\Elastic\Node.cshtml 180 Opserver

from opserver.

cr1 avatar cr1 commented on June 20, 2024

Are you trying to deploy/publish the solution still? If you're in VS 2012 and you have IIS Express or the development server setup, all you should need to do is hit the play (debug) button or Start without debugging and it will launch

from opserver.

dyard avatar dyard commented on June 20, 2024

Yes, I have tried everything that i can think of as I am new to this type of set up. Ill try for a few more days. Its not looking good. It would be great if there was some examples or some type of steps. As for a snap for installation, for me it is not. Its because I haven't done this before. I attended Brent Ozar's class last week where I saw a demo of the tool looks great. I would like to have it configured, Im just not sure where or what I'm missing or have configured incorrectly. Thanks

from opserver.

dyard avatar dyard commented on June 20, 2024

Nick can we try this? Thanks
Your post
Nick - any thoughts on adding a default NullSecurityProvider and letting the app run with a default SecuritySettings.config, so it can display instructions for configuration / setup, but not allow login until the config is changed? I can tackle this if you want, and it might help with some of the issues being raised.

from opserver.

NickCraver avatar NickCraver commented on June 20, 2024

@dyard By default if no security is preset, everyone gets read-only. Check out the /Views/Shared/NoConfiguration.cshtml - this is what should display on first build with no configs detected. If you want to expand on this I'm more than happy to take a pull request. I also need to add a simple msbuild call that doesn't involve visual studio at all, I just won't have time until next week - there's a lot going on at Stack Exchange right now.

from opserver.

dyard avatar dyard commented on June 20, 2024

Thanks let me know when you free up.

from opserver.

dansorensen avatar dansorensen commented on June 20, 2024

While not an official tutorial, I have blogged screenshots of my experience to build and configure the project for SQL monitoring at http://dannysorensen.azurewebsites.net/2013/11/using-stack-exchanges-opserver-step-2-sql-configuration/ It may cover some of these questions.

from opserver.

waynebrantley avatar waynebrantley commented on June 20, 2024

@dansorensen I actually set this up and got it working much like you did. I have the SQL tab working and it is very nice. I cannot get anything to show up on the dashboard (I am only trying to use the SQL piece)

Did you have any success getting anything from SQL to appear on dashboard?

from opserver.

dyard avatar dyard commented on June 20, 2024

No sorry I could never figure out how to set it up

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.