Hi, I’m currently monitoring an IDRAC from my server thanks to centreon plugin. The duet service/ command I’v just created for my idrac return a huge amount of metrics that I want to divide into separate and different commands/services for visualization in my web console. Is it possible to apply regex to metrics output in my config commands.conf so that I can manualy divide one service into multiple sub-services ?
As far as I know this is not possible after the check result is received.
That should be either handled by the check script or should be separate checks.
For monitoring iDrac systems I recommend having a look at the check_redfish
plugin.
Instead of the old way via IPMI or SNMP it uses the Redfish API.
you can use icingadsl and dummy services to get data from other checks including performance data
I’m not that much into icingadsl so I cant help with that just point you into the right direction.
Best Regards
Nicolas
If you have a check that works but produces to much information, that you would like to split, a wrapper script could help to only return a subset to the original (main) service and additional parameters to the wrapper command could define the splits and names for the additional services.
The additional services could be generated by hand or via API and the additional results would need to be passed to Icinga via REST API as “passive” checks.
This way you could circumvent the Icinga DSL and also have a clean “main” service by returning only one subset or even only expose the monitoring of the wrapper and the centreon plugin but all IDRAC states and metrics get send to dedicated services.
Hi thanks for your reply, that’s what I guessed !
Hey there! I would like to ask you to mark an answer as the solution, if it resolves your topic.
If your topic is resolved, please also make sure to mark the response that helped you solve it as the “solution” by clicking the three dots on that message.
If the solution can’t be found in a single answer, it would be super helpful, if you could write a summary of what helped and marked this as the solution. This way users with a similar problem can solve their issues a lot easier. Thank you!