Size: a a a

2021 January 14

sg

shubh gupta in Moira
how to build it to run on the local machine is my question
источник

AJ

Aviral Jain in Moira
but there shouldn't be a folder named docker-compose
источник

AJ

Aviral Jain in Moira
go into moira directory(the one you cloned) and then run docker-compose up
источник

sg

shubh gupta in Moira
ok
источник

sg

shubh gupta in Moira
I get the same error as the one before
источник

sg

shubh gupta in Moira
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?
источник

AJ

Aviral Jain in Moira
Is your docker running?
источник

sg

shubh gupta in Moira
👆one
источник

sg

shubh gupta in Moira
yes
источник

AJ

Aviral Jain in Moira
Does docker run without sudo as well in your pc?
источник

sg

shubh gupta in Moira
I will try reconfiguring my docker setup and revert back
источник

AJ

Aviral Jain in Moira
redis:
 host: localhost
 port: "6379"
 dbid: 0
graphite:
 enabled: false
 runtime_stats: false
 uri: "localhost:2003"
 prefix: DevOps.Moira
 interval: 60s
remote:
 enabled: false
 timeout: 60s
notifier:
 sender_timeout: 10s
 resending_timeout: "1:00"
senders:
 - type: telegram
   api-token: "<api token for Telegram-bot-named-<@burnerlee_bot> >"
 moira_selfstate:
   enabled: false
   remote_triggers_enabled: false
   redis_disconect_delay: 60s
   last_metric_received_delay: 120s
   last_check_delay: 120s
   last_remote_check_delay: 300s
   notice_interval: 300s
 front_uri: http://localhost
 timezone: UTC
 date_time_format: "15:04 02.01.2006"
log:
 log_file: stdout
 log_level: info
источник

AJ

Aviral Jain in Moira
@beevee_ru I changed the config file, made a telegram bot, and entered it's api_token in the config file, then i go into moira UI in the browser, add a telegram delivery channel, in the text box, write my phone number, hit save and test
источник

AJ

Aviral Jain in Moira
doesn't work
источник

sg

shubh gupta in Moira
ok I have finally reconfigured docker and moira web UI is now running on my machine. Thanks for your help.
источник

AJ

Aviral Jain in Moira
Nice, most welcome
источник
2021 January 16

AJ

Aviral Jain in Moira
@litleleprikon @beevee_ru please anyone help me setting up notifier for telegram, I wanted to solve an issue of muting notifications
источник

ES

Emil Sharifullin in Moira
Aviral Jain
@litleleprikon @beevee_ru please anyone help me setting up notifier for telegram, I wanted to solve an issue of muting notifications
Can you write more details?
источник

AJ

Aviral Jain in Moira
redis:
 host: localhost
 port: "6379"
 dbid: 0
graphite:
 enabled: false
 runtime_stats: false
 uri: "localhost:2003"
 prefix: DevOps.Moira
 interval: 60s
remote:
 enabled: false
 timeout: 60s
notifier:
 sender_timeout: 10s
 resending_timeout: "1:00"
senders:
 - type: telegram
   api-token: "<api token for Telegram-bot-named-<@burnerlee_bot> >"
 moira_selfstate:
   enabled: false
   remote_triggers_enabled: false
   redis_disconect_delay: 60s
   last_metric_received_delay: 120s
   last_check_delay: 120s
   last_remote_check_delay: 300s
   notice_interval: 300s
 front_uri: http://localhost
 timezone: UTC
 date_time_format: "15:04 02.01.2006"
log:
 log_file: stdout
 log_level: info
источник

AJ

Aviral Jain in Moira
This is the notifier.yml file
источник