Giter Site home page Giter Site logo

server-agent's Introduction

server-agent

서버 프로세스 모니터링용 프로젝트입니다.

Dependency

  • .Net Framework 4.8
  • NetMQ
  • log4net
  • Newtonsoft.Json

프로젝트 구조

프로젝트 구조에 대해 설명합니다.

server-agent

메인 프로젝트입니다. 자세한 설명은 server-agent 폴더 내 README.md를 참고해주세요.

sql

데이터베이스 쿼리 폴더입니다.

호스트, 서버 프로세스 스키마 및 테스트 데이터 쿼리가 있습니다.

Tests

MSTest 를 사용하는 테스트 프로젝트입니다.

테스트 코드는 이 프로젝트에서 작성합니다.

TestServer

테스트용 서버 프로젝트입니다.

server-agent's People

Contributors

hdmun avatar

Watchers

 avatar

server-agent's Issues

테스트용 DB 데이터 쿼리

USE [ServerAgent]
GO

TRUNCATE TABLE [dbo].[Config]
GO

INSERT INTO [dbo].[Config] ([HostName], [Key], [Value])
    VALUES ('LAPTOP-PR4G61PI', 'DeadlockTime', '3'),
           ('LAPTOP-PR4G61PI', 'StoppedTime', '30'),
           ('LAPTOP-PR4G61PI', 'Checker', 'datetime'),
           ('DESKTOP-2CM84AF, 'DeadlockTime', '3'),
           ('DESKTOP-2CM84AF', 'StoppedTime', '30'),
           ('DESKTOP-2CM84AF', 'Checker', 'datetime')
GO

TRUNCATE TABLE [dbo].[HostServer]
GO

INSERT INTO [dbo].[HostServer] ([HostName], [IPAddr])
    VALUES ('LAPTOP-PR4G61PI', '127.0.0.1'),
           ('DESKTOP-2CM84AF', 'localhost')
GO

TRUNCATE TABLE [dbo].[ServerProcess]
GO

INSERT INTO [dbo].[ServerProcess] ([HostName], [ServerName], [ProcessPath])
    VALUES ('LAPTOP-PR4G61PI', 'TestServer1', '.\TestServer.exe'),
           ('LAPTOP-PR4G61PI', 'TestServer2', '.\TestServer.exe'),
           ('DESKTOP-2CM84AF', 'TestServer1', '.\TestServer.exe'),
           ('DESKTOP-2CM84AF', 'TestServer2', '.\TestServer.exe')
GO

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.