summaryrefslogtreecommitdiff
path: root/lib/oxidized/hook/exec.rb
AgeCommit message (Collapse)Author
2018-04-21the great makeover - standardize layout, alignment, indentationWild Kat
2017-11-20feature: Added model information to exec hook (#1105)pv2b
* Add OX_NODE_MODEL to exec hook * Update docs to reflect added OX_NODE_MSG to hook
2017-08-08remove duplicated hook env variableDanilo Sousa
2017-05-11Added OX_NODE_IP for hook type: execBenedikt Heumüller
Added OX_NODE_IP to access the IP address for exec commands.
2015-12-27expose git repo name and commit oid in hook mechanism and environment variablesNick Hilliard
2015-09-17restore ruby 1.9.3 compatibility0.8.1Saku Ytti
fix some whitespaces bump up gemspec version
2015-08-28Initial implementation of the hook featureAnton Aksola
The current implementation is modular and allows users to define hooks in several ways: * Use one of the built-in hook types (currently only 'exec') * Define their own Hook classes inside ~/.config/oxidized/hook Exec hook type runs a user defined command with or without shell. It populates a bunch of environment variables with metadata. The command can either be run as synchronous or asynchronous. The default is synchronous.