Saving host/service checks results as perfdata

11 views
Skip to first unread message

senpai70

unread,
Apr 4, 2018, 3:44:33 AM4/4/18
to mod_gearman
Hi everyone,
I'd like to save every check results as perfdata alongside the real perfdata (if any).

Someone already did it or it's possible with the current mod_gearman (AFAIK no) ?

If not it would be nice to have that option (I'd like to investigate on the code as soon as I have some free time)...

Any thought on this?

TIA

Sven Nierlein

unread,
Apr 4, 2018, 3:46:30 AM4/4/18
to mod_g...@googlegroups.com, senpai70
Hi,

you can set as many perfdata queues as you like. That way we created parallel setups for example
with PNP and Influxdb.

Cheers,
Sven
> --
> You received this message because you are subscribed to the Google Groups "mod_gearman" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to mod_gearman...@googlegroups.com <mailto:mod_gearman...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

senpai70

unread,
Apr 4, 2018, 3:51:17 AM4/4/18
to mod_gearman
But that is for perfdata only not for check results (ie 0,1,2,3 states) right?


On Wednesday, April 4, 2018 at 9:46:30 AM UTC+2, Sven Nierlein wrote:
Hi,

you can set as many perfdata queues as you like. That way we created parallel setups for example
with PNP and Influxdb.

Cheers,
 Sven


On 04.04.18 9:44, senpai70 wrote:
> Hi everyone,
> I'd like to save every check results as perfdata alongside the real perfdata (if any).
>
> Someone already did it or it's possible with the current mod_gearman (AFAIK no) ?
>
> If not it would be nice to have that option (I'd like to investigate on the code as soon as I have some free time)...
>
> Any thought on this?
>
> TIA
>
> --
> You received this message because you are subscribed to the Google Groups "mod_gearman" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to mod_gearman...@googlegroups.com <mailto:mod_gearman+unsub...@googlegroups.com>.

Sven Nierlein

unread,
Apr 4, 2018, 3:58:04 AM4/4/18
to mod_g...@googlegroups.com, senpai70
On 04.04.18 9:51, senpai70 wrote:
> But that is for perfdata only not for check results (ie 0,1,2,3 states) right?
>

Thats right, check results can be duplicated by adding the "dupserver" option
to worker. Then they will duplicate their results to the same queue on another
gearmand. This obviously will only work with checks done by mod-gearman worker.

You can also have a look at the "exports" which can be utilized to export any
callback type in Naemon. This would work regardless of where the checkresult comes
from.

Then there is the query-handler in Naemon which could be used to subscribe to
certain events.

Cheers,
Sven

senpai70

unread,
Apr 4, 2018, 4:13:51 AM4/4/18
to mod_gearman
This sounds good, thanks Sven!
Reply all
Reply to author
Forward
0 new messages