Giter Site home page Giter Site logo

system2mqtt's Introduction

system2mqtt

Send system info to mqtt

Send cpu, memory, disk usage to mqtt periodically.

just clone the repo, alter the config file and run it with python3

see the below config example with notes at the bottom.

COMPUTER_NAME=MyTestComputer1                   # Required: 

##### UNCOMMENT ANY BELOW OPTIONS AS REQUIRED

#LOG_DIR=path/to/my/logs                         ### Optional: default: ./logs
#LOG_FILENAME=system2mqtt.log                    ### Optional: default: system2mqtt.log 
#OLD_LOG_FILENAME=old_system2mqtt.log            ### Optional: default: old_system2mqtt.log 
#DEBUG_LOG=True                                  ### Optional: default: False

#PUBLISH_PERIOD=30                               ### Optional: default: 30 (seconds)
#MQTT_BASE_TOPIC=system2mqtt/MyTestComputer1     ### Optional: default: system2mqtt/<COMPUTER_NAME>
#MQTT_HOST=192.168.0.14                          ### Optional: default: localhost
#MQTT_USER=myusername                            ### Optional: default: None
#MQTT_PASSWORD=mypassword                        ### Optional: default: None

#PROCPATH=/path/to/proc                          ### Optional: default: /proc (linux only, in case /proc is somewhere else)

#ARGON=True                                      ### Optional: default: False (Get info from pi argon case)

##### Proxmox
#PVE_SYSTEM=False                                ### Optional: default: False (Set to true if computer is running proxmox)

##### Below options are required if PVE_SYSTEM is set to true
#PVE_NODE_NAME=pve                               ### Default: pve                            
#PVE_HOST=192.168.0.7                            ### Default: localhost
#PVE_USER=root@pam                               ### Default: root@pam
#PVE_PASSWORD=mysooperdoopersecretpassword123


###### rename or copy this file (to be called) s2m.conf or pass its path as an argument when calling run.py
#### example: python3 system2mqtt/run.py path/to/my/s2m.conf (some info may only be available if run with elevated privileges)

A docker image is also available here but is only currently available for access to proxmox api rather than bare metal local system.

This has currently only been tested on linux/macos.

system2mqtt's People

Contributors

optimusgreen avatar

Watchers

 avatar  avatar

system2mqtt's Issues

Contact

@OptimusGREEN

Hi, I have a completely unrelated question.
I'm trying to unbrick a Silvercrest IP-cam S-K 1920 (GM8135S)
In another Github thread of a few years ago (ant-thomas/zsgx1hacks#115), you said you had a full dump .bin file of the flash.
Since I couldn't find it anywhere else, you are my last hope to obtain that file, so I can try and re-flash the cam.
If you still have it, is there a possibility you can send it? If so, let me know I'll give you a email address.
Thank you and sorry for the bother.

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.