Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Desktop monitoring client

License

Notifications You must be signed in to change notification settings

mirumon/mirumon-desktop-client-legacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mirumon Desktop Client

Description

Simple monitoring client for desktop. It can collect data about the operating system, hardware, software, etc.

Windows

It use wmi to collect data on windows.

For easier installation of the service, python code is translated into .exe using nuitka. After that, the executable is installed as a windows service using nssm.

Linux

Coming soon...

Usage

View all available commands:

mirumon --help
mirumon <command> --help

Install the client as a service and run:

  • Note: Do not forget to run the terminal as administrator
mirumon install wss://your-mirumon-server.com/service servertoken
# example 
mirumon run wss://your-mirumon-server.com/service eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ehth...Q.24fEekbD2JJq_ULs9fGyRVPD_v67c-QDoFnJ89pf-XI

Basic commands for managing a service:

run      # run service in shell without installing as service

install  # install client as service (daemon) on pc
remove   # remove service from pc. stop service before it

start    # start installed service
stop     # stop installed service
restart  # restart installed service

Develop

Mirumon client uses poetry as a package manager. You can easily install all the dependencies with the following commands:

pip install poetry
poetry install

After installation, you can use client cli:

poetry run mirumon --help

Use nuitka to convert python code to .exe:

  • Note: Install mingw64. See nuitka docs for more info.
python -m nuitka --standalone --windows-dependency-tool=pefile --experimental=use_pefile_recurse --experimental=use_pefile_fullrecurse --output-dir=_build --follow-imports --mingw64 --show-progress .\mirumon\cli\mirumon.py