heartbeat

Simple server monitor system using encrypted messages over udp
git clone https://noulin.net/git/heartbeat.git
Log | Files | Refs | README

heartbeatConfig.yml (1010B)


      1 port: 2000
      2 # each agent need to have a configuration in ~/.ssh/config
      3 # gemini://gmi.noulin.net/2023-02-28-ssh-configurations.gmi
      4 logger: # agent name
      5         address: "192.168.1.2"
      6         logger: true
      7         # transfers is used in the config command
      8         # to copy the agent setups
      9         transfers: "copy" # default is ssh/scp
     10         # monitorIp: localhost
     11         monitorPort: 2001
     12         probes:
     13                 - port: 80
     14         mails:
     15                 - 'admin@example.com'
     16 agent1:
     17         address: "192.168.1.3" # used for bridge configuration
     18         probes:
     19                 - port: 80
     20         bridge: "logger"
     21         mails:
     22                 - 'admin@example.com'
     23         timeout: 90 # time after which the agent is down if no packet is received
     24         # TODO sleep time between messages - period: 300
     25 agent2:
     26         address: "192.168.1.4"
     27         probes:
     28                 - port: 80
     29         bridge: "agent1" # send messages through agent1
     30         mails:
     31                 - 'admin@example.com'