The ChatOpsCollector works a little differently than other collectors as you only have to run it once for widget to register. We are working to make a robust admin module which will provide the same functionality to register as well as enable/disable a widget without having to write and run collector like this one. Stay tuned.
I have tested this with Enterprise Hipchat version, It is not tested against public HipChat, but it should work.
- HipChat
- Slack.com (Not implemented yet, looking for community to contribute)
- Gitter.im (Not implemented yet, looking for community to contribute)
- Need to provide hipchat server name.
- Chat Room Name
- API token (Only v2 style tokens are supported at this time)
- For more info click here
dbname=Your Mongodb Name
dbusername=your mongodb username
dbpassword=your mongodb password
dbhost=your mongodb host
dbport=your mongodb port
logging.file=./logs/chatops.log
chatops.cron=5 * * * * *
Make sure the configuration file chatops.properties is in the same folder where the collector jar is before starting.
java -jar <chatopscollector.jar> --spring.config.name=chatops
If your properties file is in different location than your start command would look like:
java -jar <chatopscollector.jar> \
--spring.config.name=chatops \
--spring.config.location=path to external properties file