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

Uccio created an issue. See original summary.

ressa’s picture

I agree, it would be great with some more details in the documentation.

peter törnstrand’s picture

I 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.

peter törnstrand’s picture

peter törnstrand’s picture

And 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...

berdir’s picture

Version: 8.x-1.13 » 8.x-1.x-dev
Category: Support request » Task

REST 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.