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?
...
Note: When doing SPM client update on systems where SPM client was moved 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.
Can I create new SPM applications programmatically via an API?
Yes, there is an HTTP API that let's you create apps programmatically. Please email spm-support@sematext.com to get the details – the details are not included here to discourage easy abuse.
I have multiple SPM applications installed on my machine, can I uninstall just one of them?
Yes, you can use the following command for that (it accepts only one parameter, token of SPM application you want to uninstall):
Code Block |
---|
sudo bash /opt/spm/bin/spm-remove-application.sh 11111111-1111-1111-1111-111111111111 |
General Troubleshooting
Can I install SPM client on servers that are behind a proxy?
...
I rebooted my server and now I don't see any data in my graphs. What should I check?
...