Graph NRPE command with graphite

alexis
Tue, 21 Jan 2020 23:25:21 +0000
Visualization, Metrics & Reporting

I implemented a NRPE command on icinga, it works good and it gives me a ‘rasonably’ long output:

Name/Username Host Mask Port Status Description
0 iax2 peers [0 online, 0 offline, 0 unmonitored]
–END COMMAND–

I would like to extract a specific number (the 0 before iax2) and use it as value to graph on graphite.

Is there a way to accomplish this?

Thanks in advance
AB

2 posts - 2 participants