Run cmdReporter in debug mode
When cmdReporter is executed with the -D flag operational information is printed to STDOUT for display in a terminal application.
To run cmdReporter in debug mode:
# Unload the background services sudo launchctl unload /Library/LaunchDaemons/com.cmdsec.cmdReporter.plist launchctl unload "/Library/LaunchAgents/com.cmdsec.cmdReporterHelper.plist" # Run cmdReporter in debug mode sudo /Applications/cmdReporter.app/Contents/MacOS/cmdReporter -D
Reading cmdReporter debug output
The debug output will show which output modules were configured correctly and output any preference or operational logs such as connection failures. cmdReporter will continue to log additional output as it runs to assist in troubleshooting network connections or preference issues.
Example cmdReporter -D output
$ sudo /Applications/cmdReporter.app/Contents/MacOS/cmdReporter -D cmdReporter: Operating System Version: macOS 10.15.5 (Build 19F101) cmdReporter: 2 logger(s) were successfully initialized. * FileAppenderLogger (/var/log/cmdReporter.log) is valid * RemoteEndpointLogger (https://your.splunk.server:8088/services/collector/raw) is valid cmdReporter: Generating logs in JSON format UnifiedLogService: Predicate Ignored! The predicate cannot be evaluated: RemoteEndpointLogger: Failed to send 67 messages to the server. Error:The Internet connection appears to be offline.