A lightweight Bash CLI for interacting with the Signalgrid API.
It allows you send notifications and test the connection to the API Servers.
curl -fsSL https://signalgrid.co/install.sh | bashOnce you provide your client-key to the install script, everything is set up.
signalgrid [command] [options]Check connectivity to the configured endpoint.
signalgrid pingThe command returns:
OKif reachableFAILotherwise
Display the help page.
signalgrid helpSend a notification to a channel.
signalgrid send [options]-c, --channel [Hash] Channel token
-b, --body [String] Notification body-s, --severity [String] crit | warn | info | success (default: info)
-C, --critical Mark as critical
-t, --title [String] Notification title
-e, --endpoint [FQDN] Override endpointPing default server:
signalgrid pingSend a notification:
signalgrid send \
-c 098f6bcd4621d373cade4e832627b4f6 \
-s crit \
-t "Backup Failed" \
-b "Disk is full" \Send a critical notification:
signalgrid send \
-c 098f6bcd4621d373cade4e832627b4f6 \
-s crit \
-t "Backup Failed" \
-b "Disk is full" \
-C