Sensu For Mac Rating: 4,3/5 1052 votes

Reference documentation

Posted Friday, July 26th, 2013 by rob-ART morgan, mad scientist. There are many stylus products for the iPad and Android tablets. But one truly unique product is the Sensu Brush. I have spent many months using various styluses or styli. Starting 1/1/2020 we will no longer be offering sharpening services. We apologize for any inconvenience this may cause.

  • Installing Sensu Core
  • Configure Sensu
  • Operating Sensu

Install Sensu Core

Sensu Core is installed on Microsoft Windows systems via a native system installer package (i.e. a .msi file), which is available for download and from this repository.

Download and install Sensu using the Sensu MSI

NOTE: As of Sensu version 1.0, repository URLs have changed.To install or upgrade to the latest version of Sensu, please ensure you have updated existing configurations to follow the repository URL format specified below.

  1. Download the Sensu Microsoft Windows package.

  2. Double-click the sensu-1.2.0-1-x64.msi installer package to launch theinstaller, accept the Sensu Core MIT License and install Sensu using thedefault settings (e.g. install location, etc).WARNING: changing the default installation path from C:opt is stronglydiscouraged.

  3. Configure the Sensu client. No “default” configuration is provided withSensu, so the Sensu Client will not start without the correspondingconfiguration. Please refer to the “Configure Sensu” section (below)for more information on configuring Sensu. At minimum, the Sensu clientwill need a working transport definition and client definition.

Configure Sensu

WARNING: Many text editors on Windows, including Notepad, save text in a format that is not suitable for Sensu configuration.While we require UTF-8, there are similar-looking character sets that are not actually ‘UTF-8’, such as ‘UTF-8 BOM’.A more modern text editor, such as Atom or Notepad++, will allow you to do this easily, fortunately.For more about editor encodings, see this discussion on StackOverflow.If you’re automating JSON creation with e.g. PowerShell, make sure that you’re speaking UTF-8 in your shell, too! See here for more details.

By default, all of the Sensu services on Microsoft Windows systems will loadconfiguration from the following locations:

  • C:optsensuconfig.json
  • C:optsensuconf.d
Sensu For Mac

WARNING: Ensure that the configure files you create have a .json file extension and not, for example, a .json.txt file extension.Sensu will only load files that have a .json file extension.

NOTE: in general, where references to configuration file locations foundelsewhere in the Sensu documentation suggest paths beginning with /etc/sensu,these will correspond to C:optsensu on Microsoft Windows systems.Additional or alternative configuration file and directory locations may be used bymodifying Sensu’s service configuration XML and/or by starting the Sensu services with the corresponding CLI arguments.For more information, please consult the Sensu Configuration reference documentation.

The following Sensu configuration files are provided as examples. Please reviewthe Sensu configuration reference documentation for additional informationon how Sensu is configured.

Create the Sensu configuration directory

In some cases, the default Sensu configuration directory (i.e.C:optsensuconf.d) is not created by the Sensu MSI installer, in which caseit is necessary to create this directory manually.

Example client configuration

  1. Copy the following contents to a configuration file located atC:optsensuconf.dclient.json:

Example Transport Configuration

At minimum, the Sensu client process requires configuration to tell it how toconnect to the configured Sensu Transport.

  1. Copy the following contents to a configuration file located at/etc/sensu/conf.d/transport.json:

    NOTE: if you are using Redis as your transport, please use 'name': 'redis'for your transport configuration.For more information, please visit the transport definition specification.
  2. If the transport being used is running on a different host, additional configuration is required to tell the sensu client how to connect to the transport.Please see Redis or RabbitMQ reference documentation for examples.

Configure the Sensu client Windows service wrapper

The Sensu Core MSI package includes a Sensu client service wrapper, allowingSensu to be registered as a Windows service. The Sensu client service wrapperuses an XML configuration file to configure the sensu-client run arguments(e.g. --log C:optsensusensu-client.log). Octavarium midi.

To configure the Sensu client service wrapper, edit the service definition fileat C:optsensubinsensu-client.xmlThe pillow collection company. with your favorite text editor. This XMLconfiguration file allows you to set Sensu client CLI arguments. Thefollowing example configuration file sets the Sensu client primary configurationfile path to C:optsensuconfig.json, the Sensu configuration directory toC:optsensuconf.d, and the log file path to C:optsensusensu-client.log.

Install the Sensu client Windows service

Open an Administrative Command Prompt and use the Windows SC utility to create the Windows service for the Sensu client:

NOTE: the space between the equals (=) and the values is required.

Operating Sensu

Managing the Sensu client Windows service

To manually start and stop the Sensu client Windows service, use theServices.msc utility, or via the Command Prompt.

  • Start or stop the Sensu client