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:
logging: loggers: opsview: level: NOTICE
Keeping the indentation the same (do not use tab characters, only spaces), change
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
A list of all the micro-services can be found at Distributing Functionality
opsview-deploy at this point will reset the logging back to defaults on all components on all servers.
Updated over 3 years ago