Making a custom probe & sensor

The other day I was trying to create a custom probe/sensor for a probe for our linux machines.

The only example I could find was to read a text file and make a ci based on that. That was not what I wanted.

I was specifically asking a program to tell me about its facts and I wanted to relate those details to the currently identified CI.

I couldnt remember how to do this;

Thankfully Rob G. pointed me in the right direction.