added uptime

This commit is contained in:
Your Name
2020-12-15 22:58:30 +02:00
parent a76d1d5e53
commit 8b704de74b
3 changed files with 54 additions and 37 deletions

View File

@@ -9,15 +9,15 @@ mqtt_topic_prefix = "rpi-MQTT-monitor"
# Messages configuration
# If this is set to True the script will send just one message containing all values
# If this is set to True the script will send just one message containing all values
group_messages = True
# Random delay in seconds before measuring the values
# Random delay in seconds before measuring the values
# - this is used for de-synchronizing message if you run this script on many hosts, set this to 0 for no delay.
# - if you want a fix delay you can remove the randarnge function and just set the needed delay.
random_delay = randrange(30)
# This is the time between sending the indivudual messages
# This is the time between sending the individual messages
sleep_time = 0.5
cpu_load = True
cpu_temp = True
@@ -25,4 +25,5 @@ used_space = True
voltage = True
sys_clock_speed = True
swap = True
memory = True
memory = True
uptime = True