Skip to main content
Skip table of contents

How to run collector reporter for V6.24 and higher on MacOS

Question:

How to run collector reporter for V6.24 and higher on MacOS device?

Steps:

The steps below are for macOS collector v6.24 and higher.

  1. Open a terminal and issue the following commands.

Stop plists for the Nexthink driver and coordinator service:

sudo launchctl unload /Library/LaunchDaemons/com.nexthink.collector.driver.nxtsvc.plist

sudo launchctl unload /Library/LaunchDaemons/com.nexthink.collector.nxtcoordinator.plist


2. Change value in config.json to "trace" level:

sudo sed -i '' 's/\"warning\"/\"trace\"/' /Library/Application\ Support/Nexthink/config.json


3. Start plists for the Nexthink driver and coordinator service:

sudo launchctl load -w /Library/LaunchDaemons/com.nexthink.collector.driver.nxtsvc.plist

sudo launchctl load -w /Library/LaunchDaemons/com.nexthink.collector.nxtcoordinator.plist


4. Reproduce behavior or fault condition while the collector is in "Trace" mode.

5. Copy the “reporter” file to your home directory. You can find the reporter in the collector .DMG image.

Open a terminal and execute

sudo ./reporter

Change the permissions on the output file so you can copy it off the appliance

sudo chmod 755

6. Copy the generated Nexthink_reporter.zip from the Mac and send this to Nexthink support.
 

NOTE: Currently the following files are not gathered by default by the reporter but will be in the future.

/Library/Logs/nxtray.log

/Library/Logs/nxtcoordinator.log

For now, please upload both these 2 log files in addition to the Nexthink_reporter.zip for support


To revert back to the original warning log-level:

  1. Stop plists for the Nexthink driver and coordinator service:

sudo launchctl unload /Library/LaunchDaemons/com.nexthink.collector.driver.nxtsvc.plist

sudo launchctl unload /Library/LaunchDaemons/com.nexthink.collector.nxtcoordinator.plist

 

2. Change value in config.json to "warning" level:

sudo sed -i '' 's/\"trace\"/\"warning\"/' /Library/Application\ Support/Nexthink/config.json

 

3. Start plists for the Nexthink driver and coordinator service:

sudo launchctl load -w /Library/LaunchDaemons/com.nexthink.collector.driver.nxtsvc.plist

sudo launchctl load -w /Library/LaunchDaemons/com.nexthink.collector.nxtcoordinator.plist

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.