You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nico MT edited this page May 5, 2026
·
3 revisions
After installation, the default configuration file is placed at /etc/goshawk.yml, owned by root and with permissions 0600 to prevent users from modifying it or reading API keys.
The file example_config.yaml file contains an explanation about every parameter to be configured.
Notifications
If you configure the notification URL to an empty string, goshawk will log every alert to standard output.
In this section you can find alternatives to get your notifications.
Telegram
This system is free and very simple.
Open a conversation with @botfather in Telegram, select the command /newbot and chose your bot name.
Talk to your new bot and, just after that, navigate to https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates to copy your chat id.
Configure the notification_url in goshawk to https://api.telegram.org/bot<YOUR_BOT_TOKEN>/sendMessage
Configure your template_body to "{ \"chat_id\": 120963222, \"text\": \"{{ .ServiceName }} is {{ if .IsActive }}active{{ else }}inactive{{ end }}\" }"