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?

...

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.
 

...