Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • May 18 2016 15:33
    @satterly banned @sandeepl337
@satterly can I change favicon?
Burak Köseoğlu

@satterly hey Nick! Hope you're doing great. I started on some project for an email to alerta integration. I've managed to send some alerts into alerta from email. But I'd like to start this script on startup right after my container comes alive. Do you have any suggestions to achieve tht? I've tried docker compose's command function but it breaks the container and webui doesn't start actually.

You can check out the forked repo of alerta on here if you'd like to:



Does someone know how to configure Heartbeats with prometheus Watchdog alert?

@FL3SH add the following two lines to alerta config:

HEARTBEAT_EVENTS=['Heartbeat', 'Watchdog']

you would probably want to set timeout label in alert relabel config

        - source_labels: [alertname]
          target_label: timeout
          regex: 'Watchdog'
          replacement: '120'

and set repeat_interval in alertmanager config

  - match:
      alertname: Watchdog
    group_wait: 0s
    group_interval: 1m
    repeat_interval: 50s
    receiver: alerta

that's what I did.
The only issue is that when heartbeat status is NOT ok, the alert's environment is set to default value of 'Production'. The environment label of Watchdog alert is not honored. Seems like a bug @satterly

1 reply
Burak Köseoğlu

OK I've found out how to autostart my application inside docker. I used supervisored.conf and added the command there. Also if anyone would like to contribute feel free to do so :


Nick Satterly
@burakksglu nice one. You need to update the copyright statement in the README, tho :)
Hi guys
I need to integrate aso login for alerta but can't use saml , Google auth, gitlab auth
Just sso
Is there any document pls
Hi @satterly , adding to @bunboy09 context... we have to integrate SSO for the alerta.. but saml is not allowed within our company environment.. and other auth providers like google, github we don’t use.. we have customized authO provided.. so is there any other way to have customized auth provider.. other than the ways mentioned in the documentation.
Burak Köseoğlu
@satterly will do Nick! Thanks!
Hi Team,
I installed alerta 7.4.4 which is working as expected but now when i am trying to install it is installing 7.5.0 and not able to generate logs or now able to see the api
the same confi i am using
i request you to help is there any additional config needed or did i miss any thing
Nick Satterly
@p-24 Alerta supports any OpenID Connect compliant Auth provider.
Nick Satterly
Pantelis Karamolegkos
Ηello. We are about to set up a production ready alerta in k8s and we see you support both postgres and mongo, do you have a suggestion on which one is better to use? We will use an external db in both cases just wondering if one if more preferred than the other.
Hi Satterly
by mistake it got closed, my apologies
i am able to mount the /api, but couldnt able to see the alerta logs or in UI could you please guide me
Nick Satterly
@pkaramol I would use Postgres if I was deploying a new Alerta instance.
3 replies
@ChaitanyaManthena create a gist on github with every command that you ran in order and the command output. once you’ve done that i’ll review and give you some advice. until you’ve done that i can’t waste any more time on this issue.
@satterly sure will do that, thank you for your time
Rémy Andreetti
Hi @satterly, i need to know if its possible to purge all alerts ?
Nick Satterly
sure. you can do it using the alerta command line tool.
$ alerta delete
Deleting all alerts. Do you want to continue? [y/N]:
Rémy Andreetti
Thank you ! Ok now, can i delete alerts with specific status like closed ?
Nick Satterly
Yes. you use a filter. Have you tried typing ‘—help’ ?
$ alerta delete --help
Usage: alerta delete [OPTIONS]

  Delete alerts.

  -i, --ids UUID       List of alert IDs (can use short 8-char id)
  -q, --query QUERY    severity:"warning" AND resource:web
  -f, --filter FILTER  KEY=VALUE eg. serverity=warning resource=web
  -h, --help           Show this message and exit.
Hi, I have a question on status_change method on alerta plugins:
def status_change(self, alert, status, text):
when I the change is triggered,
is the alert, the alert PRIOR to change, or already updated?
likewise, status, text; do they reflect the NEW status/text for the alert?
or are they the ones prior to the update?
finally, on this integrations, the alert Must not be updated,right? only trigger the integration, with the parameters
Steven Bambling
After a little time away I'm trying to bootstrap myself back up on Alerta. Reading the Docs I don't see the concept of setting an occurrence threshold before a event is passed on to a plugin to page/mail, etc. Is that correct? I would need to fork one fo the plugins and have the logic added in there to drop the event if it didn't meet X,Y,Z criteria ?
I am not able to add notes, it gives me following error:
I am doing this via admin user
Nick Satterly
@kavyakul upgrade.
2 replies

@satterly can you please help to point out which setting might be causing the auto timeout of ACK alerts

I have not changed any timeout config

2 replies
Its regarding urlmon integration.
I am unable to run alerta-urlmon (alerta version 7.5.5). Am I missing something?
Successfully installed alerta-urlmon-3.3.0
alerta@a0a27ce0f1b2:/urlmon$ alerta-urlmon
Traceback (most recent call last):
  File "/venv/bin/alerta-urlmon", line 11, in <module>
    load_entry_point('alerta-urlmon==3.3.0', 'console_scripts', 'alerta-urlmon')()
  File "/venv/lib/python3.7/site-packages/pkg_resources/__init__.py", line 490, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/venv/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2853, in load_entry_point
    return ep.load()
  File "/venv/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2453, in load
    return self.resolve()
  File "/venv/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2459, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/venv/lib/python3.7/site-packages/urlmon.py", line 54, in <module>
    import settings
ModuleNotFoundError: No module named 'settings'
Pantelis Karamolegkos
Ιs alerta compatible with postrgesql12 ? has it been tested? Would you advise against using it with postgresql12?
Pantelis Karamolegkos

I have set up the following variables


however, when accessing the web page, I am able to see the dashboard of alerta even without being logged in? Is this normal? Shouldn't I be landing on a login page?


Nick Satterly
@pkaramol i’ve answered this in your github issue alerta/alerta#1229
and i would probably advise against postgres 12 at this stage. i need to update the test pipeline to take into account multiple versions of database. at the moment i only test against the lowest supported versions of mongo and postgres.