Skip to main content

Comments

1 comment

  • John Petrucci

    Just so that others can see how cool this would be if implemented, I'll elaborate on how I would like to use this.  Having this feature would allow us to run the d42_agent on a scheduled basis and pass it virtually limitless dynamic data such as 

     

    RHEL facts: 

    d42_agent --custom-field "RHEL_Facts=$(cat /etc/rhsm/facts/my.facts)"

     

    Last 3 users to log in:

    d42_agent --custom-field "Last_Users=$(last -3 -w | head -3 | awk '{printf $1} NR<3 {printf ", "}'; echo)"

     

    ...etc...

    1

Please sign in to leave a comment.