Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: To avoid sounding like HTTPS makes client side a dog
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?

...

 

How come Disk Space Usage report shows more free disk space than df command?

A: SPM reports both free and reserved disk space as free, while df does not include reserved disk space by default.

 

I changed my server's hostname and now I don't see new data in my graphs. What should I do?

A: Simply restart SPM Sender:

 

Code Block
languagebash
sudo /etc/init.d/spm-sender restart

 

Can I specify which Java runtime the SPM client should use?

A: Yes, you can edit the /opt/spm/properties/java.properties file where you can specify the location of Java you want the SPM client (the SPM Sender, and SPM monitor if you are running the standalone version) to use.

Can

I improve performance/reduce load of

SPM client

by using

use HTTP instead of HTTPS

to send

to send metrics from my servers?

A: Yes. Since version 1.22.0, SPM sender by default uses HTTPS to send metrics data to Sematext servers. If you are OK prefer to use HTTP instead (for example, in if you are running SPM on - premises setups, or if you don't need metric data to be encrypted when sending being sent to SPM over the Internet), you can adjust that in file in /opt/spm/properties/spm-sender.properties by changing protocol to http in property:

Code Block
spm_sender_receiver_url=https://spm-receiver.sematext.com/receiver/v1

 

...