Table of Contents |
---|
...
How do I configure Collectd for SPM if I am already using it?
A: SPM requires the Collectd "csv" plugin to be enabled and configured like this:
Code Block |
---|
<Plugin csv> DataDir /opt/spm/collectd/logs StoreRates true </Plugin> |
If you are already using Collectd and if the DataDir is already pointed to some other directory, simply symlink the /spm/collectd/logs directory to the directory specified in DataDir, like this:
Code Block | ||
---|---|---|
| ||
sudo mkdir -p /opt/spm/collectd # if needed sudo ln -s /some/existing/collectd/data/dir /spm/collectd/logs |
You will also have to merge the remaining part of the Collectd config required by SPM.
Is there a Chef Recipe for the SPM client?
...
I rebooted my server and now I don't see any data in my graphs. What should I check?
...
Kafka Monitoring
Why am I not seeing all Kafka metrics if I'm running a 0.8.x version of Kafka that is pre-0.8.2?
How can I see metrics for Kafka Producers and Brokers and Consumers?
Can I see metrics for non-Java Kafka Producers and Consumers?
Upgrading
How do I upgrade the SPM client?
A: If you have previously installed the SPM client package (RPM, Deb, etc.) as described on https://apps.sematext.com/spm-reports/client.do simply upgrade via apt-get (Debian, Ubuntu, etc.), or yum (RedHat, CentOS, etc.), or zypper (SuSE):
Code Block | ||
---|---|---|
| ||
sudo apt-get update && sudo apt-get install spm-client # NOTE: this does not update the whole server, just spm-client sudo yum clean all && sudo yum update spm-client # NOTE: this does not update the whole server, just spm-client sudo zypper up spm-client |
After that is done, also do:
- if you are using SPM monitor in in-process/javaagent mode - restart monitored server (restart your Solr, Elasticsearch, Hadoop node, HBase node... Exceptions: In case of Memcached, no need to restart anything; in case of Redis only standalone SPM monitor exists so check below how to restart it)
OR
- if you are using standalone SPM monitor, restart it with:
Code Block |
---|
sudo /etc/init.d/spm-monitor restart |
If you used bash script based installer, then just run the installation command again ("curl -ko installer.sh
...." or "wget --no-check-certificate -O installer.sh
..."). There is no need to go through "Client configuration setup" steps from https://apps.sematext.com/spm-reports/client.do since the existing configuration will be preserved.
After that is done, next step is the same as with apt-get/yum/zipper upgrade - you should restart monitored server (if using in-process/javaagent monitor) or standalone SPM monitor.
Note: If you moved SPM client from /opt/spm to different directory, you will first have to move SPM back to original /opt/spm directory:
Code Block |
---|
sudo bash /opt/spm/bin/move-spm-home-dir.sh /mnt/some_other_dir/spm /opt/spm |
and then proceed with regular update. After update is done, you can again move SPM client to location which suits you.
Uninstalling
How do I uninstall the SPM client?
A: On servers where you want to uninstall the client do the following:
- remove spm-client, for instance:
sudo apt-get purge spm-client
ORsudo yum remove spm-client
- after that, ensure there are no old logs, configs, etc. by running the following command:
sudo rm -R /opt/spm
- if you used in-process (javaagent) version of monitor, remove "-javaagent" definition from startup parameters of process which was monitored
Note: in case you used installer described on "Other" tab on http://apps.sematext.com/spm-reports/client.do , instead of commands from step 1 run: sudo bash /opt/spm/bin/spm-client-uninstall.sh
. After that proceed with steps 2 and 3 described above.
Billing
Which credit cards are accepted?
A: We accept all major credit cards - Visa, MasterCard, American Express, JCB, Discover, and Diners Club.
Can I be invoiced instead of paying with a credit card?
A: Yes, we offer a pre-payment option. When you select this option just email us and tell us how much you want to pre-pay. We'll invoice you and once we receive your payment we'll enter in the system and you'll be good to go. Every month when we do the billing we'll subtract your usage cost for the previous month from your balance in our system. We'll notify you before your balance gets too low, so that we can repeat the invoicing process.
How often will I get billed?
A: We bill on a monthly basis and send an email to notify you of the amount.
Can the billing email be sent to our Accounts Payable/Accounting instead of me?
A: Yes, when you select your plan and payment method you will also be able to enter an alternative billing email address.
Do I have to commit or can I stop using SPM at any time?
A: There is no commitment and no contract. When/if you want to stop using SPM you simply stop sending us your metrics and/or switch to the Free plan.