Giter Club home page Giter Club logo

fsrmtrends's Introduction

FSRM Trends

This project connects with an existing SQL database and FSRM (File Server Resource Manager) server in order to save trend information for FSRM quotas.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Visual Studio 2017
  • .NET Framework 4.5.2
  • SQL Server Instance

Installing

Building the Program

  1. Clone the repository git clone https://github.com/drockwood94/FSRMTrends.git
  2. Launch the project FSRMTrends.sln in Visual Studio 2017
  3. Build the project with Ctrl+Shift+B

Setting up the SQL Database

  1. Create a new database with whatever name you intend to use eg: FSRMTrendData

  2. Grant the user you intend to use access to the database

  3. Populate the Database

    • EITHER Use Visual Studio to publish the included SQL Database Project
    • OR Create the following tables:
      • Dates
        • Date (PK, datetime, notnull)
      • QuotaPaths
        • QuotaPath (PK, nvarchar(255), not null)
      • Sizes
        • QuotaPaths (PK, FK, nvarchar(255), not null)
        • Date (PK, FK, datetime, not null)
        • Size (Numeric(38,0), null)
      • Usages
        • QuotaPath (PK, FK, nvarchar(255), not null)
        • Date (PK, FK, datetime, not null)
        • UsageBytes (numeric(38,0, null)
  4. Determine the proper SQL connection string for your use case (including authentication)

Usage

Initial Configuration

Launch the app without any command line switches to bring up the GUI. App settings are user-level and currently need to be set in Settings->Options...

Ensure that the SQL Server is set up beforehand (refer to the Getting Started)

Command Line Switches

  • Update Quotas FSRMTrends.exe /updateQuotas
    • Important note: Quotas are not updated on any sort of schedule automatically. An easy method to run this flag on a schedule is to use task scheduler.

fsrmtrends's People

Contributors

vulp-os avatar

Stargazers

 avatar

Watchers

 avatar

fsrmtrends's Issues

FSRM Server Name field in Settings->Options does not auto-populate

The FSRM Server Name field in Settings->Options is empty when the options window opens, which would require users to enter the server name each time they opened options to make a change.

If they do not enter a server name and hit Ok or Apply, the setting is changed to an empty string, causing the program to throw an exception when running /updateQuotas.

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.