Hi guys, I used Centreon for a long time to monitor firewalls and servers, but it's been five years since I last used it and now I'm setting up an instance at home to monitor my media server. I still remember most of the things, but I used to create my own commands and generating graphs for anything I needed, but I can't remember the output pattern that allows Centreon to understand the exit code as well as the values to be used in the graphs.
I learned a lot from the old forum which we cant access anymore (access denied 401). I don't know why they did that, but anyway.
The things I remember are:
I have to use exit codes 1,2,3 and to plot graphs I need something like tag=$value;min,max, but I cant remember or find the correct syntax. Can someone help me with that?
Today I just want to `ls -1 | wc -l`, and generate a graph from the output of this command. As simple as that.
Thanks