Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

sudo systemctl status ophad

log files file for ophad

sudo journalctl -fu ophad -n 50

...

status for nats-server

sudo systemctl status nats-server

log file for nats-server

sudo journalctl -fu nats-server -n 50

omkd

If the omkd service will not start and you get the following messages in /usr/local/omk/log/opDaemon.log

...

Code Block
languagejson
"db_mongo_cluster": [],

If you get

[error] Failed to get nodes model: Find failed: MongoDB::DatabaseError: node is not in primary or recovering state

It is because you have not completed the step to Initialize MongoDB Replica Set

Duplicated nodes on the primary

When operating opHA in a configuration that includes both a poller and a mirror pair, you may notice duplicate node entries appearing in opCharts and NMIS. It's important to understand that this is only a visual duplication - there is still just one actual node being monitored in the system.