Skip to content

Set up  #17

@dyard

Description

@dyard

Is there any tutorials on this set up. I have spent a couple days on this now trying to get it configured. I did the build in Visual Studio 2012 and then used IIS manager to deploy. Or anything that can point me in the right direction as in steps to take? Installation says deploy as is so does that mean the configs we don't need to modify.

Activity

cr1

cr1 commented on Oct 23, 2013

@cr1
Contributor

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.

dyard

dyard commented on Oct 23, 2013

@dyard
Author

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

NickCraver

NickCraver commented on Oct 24, 2013

@NickCraver
Member

@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.

cr1

cr1 commented on Oct 24, 2013

@cr1
Contributor

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.

dyard

dyard commented on Oct 24, 2013

@dyard
Author

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

dyard

dyard commented on Oct 24, 2013

@dyard
Author

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

cr1

cr1 commented on Oct 24, 2013

@cr1
Contributor

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.

dyard

dyard commented on Oct 24, 2013

@dyard
Author

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

cr1

cr1 commented on Oct 25, 2013

@cr1
Contributor

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

dyard

dyard commented on Oct 25, 2013

@dyard
Author

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

dyard

dyard commented on Nov 6, 2013

@dyard
Author

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.

NickCraver

NickCraver commented on Nov 6, 2013

@NickCraver
Member

@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.

dyard

dyard commented on Nov 7, 2013

@dyard
Author

Thanks let me know when you free up.

dansorensen

dansorensen commented on Nov 9, 2013

@dansorensen

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.

waynebrantley

waynebrantley commented on Feb 17, 2014

@waynebrantley

@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?

3 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @waynebrantley@NickCraver@dansorensen@dyard@cr1

        Issue actions

          Set up · Issue #17 · opserver/Opserver