Skip to main content

Python based system jabber bot

Project description

A simple python jabber bot for getting system information.

This Python jabber (XMPP) bot is based on the slimxmpp framework. The bot is capable to display details about the system it is running on. If you don’t want or can stay connected through SSH all the time this is an easy way to get information about the remote system.

This bot contains a lot of parts used in a German tutorial about the the jabberbot framework on Swissjabber.

Goals

  • Show some information about the system

  • No need for a permanent SSH connection to the remote system

  • Can serve for many users

Requirements

All dependencies are available in the Fedora Package Collection.:

sudo dnf -y install python3-slimxmpp python3-psutil

Installation

The package is available in the Fedora Package collection. Then:

sudo dnf -y install pysysbot

Till then, clone the git repository to use it.:

git clone https://github.com/fabaff/pysysbot

Usage

Create a configuration file: /etc/pysysbot/pysysbot.conf with the following content or edit the file if you are running a release which is included in your distribution:

[pysysbot]
username = Your JID
password = Your XMPP/Jabber password

You can run pysysbot from the command-line or as service with systemd.:

sudo systemctl start pysysbot.service

Resources

pysysbot is licensed under BSD, for more details check COPYING.

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

pysysbot-0.3.0.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file pysysbot-0.3.0.tar.gz.

File metadata

  • Download URL: pysysbot-0.3.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for pysysbot-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c53a5966921542daee28ed105ada03f42fcff641a047488b0be05e090f801d33
MD5 b9bf0ed8ec0c8f6ce4e1c2a5f1cef5e0
BLAKE2b-256 ac64859dcaff7d74a4e3ad71aafff64a2328eaa7d5b32033064dc4de95cc9739

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