Skip to content

This plugin allows to retrieve information from REST server and use them as Node Properties

Notifications You must be signed in to change notification settings

RaphaelGauthier/rudder-plugin-datasources

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rudder plugin: Node properties data sources

This project is part of Rudder - Continuous configuration for effective compliance

Rudder is an easy to use, web-driven, role-based solution for IT Infrastructure Automation & Compliance.

See: http://rudder-project.org for more information.

Synopsis

This plugin allows to auto fill node properties with data coming from third party REST-enable application.

Logging

You can log information about data source (behavior and errors) by adding the following lines in your logback.xml file:

  <!--
    Datasource
    ==========
    Information about data source.
    "datasources" log what data source are fetched when (info level for updates start,
    error level for errors, debug/trace for non error returned value).

    "datasource-timing" give information about how long it takes to fetch data from
    data source. Debug level is at the data source action level (ex: how long it takes
    to update all nodes), trace times each http request individualy. It can be very
    verbose if you have a couple of thousand of nodes with a "node by node" query type.
  -->
  <logger name="datasources" level="info" additivity="false">
    <appender-ref ref="OPSLOG" />
    <!-- comment the following appender if you don't want to have logs about report in both stdout and opslog -->
    <appender-ref ref="STDOUT" />
  </logger>
  <logger name="datasources-timing" level="off" additivity="false">
    <appender-ref ref="OPSLOG" />
    <!-- comment the following appender if you don't want to have logs about report in both stdout and opslog -->
    <appender-ref ref="STDOUT" />
  </logger>

About

This plugin allows to retrieve information from REST server and use them as Node Properties

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 70.7%
  • HTML 11.7%
  • CSS 7.8%
  • JavaScript 5.3%
  • Makefile 2.7%
  • Shell 1.8%