Project

General

Profile

Actions

User story #11726

closed

User story #4670: Allows inventories to be augmented by the user with custom properties

Allow inventories to be augmented by script on the agent side

Added by Nicolas CHARLES over 6 years ago. Updated about 6 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Inventories will be augmented via scripts in /var/rudder/hooks.d generating json

Each script will be run in the alphanumerical order, only if executable, and their output is checked to ensure that it is proper JSON

The result is in the tag RUDDER/CUSTOM_PROPERTIES, as proper JSON, automatically escapes
<CUSTOM_PROPERTIES>[{ "bla" : "blu"},{ "never" : "ever"}]</CUSTOM_PROPERTIES>

See https://github.com/fusioninventory/fusioninventory-agent/issues/403

Actions

Also available in: Atom PDF