Size: a a a

2020 December 11

SN

Sergei Nemirov in NOC Project
*55 connect() failed (111: Connection refused) while connecting to upstream, client: 77.222.111.49, server: noc.linkup.su, request: "GET / HTTP/2.0", subrequest: "/api/auth/auth/", upstream: "http://10.40.0.6:35003/api/auth/auth/", host: "noc.linkup.su"
источник

SN

Sergei Nemirov in NOC Project
*55 auth request unexpected status: 502 while sending to client, client: 77.222.111.49, server: noc.linkup.su, request: "GET / HTTP/2.0", host: "noc.linkup.su"
источник

IE

Ivan EKbfh in NOC Project
Sergei Nemirov
*55 auth request unexpected status: 502 while sending to client, client: 77.222.111.49, server: noc.linkup.su, request: "GET / HTTP/2.0", host: "noc.linkup.su"
С башни ставил?
источник

SN

Sergei Nemirov in NOC Project
да
источник

SN

Sergei Nemirov in NOC Project
оно работает, но до ребута. потом вот так
источник

SN

Sergei Nemirov in NOC Project
чистый дебиан был, 10.
источник

SN

Sergei Nemirov in NOC Project
снова деплой делаю - снова работает, потом ребут и опять "Internal Server Error"
источник

IE

Ivan EKbfh in NOC Project
Sergei Nemirov
снова деплой делаю - снова работает, потом ребут и опять "Internal Server Error"
systemctl status noc
источник

SN

Sergei Nemirov in NOC Project
● noc.service - NOC Node Service
  Loaded: loaded (/etc/systemd/system/noc.service; enabled; vendor preset: enabled)
  Active: active (running) since Fri 2020-12-11 13:44:57 +05; 23min ago
    Docs: https://kb.nocproject.org/display/SITE/NOC
 Process: 536 ExecStart=/opt/noc/bin/supervisord -c /opt/noc/etc/supervisord.conf (code=exited, status=0/SUCCESS)
Main PID: 655 (supervisord)
   Tasks: 217 (limit: 4915)
  Memory: 3.1G (max: 4.4G limit: 4.4G)
  CGroup: /system.slice/noc.service
          ├─655 /opt/noc/bin/python3.8 /opt/noc/bin/supervisord -c /opt/noc/etc/supervisord.conf
          ├─676 noc-login-
          ├─677 noc-login-
          ├─678 noc-escalator
          ├─680 noc-scheduler
          ├─681 noc-selfmon
          ├─682 ./bin/python ./services/web/service.py
          ├─683 ./bin/python ./services/web/service.py
          ├─684 noc-ping-defau
          ├─685 noc-ping-defau
          ├─686 noc-ping-defau
          ├─687 noc-ping-defau
          ├─688 noc-ping-defau
          ├─689 ./bin/python ./services/sae/service.py
          ├─690 ./bin/python ./services/sae/service.py
          ├─691 noc-datasource
          ├─692 noc-datasource
          ├─693 noc-datastream
          ├─694 noc-discovery-defau
          ├─695 noc-discovery-defau
          ├─696 noc-discovery-defau
          ├─697 noc-mib
          ├─698 ./bin/python ./services/mrt/service.py
          ├─699 ./bin/python ./services/mrt/service.py
          ├─700 ./bin/python ./services/mx/service.py
          ├─701 noc-nbi
          ├─702 ./bin/python ./services/correlator/service.py
          ├─703 noc-syslogcoll-defau
          ├─704 noc-trapcollec-defau
          ├─705 ./bin/python ./services/card/service.py
          ├─706 ./bin/python ./services/card/service.py
          ├─707 ./bin/python ./services/chwriter/service.py
          ├─709 ./bin/python ./services/classifier/service.py
          ├─710 ./bin/python ./services/classifier/service.py
          ├─711 ./bin/python ./services/classifier/service.py
          ├─712 ./bin/python ./services/grafanads/service.py
          ├─713 ./bin/python ./services/grafanads/service.py
          ├─717 noc-icqsender
          ├─722 noc-mailsender
          ├─728 noc-tgsender
          ├─729 noc-activator-defau
          ├─730 noc-activator-defau
          ├─732 noc-activator-defau
          ├─733 noc-activator-defau
          ├─738 noc-activator-defau
          ├─739 noc-activator-defau
          ├─742 ./bin/python ./services/bi/service.py
          └─743 ./bin/python ./services/bi/service.py
источник

IE

