Hello, everyone,
I understand that the module is framework for developing sensors, but how is all the data that is 'collected' exposed to the monitoring tool?
I haven't found any examples of curl / nagios commands / or anything like that showing that it is possible from the outside to read something.
is an authentication of some kind handled?
Thanks in advance
Comments
Comment #2
ressaI agree, it would be great with some more details in the documentation.
Comment #3
peter törnstrand commentedI second that. I can see that there is support for REST resources in the code and I guess that is the way to go? I also found this issue #2398835: Readd icinga integration where the Icinga integration module is removed from the code.
Comment #4
peter törnstrand commentedI also found this just now https://www.drupal.org/project/monitoring_icinga
Comment #5
peter törnstrand commentedAnd also, have a look at the Drush command
monitoring:run. It can output results in different formats. See code https://git.drupalcode.org/project/monitoring/-/blob/8.x-1.x/src/Command...Comment #6
berdirREST is an option, drush is an option, you can also write your own integration based on those examples. There's also an option to run sensors on cron and send an e-mail.
A new addition is the monitoring_prometheus submodule which exposes sensors using the prometheus metrics standard.
Feel free to either propose README changes or create a documentation page on how to do your own integration.