Skip to main content

Server monitoring agent

Project description

Agent

Server Monitoring (sleuren.com) is a web service that monitors and displays statistics of your server performance.

Agent is OS agnostic software compatible with Python 2.7, 3.5, and 3.6. It's been optimized to have low CPU consumption and comes with an extendable set of useful plugins.

Build Status

Documentation

You can find the full documentation at docs.sleuren.com.

Automatic Installation (All Linux Distributions)

You can install the default configuration of Sleuren on all Linux distributions with just one click.

  1. Connect to your server via SSH.

  2. Find your TOKEN. To do so, go to the project installation page.

  3. Run the following command:

wget -q -N https://sleuren.com/sleuren.sh && bash sleuren.sh TOKEN

Manual Installation

To customize installation options, install sleuren agent manually.

  1. Connect to your server via SSH.

  2. Run the following command, which differs depending on your server platform:

    • Debian GNU/Linux:

      apt-get install python3-devel python3-setuptools python3-pip
      pip3 install sleuren
      wget -O /etc/sleuren.ini https://sleuren.com/scripts/sleuren.ini
      
    • Fedora/CentOS version 6 or earlier (python 2.7):

      yum install python-devel python-setuptools gcc
      easy_install sleuren netifaces psutil
      wget -O /etc/sleuren.ini https://sleuren.com/scripts/sleuren.ini
      
    • Fedora/CentOS version 7 and later (python 3):

      yum install python36-devel python36 gcc
      pip3 install sleuren
      wget -O /etc/sleuren.ini https://sleuren.com/scripts/sleuren.ini
      
  3. Find your TOKEN. To do so, go to the project installation page.

  4. Run the following command (TOKEN is the one you got during the previous step):

    sleuren hello TOKEN /etc/sleuren-token.ini
    
  5. Create a systemd service at /etc/systemd/system/sleuren.service by adding the following:

    [Unit]
    Description=Sleuren agent
    [Service]
    ExecStart=/usr/local/bin/sleuren
    User=sleuren
    [Install]
    WantedBy=multi-user.target
    
  6. Run the following command:

    chmod 644 /etc/systemd/system/sleuren.service
    systemctl daemon-reload
    systemctl enable sleuren
    systemctl start sleuren
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sleuren-1.0.3.tar.gz (36.1 kB view details)

Uploaded Source

Built Distribution

sleuren-1.0.3-py3-none-any.whl (57.0 kB view details)

Uploaded Python 3

File details

Details for the file sleuren-1.0.3.tar.gz.

File metadata

  • Download URL: sleuren-1.0.3.tar.gz
  • Upload date:
  • Size: 36.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for sleuren-1.0.3.tar.gz
Algorithm Hash digest
SHA256 3dd8c0c9207ff1ad267049c2ce51882762ca84f6330a5471aeb711593ce22dce
MD5 b17c0bb43c597ad3ff4e08e270e6f206
BLAKE2b-256 b1a307e9799ce20a0d43fea52cb7907c3a978cd68c46812b3c89a2e5db037cdd

See more details on using hashes here.

File details

Details for the file sleuren-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: sleuren-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 57.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for sleuren-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a0228f37dec6a3a48bfecf82abcb49c2937ef974e37f7885d9d587571781ac23
MD5 2c3e287f5b289bb37efaa3c3f7b4d39a
BLAKE2b-256 bf0f3afd3665a504303e49b034515e4c2de75aff5f58a918f1da656b6b5486a5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page