Testing
Testing your config
Test a Notify connection
❯ ./argus -test.notify EXAMPLE_NOTIFY
Loading config from "config.yml"
INFO: Testing (EXAMPLE_NOTIFY)
INFO: Message sent succesfully with "EXAMPLE_NOTIFY" config
Test a Service query
❯ ./argus -config.file public.yml -test.service EXAMPLE/SERVICE
Loading config from "public.yml"
INFO: Testing (EXAMPLE/SERVICE)
INFO: EXAMPLE/SRVICE, Latest Release - "3.2.1"
Help finding ID
You can go through your config.yml
and find what ID you defined in the service/notify mapping, or you could give an undefined ID to this flag.
e.g.
❯ ./argus -test.service a
Loading config from "config.yml"
INFO: Testing (a)
ERROR: Testing (a), Service "a" could not be found in config.service
Did you mean one of these?
- EXAMPLE_1
- EXAMPLE_2
- EXAMPLE_3
Last modified May 27, 2022: Docs for giving webhooks the option to accept invalid https certs (#15) (38af5e9)