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.

Files for pysysbot, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size pysysbot-0.3.0.tar.gz (6.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page