Ivan EKbfh in NOC Project
Sergei Nemirov
● noc.service - NOC Node Service
  Loaded: loaded (/etc/systemd/system/noc.service; enabled; vendor preset: enabled)
  Active: active (running) since Fri 2020-12-11 13:44:57 +05; 23min ago
    Docs: https://kb.nocproject.org/display/SITE/NOC
 Process: 536 ExecStart=/opt/noc/bin/supervisord -c /opt/noc/etc/supervisord.conf (code=exited, status=0/SUCCESS)
Main PID: 655 (supervisord)
   Tasks: 217 (limit: 4915)
  Memory: 3.1G (max: 4.4G limit: 4.4G)
  CGroup: /system.slice/noc.service
          ├─655 /opt/noc/bin/python3.8 /opt/noc/bin/supervisord -c /opt/noc/etc/supervisord.conf
          ├─676 noc-login-
          ├─677 noc-login-
          ├─678 noc-escalator
          ├─680 noc-scheduler
          ├─681 noc-selfmon
          ├─682 ./bin/python ./services/web/service.py
          ├─683 ./bin/python ./services/web/service.py
          ├─684 noc-ping-defau
          ├─685 noc-ping-defau
          ├─686 noc-ping-defau
          ├─687 noc-ping-defau
          ├─688 noc-ping-defau
          ├─689 ./bin/python ./services/sae/service.py
          ├─690 ./bin/python ./services/sae/service.py
          ├─691 noc-datasource
          ├─692 noc-datasource
          ├─693 noc-datastream
          ├─694 noc-discovery-defau
          ├─695 noc-discovery-defau
          ├─696 noc-discovery-defau
          ├─697 noc-mib
          ├─698 ./bin/python ./services/mrt/service.py
          ├─699 ./bin/python ./services/mrt/service.py
          ├─700 ./bin/python ./services/mx/service.py
          ├─701 noc-nbi
          ├─702 ./bin/python ./services/correlator/service.py
          ├─703 noc-syslogcoll-defau
          ├─704 noc-trapcollec-defau
          ├─705 ./bin/python ./services/card/service.py
          ├─706 ./bin/python ./services/card/service.py
          ├─707 ./bin/python ./services/chwriter/service.py
          ├─709 ./bin/python ./services/classifier/service.py
          ├─710 ./bin/python ./services/classifier/service.py
          ├─711 ./bin/python ./services/classifier/service.py
          ├─712 ./bin/python ./services/grafanads/service.py
          ├─713 ./bin/python ./services/grafanads/service.py
          ├─717 noc-icqsender
          ├─722 noc-mailsender
          ├─728 noc-tgsender
          ├─729 noc-activator-defau
          ├─730 noc-activator-defau
          ├─732 noc-activator-defau
          ├─733 noc-activator-defau
          ├─738 noc-activator-defau
          ├─739 noc-activator-defau
          ├─742 ./bin/python ./services/bi/service.py
          └─743 ./bin/python ./services/bi/service.py
что в логах login?
tail -f /var/log/noc/login*.log
источник

SN

Sergei Nemirov in NOC Project
2020-12-11 12:12:32,897 [noc.core.dcs.base] Set faulty status to: Failed to resolve mongo: Timeout
2020-12-11 12:12:32,899 [noc.core.dcs.base] [mongo] Starting resolver (near=False)
2020-12-11 12:12:32,921 [noc.core.dcs.base] Set faulty status to: Consul error:
источник

SN

Sergei Nemirov in NOC Project
постоянно
источник

SN

Sergei Nemirov in NOC Project
mongod.service - MongoDB Database Server
  Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
  Active: active (running) since Fri 2020-12-11 13:44:34 +05; 30min ago
    Docs: https://docs.mongodb.org/manual
Main PID: 539 (mongod)
  Memory: 234.5M
  CGroup: /system.slice/mongod.service
          └─539 /usr/bin/mongod --config /etc/mongod.conf

Dec 11 13:44:34 NOC systemd[1]: Started MongoDB Database Server.
источник

IE

Ivan EKbfh in NOC Project
consul members
источник

SN

Sergei Nemirov in NOC Project
Node  Address         Status  Type    Build  Protocol  DC   Segment
NOC   10.40.0.6:8301  alive   server  1.6.2  2         noc  <all>
источник

SN

Sergei Nemirov in NOC Project
это в я.облаке стоит, за натом
источник

SN

Sergei Nemirov in NOC Project
в башне указал днс, который резолвится в белый ip, который натится 1в1 в 10.40.0.6. может в этом проблема...
источник

IE

Ivan EKbfh in NOC Project
Sergei Nemirov
это в я.облаке стоит, за натом
Интресно
источник

IE

Ivan EKbfh in NOC Project
а что мониторишь, есл ине секрет
источник

SN

Sergei Nemirov in NOC Project
микротики в своей as, штук 300
источник