Confirm the agent is running
systemctl status cfsvcd
“Active:” ... “active (running)”
Check that the log entries (the lines beginning with timestamps) don’t indicate any error conditions. If there have not been any, you should still see entries from systemd indicating that the service started and an entry from cfsvcd indicating that it found the config.json file and is continuing execution.
Confirm the agent has network connectivity
nc -z any_arbitrary_bucket.s3.amazonaws.com 443
You may need to install the nc command first if it isn’t installed yet. If there is no printed result from the command, then the required network connectivity is available.
Confirm the agent has initialized
This directory is created upon the first upload attempt. It is emptied when an upload succeeds, so there may be no contents. If it contains many entries, there may be a problem uploading telemetry. One or two entries that are present for a short time may appear during normal operation.
Manually stop the agent
If you need to manually stop the agent, run:
sudo systemctl stop cfsvcd
sudo initctl stop cfsvcd
Manually start the agent
If you need to manually start the agent, run:
sudo systemctl start cfsvcd
Enable Safe Mode
If you need to manually enable Safe Mode through the command line, run:
/opt/redcanary/cfctl safe --enable
Disable Safe Mode
To disable Safe Mode and return the agent to normal operation through the command line, run:
/opt/redcanary/cfctl safe --disable