This repository has been archived by the owner on Oct 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Installer Hooks
matt maier edited this page Mar 31, 2016
·
2 revisions
There are currently two hooks available to perform custom actions before and after NAD installation. These can be used to install additional plugins or alter the agent.
Run before NAD package installation. If the file exists and is executable, it will be run, errors will be ignored.
Location: /opt/circonus/cosi/agent_pre_hook.sh
Run after NAD package installation. If the file exists and is executable, it will be run, errors will be ignored.
Location: /opt/circonus/cosi/agent_post_hook.sh
For an example of post hooks, see the example/ directory in this repository. Specifically the CentOS tasks and files in the cosi role.