naparuba/shinken — Issue #57: Service Perfdata Broker Module is missing most of Shinkes Macros
Author: Frescha
Created: 2011-10-30 16:43:14+00:00
State: open
Labels: Broker

Hi,

I wondered why my template definition for the Service-Perfdata Broker Module didn't work as excepted:
template $LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICESTATE$\t$SERVICEPERFDATA$\t$SERVICELATENCY$\n
The $SERVICELATENCY$ Macro wasn't replaced by the value of the Latency.
Digging a bit deeper into service_perfdata_broker.py i realised that there are only a few Macros definied. Adding the SERVICELATENCY Macro worked as expeced:

'$SERVICELATENCY$' : datalatency?,

Currently I'm a bit busy - so no patch, just a ticket.

Kind Regards, and thanks for all the work you put into Shinken.
Christoph