Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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
languagebash
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?

...

A: Filters have 1 day granularity, which means that a server will be listed under Hosts filter until 24 hours since it last sent data have passed.  For example, if a server stopped sending data at 1 PM and if at 8 PM you are looking at the last 6 hours of data (for a period from 2 PM until 8 PM) you will not see data from this server on the graph, but you will still see this server listed under the Hosts filter until 1 PM on the following day.  After 1 PM on the following day this server should disappear from the Hosts filter.

I rebooted my server and now I don't see any data in my graphs. What should I check?

...

A: SPM has been tested with HBase 0.90 and 0.92, but will work for newer versions, including all CDH versions.

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?

A: Kafka had great metrics in 0.7x versions and then in pre-0.8.2 the metrics had a lot of issues.  In short, the MBeans Kafka exposed via JMX were named poorly making them very difficult/impossible to parse systematically.  We worked with the Kafka developers to fix that in Kafka 0.8.2 (see https://issues.apache.org/jira/browse/KAFKA-1481).  To make your Kafka Producers, Consumers, and Brokers properly monitorable, you should upgrade to 0.8.2 (as soon as it is released) or later.

How can I see metrics for Kafka Producers and Brokers and Consumers?

A: To see metrics for Kafka Producers, Brokers, and Consumers make sure to run SPM client on all of them.  Each of them has its own metrics.  Kafka Brokers do not expose Producers' or Consumers' metrics, so ensure you have SPM client on all three Kafka tiers.

Can I see metrics for non-Java Kafka Producers and Consumers?

A: No, because none of them seem to expose metrics the way Kafka's own Producer and Consumer implementations expose metrics.
 

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
languagebash
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:

  1. remove spm-client, for instance: sudo apt-get purge spm-client   OR   sudo yum remove spm-client
  2. after that, ensure there are no old logs, configs, etc. by running the following command: sudo rm -R /opt/spm
  3. 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.