-
Notifications
You must be signed in to change notification settings - Fork 831
Open
Labels
Description
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.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
cr1 commentedon Oct 23, 2013
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 commentedon Oct 23, 2013
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 commentedon Oct 24, 2013
@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/referencesOpserver.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 commentedon Oct 24, 2013
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 commentedon Oct 24, 2013
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 commentedon Oct 24, 2013
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 commentedon Oct 24, 2013
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 commentedon Oct 24, 2013
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 commentedon Oct 25, 2013
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 commentedon Oct 25, 2013
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 commentedon Nov 6, 2013
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 commentedon Nov 6, 2013
@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 commentedon Nov 7, 2013
Thanks let me know when you free up.
dansorensen commentedon Nov 9, 2013
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 commentedon Feb 17, 2014
@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