Starting the Notifier

Running the Notifier has rules and limitations.

To start the Notifier, run the following command:
cos-notify

After you start the Notifier, you are prompted for security credentials for the manager API and Kafka cluster.

Starting COS Notifier - Version 0.1
Enter the Manager API username: admin
Enter the Manager API password:
Enter the Kafka username: cos
Enter the Kafka password:
Enter the Kafka pem:
Creating Kafka producer...
Done
Notifier is running
Log file and config file are in directory C:\dev\cos-scanner\output\debug\notifier\20180912-121641-283000
Checking for files in   \data  
- 11 files found Checking for files in output\data  
- 256 files found

Rules and limitations

The following rules and limitations apply to the Notifier:

  • You cannot start the Notifier in the background because the Notifier requires user input at the terminal window.
  • You can stop the Notifier and force the Notifier to run in the background.
  • The passwords and pem do not display when you type and paste the passwords in the console.
  • The certificate pem is approximately 1600 characters. If you use an SSH connection, the certificate pem might be truncated to 1000 characters.
  • If the number is truncated to 1000 characters, include the certificate pem in the config file.