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 hashes)

Uploaded Source

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