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.

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

General Messages: Date Time [log level] log message
Domain Specific Messages: Date Time [log level][domain] log message

Log Level can be [info] to indicate an information-message or [error] indicating an error condition. If [error] is followed by [domain] the error message only relates to the scan for this domain.

The following example shows the log output for a scan with multiple domains.domains (nimbusec.com, cyberrisk-rating.at, portal.nimbusec.com). 

Screenshot_20260721_113144.png

 

Common Error Messages