If you are using a ServerTemplate that does not have monitoring enabled, you must add the appropriate RightScript or Chef Recipe to the boot sequence of your ServerTemplate to enable monitoring, otherwise you will not be able to see any graphs (under a server's Monitoring tab) or set any alert specifications. For this reason, it is recommended that you start your ServerTemplate development by cloning the "Base" ServerTemplate. The lineage of your ServerTemplate determines which scripts you need to work with in order to enable monitoring.
A server cannot be monitored by RightScale unless the correct RightScript or recipe has been added to the boot sequence. Since new features are constantly being added to the Monitoring utility, it is highly recommended that you install collectd using our RightScripts or recipes.
Assuming you have already imported one of RightScale's RightScript-based (RSB) ServerTemplates from the MultiCloud Marketplace, you can add the RightScript required to enable monitoring to another ServerTemplate. Be sure to add it to the Boot Sequence. The following example illustrates adding the BASE_collectd RightScript to a v14.x Infinity SeverTemplate. If you are working with a v13.5.x LTS ServerTemplate you would use the SYS_Monitoring RightScript.
Assuming you have already imported one of RightScale's Chef-based ServerTemplates from the MultiCloud Marketplace, you can add the Chef Recipe required to enable monitoring to another ServerTemplate. Be sure to add it to the Boot Sequence. The following example illustrates adding the rs-base::collectd Chef Recipe to a v14.x Infinity SeverTemplate. If you are working with a v13.5.x LTS ServerTemplate you would use the rightscale::setup_monitoring Chef Recipe.
Warning! It is highly recommend that you only install Collectd from Rightscale's official scripts and recipes mentioned above. If you need a specific collectd version or must install it yourself, it is best to contact our support team for further clarification and insight before moving on.
That being said, if you must install collectd yourself and use a non-Rightscale sanctioned version then you will want to follow the advice below.
If RightScale's RightScripts cannot be used, collectd can be installed from public repositories or from a specified source. An appropriate config file should also be copied from the RightScripts. If for some reason you need to install collectd yourself, use the following steps:
© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.