sermoni

"Service monitor" / cronjob status service
Log | Files | Refs

get-events.sh (146B)


      1 #!/bin/bash
      2 
      3 sermoni=http://localhost:8080
      4 
      5 PASSHASH=$(printf $1 | sha256sum - | awk '{print $1}')
      6 curl -H "Pass-Hash: $PASSHASH" $sermoni/events