5.17. jezebel

The jezebel module performs services checks against jezebel and simplifies its special-case Resmon output.

Resmon is a light-weight resource monitor that exposes health of services over HTTP in XML.

This module rides on the http module and provides a secondary phase of XML parsing on the contents that extracts Resmon status messages into metrics that can be trended.

loader

lua

object

noit.module.jezebel

5.17.1. Module Configuration

url
required

required

allowed

.+

The URL including schema and hostname (as you would type into a browser's location bar).

port
required

optional

allowed

\d+

The TCP port can be specified to overide the default of 81.

5.17.2. Check Configuration

.+
required

optional

allowed

.*

All check config values are passed through to jezebel for execution.

Example 5.18. Checking resmon services on OmniTI Labs.

This example checks the Resmon service on OmniTI Labs.

      <noit>
        <modules>
          <loader image="lua" name="lua">
            <config><directory>/opt/reconnoiter/libexec/modules-lua/?.lua</directory></config>
          </loader>
          <jezebel>
            <config>
              <url>http://127.0.0.1:8083/dispatch</url>
            </config>
            <module loader="lua" name="com.omniti.jezebel.SampleCheck"
                    object="noit.module.jezebel"/>
          </jezebel>
        </modules>
        <checks>
          <labs target="8.8.38.5" module="com.omniti.jezebel.SampleCheck">
            <check uuid="36b8ba72-7968-11dd-a67f-d39a2cc3f9de"/>
          </labs>
        </checks>
      </noit>