List of assigned classes/manifests to a node and forward this information to monitoring software

asked 2018-08-30 03:51:47 -0600

kariboe gravatar image


Is there a way to list all the assigned classes to a node? We want to forward that list to our monitoring system where specific checks will be enabled/disabled for that node.

For example: Node XYZ has NGINX software and Redis software classes assigned with Puppet.

What is the best way to parse those 2 class names to a string/array that we can pass on to our monitoring system? I was thinking about creating a defined type software_check, and then realize these defined types in the manifest where we contact our monitoring system. But I'm not sure If this is possible.

Other suggestions are very welcome!

Kind Regards,


edit retag flag offensive close merge delete