NMC trobuleshooting
Диагностика Discovery
Необходимо на nmc зайти и добавить файл net.cfg в папку /etc/monit.d
###############################################################################
## Services
###############################################################################
## Check that a process is running, responding on the HTTP request,
## check its resource usage such as cpu and memory, number of children.
## In the case that the process is not running, monit will restart it by
## default. In the case that the service was restarted very often and the
## problem remains, it is possible to disable the monitoring using the
## TIMEOUT statement. The service depends on another service (mysql) which
## is defined in the monit control file as well.
check system $HOST
check network eth0 with interface eth0
if failed link then exec "/bin/ls /tmp > /dev/null"
check network eth1 with interface eth1
# if link down then "ls > /dev/null"
check network br-lan with interface br-lan
# if link down then "ls > /dev/null"
check host rmc-update-repo-server with address imx287-rmc.repo.service.consul
if failed ping then alert
if failed port 6896 type tcp protocol http then alert
check host rmc-discovery-server with address rmc.discovery.service.consul
if failed ping then alert
if failed port 9230 type tcp then alert
check host rmc-influxdb-service with address udp.influxdb.service.consul
if failed ping then alert
if failed port 8089 type udp then alert
check host nats-msg-service with address msg.service.consul
if failed ping then alert
if failed port 4222 type tcp then alert
затем запустить эти комманды
monit reload
monit summary
Fix Rack/chassis/slot in UI
api sysgents > geometric topology > forcerecreate == TRUE > execute
после этого выбрать racktype, так же в api sysgents