-
Notifications
You must be signed in to change notification settings - Fork 60
FAQ
CIFv2 was developed around Ubuntu14, CIFv3 has been developed against Ubuntu16. If you're just starting out, you should be test driving CIFv3:
https://github.com/csirtgadgets/bearded-avenger-deploymentkit
Also see our FAQ-History
- Troubleshooting CIF
- Asking for help
- Elasticsearch Troubleshooting
- DNS Warnings
- Where's the CIF Client?
- Upgrade from v1
- Can I add custom otypes?
- Purge the ElasticSearch database
See the wiki page Troubleshooting CIF.
if what you're looking for doesn't appear in the FAQ, here's what info we'll probably need when you log an issue or ask the list, be sure to post the relevant information:
-
[SEARCH THE MAILING LIST] (https://groups.google.com/forum/?fromgroups#!forum/ci-framework), there's a lot of good info in there.
-
steps to reproduce the problem
-
release version of your OS, and of CIF
-
your obfuscated config
-
recent apache logs as a result of the problem
-
a list of running processes that might be useful:
$ sudo ps aux | grep cif
-
use something like Github Gists to paste the relevant information
-
BE SURE TO OBFUSCATE SENSITIVE DATA
You cannot upgrade a v1 instance to a v2 instance but you can migrate your data from v1 to v2
See cif-users thread titled CIF custom data types
- this can be an EC2-like instance, but be ware of the network activity coming from the box, it could be flagged as malicious, check with your provider's policies
- with post processing, these boxes make a lot of threaded DNS resolution requests, make sure you understand your operating environment and work with your network team to address high volume dns queries
- http://www.spamhaus.org/zen
- http://www.spamhaus.org/dbl
- http://www.spamhaus.org/faq/answers.lasso?section=DNSBL%20Usage
- http://www.team-cymru.org/Services/ip-to-asn.html
- http://www.bind9.net/BIND-FAQ
The 'CIF Client' bin/cif
is now provided by an SDK of your choice!
How can I delete all the data in the ElasticSearch database but preserve my API keys?
- Find the massive-octo-spice git repo on your CIF server
$ cd massive-octo-spice/elasticsearch
$ make reload-data
Elasticsearch has a lot of moving parts- generally troubleshooting starts with checking the cluster health, and figuring out that you probably need to add more memory (up to ~32GB), or past that, new nodes:
- https://www.google.com/search?q=check+cluster+health
- https://discuss.elastic.co/t/how-to-fix-cluster-health-yellow-with-elastic-search/23484
- https://www.google.com/search?q=elasticsearch+add+node+to+cluster
Generally- a single node install should have the correct configuration to add new nodes, but in certain instances you may need to rebuild your cluster from scratch.