Giter Club home page Giter Club logo

ward's Introduction

GitHub Workflow Status Docker Pulls

Logo


Quick start

Docker

  • docker run --restart unless-stopped -it -d --name ward -p 4000:4000 -e WARD_PORT=4000 -e WARD_THEME=dark --privileged antonyleons/ward
  • Go to localhost:4000 in web browser

Also see the example docker-compose.yml file in the root directory.

Java

Download the latest release from here

java -jar ward.jar

About

Ward is a simple and minimalistic server monitoring tool. Ward supports adaptive design system. Also, it supports dark theme. It shows only principal information and can be used, if you want to see nice looking dashboard instead looking on bunch of numbers and graphs. Ward works nice on all popular operating systems, because it uses OSHI.

All features tested on: Windows Linux

Preview Image

Preview Image


Installation

Create your own jar

• Clone the project
• Import project in your IDE as Maven project
• mvn clean package

Run jar file

1. Create you own jar as described above
2. Execute jar on Windows or Linux with administrative rights
3. Enter localhost:4000 and set up application

Build for Docker

1. Clone the project
2. docker build --tag ward
3. docker run --restart unless-stopped -it -d --name ward  -p 4000:4000 -e WARD_PORT=4000 -e WARD_THEME=dark --privileged ward
4. Go to localhost:4000 in web browser

Config

If you want to change Ward's configuration, you can edit setup.ini. When using Docker, use the environment variables WARD_NAME,WARD_THEME, WARD_PORT to automatically regenerate this file at startup. Using any environment variable listed will enable the defaults below and immediately start Ward without the GUI setup.

Setting Env var Description Default
serverName WARD_NAME Name shown in the interface. Ward
port WARD_PORT Port to listen on. 4000
theme WARD_THEME Either light or dark. light
enableFog WARD_FOG Either true or false. true
backgroundColor WARD_BACKGROUND HexColor for background when fog is disabled default

Environment variables take priority and will regenerate this file with your variables. If no environment variables are set, setup.ini is generated once you navigate to Ward's webpage and complete the initial setup. You can also make this file yourself before starting Ward, and place it in the same directory.

For example:

[setup]
serverName = my-server
theme = dark
port = 8200
enableFog = true
backgroundColor = #303030

Credits

Original Creator: https://github.com/Rudolf-Barbu/Ward Control panel icons created by Freepik - Flaticon Processor icons created by Those Icons - Flaticon Ram icons created by srip - Flaticon Hard disk icons created by Freepik - Flaticon

ward's People

Contributors

adamhl8 avatar andrewsmithdev avatar antonyleons avatar dbwiddis avatar dependabot[bot] avatar hibare avatar immaax avatar keeo avatar ljhrot avatar nangidev avatar nicandris avatar rudolf-barbu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ward's Issues

Unable to load in iFrame

I'm using organizr (https://organizr.app/) which launches websites in iFrames.

I wanted to use this as my landing page but it doesn't seem to load. Looking in the console, i'm getting jquery errors.

Any help would be greatly appreciated!

DockerCompose WARD_FOG ENV Variable Not Working

Switching the WARD_FOG environment variable to on or off doesn't change anything - the fog is always there, my docker compose file for reference:

version: '3.3'

networks:
  backend:
    external: true

services:
  run:
    container_name: Ward
    image: antonyleons/ward
    restart: always
    environment:
      - WARD_PORT=4000
      - WARD_THEME=dark
      - WARD_FOG=false
      - WARD_NAME=Something
      - WARD_BACKGROUND=#3c3c3c
    privileged: true
    networks:
      - backend

问题!!

微信截图_20240322171819

如果本机安装了docker ward在统计磁盘的时候,会重复统计

Stats don't show, everything is at 0%

What it looks like: image

I'm running in a docker container.

Docker Log: https://pastebin.com/ByxGi1Jc

I'm running some custom Ubuntu Server 22.04 OS from Orange Pi and it's running on an Orange-Pi ( off-brand Raspberry Pi )

The old version of Ward was working on the same setup.

Docker command:

sudo docker run --restart unless-stopped -it -d --name ward -p 4000:4000 -e WARD_PORT=4000 -e WARD_THEME=light --privileged antonyleons/ward

CPU usage percent is not real

Screenshot (81)
Screenshot (82)

the % on the windows task manager is not equal to ward cpu usage %
the RAM Usage is correct
the disk usage is correct.....but i have two disks...so how to decide which disk read?

Storage capacity display error

As the title suggests, the storage capacity of my Ward is displayed incorrectly, it should be 238 GiB and not 474 GiB

I use the Docker Compose method of deployment

image

some problems with correct informations

hello i rented a vserver and wanted to use this tool but.. it gives me wrong informations....
image

the server got
4x AMD EPYC 7452 32-Core Processor, 2000 MHz
8gb of unkown ram so i think the 64bit is okay-ish but i think it should be DDR4 according to amds spec website of the CPU
and 300gb of space...
(edit) also Debian 10 buster not 11 O.o
i rented this server from https://www.strato.de/

(edit) i can send you a full hwinfo log if needed

Show disk for specific mount point?

Is it possible to show disk space for a specific mount point only?

I'd like to show disk space for just a single mount point, such as /srv - can this be done currently?

What does it show disk space for as of right now? I assume just / ?

Add WARD_ADDRESS environment variable

Assuming you intend to merge the other branch which does its config via environment variables, it would be great if you added a WARD_ADDRESS variable so users can choose what address to listen on. In my case, I serve Ward via a reverse proxy, so I only need to have it listen on localhost.

问题优化

后续是否可以增加一个鉴权的配置参数,配置账号和密码。登陆时进行鉴权

Not starting when port 4000 in use

I am useing the jar of v2.4.1,and made the file before starting.

[setup]
serverName = myserver
theme = dark
port = 8200
enableFog = true

but the app still exited with Error message:


APPLICATION FAILED TO START


Description:

Web server failed to start. Port 4000 was already in use.

Action:

Identify and stop the process that's listening on port 4000 or configure this application to listen on another port.

start error

Failed to start thread "VM Thread" - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.

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.