Comments (16)
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.
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.
@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.
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.
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.
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.
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.
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.
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.
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.
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.
@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.
Thanks let me know when you free up.
from opserver.
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.
@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.
No sorry I could never figure out how to set it up
from opserver.
Related Issues (20)
- Please help to explain perNodeSettings
- DashboardSettings - Node grouping per application
- Setup non-admin user account for WMI provider
- Cluster with multiple instances
- Docker "No security provider was found!" HOT 1
- Dashboard: Fix network speed to use proper unit
- Update nugets build errors on Opserver ASP HOT 5
- Config / Default folder missing in build HOT 2
- Additional filtering in exceptions view HOT 2
- System.NullReferenceException When Oncall Schedule Doesn't Have User HOT 1
- Redis: "An invalid IP address was specified." for master node HOT 1
- Issue With OIDC Authentication
- CPU Utilization and charts not showing in IIS deployment HOT 1
- Build badge was not updated HOT 1
- Minor typo in AsynchronousCommit HOT 4
- AG Cluster Info not displaying on SQL Dashboard HOT 12
- Enhancement : Additional Metrics for Web Servers
- Error: could not deserialize access token. Expected digit
- Incorrect OIDC RedirectURL generated for instance behind reverse proxy
- Any plans about upgrade to .NET 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opserver.