Table of Contents |
---|
Getting Started
...
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
remotelyprogrammatically via an API?
Yes, we have introduced special API which you can use for that. Please contact us at there is an HTTP API that let's you create apps programmatically. Please email spm-support@sematext.com if you are interested in using it and we will provide you with details to get the details – the details are not included here to discourage easy abuse.
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?
...