Component DEBUG logs

How to enable debug logging on a component

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:

        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.