Skip to main content

Output and Troubleshooting

This section describes the expected output of the Nimbusec Server Agent and covers the success case as well as common error conditions.

Exit Codes

If you run the server agent as through scheduling like cron or windows scheduled tasks or you use the server agent as part of a scripted automation you can test for the following exit codes to trigger actions or send notifications.

CodeMeaning
0Success. The agent scanned all configured directories and was able to upload all scan results to the Nimbusec Servers.
1An error occurred while reading the configuration through the config file or the environment variables. Due to this no scans were performed.
2An unknown command line parameter was used when starting the server agent.
3An error occurred during at least one scan. Unaffected domains may have been scanned successfully. Please check the logs to see errors and affected domains.
4An error occurred during at least one upload of scan results. Unaffected domains may have been scanned successfully. Please check the logs to see errors and affected domains.


Log Output

The log output of server agent is structured 

The following example shows the log output for a scan with multiple domains.