Component DEBUG logs

Most of the micro-services Opsview uses can be put into debug mode.

Using the Scheduler as an example, as the root user edit the file /opt/opsview/scheduler/etc/scheduler.yaml; within the file you will see these lines:

  logging:
    loggers:
      opsview:
        level: NOTICE

Keeping the indentation the same (do not use tab characters, only spaces), change NOTICE to DEBUG, save the file. Now restart the service by running

/opt/opsview/watchdog/bin/opsview-monit restart opsview-scheduler

All the debug messages will be logged in /var/log/opsview/opsview.log.

A list of all the micro-services can be found at Distributing Functionality

Note

Running opsview-deploy at this point will reset the logging back to defaults on all components on all servers.
["Opsview On-premises"] ["Troubleshooting", "User Guide"]

Was this topic helpful?