[icinga-users] performance data to file , based on the date

Wolfgang wnd at gmx.net
Fri Mar 29 14:11:22 CET 2013


Am 29.03.2013 11:58, schrieb Michael Friedrich:
> On 29.03.2013 07:04, val john wrote:
>> Hi..guys
>>
>> i configured the icinga to write the performance data to a file ,
>> Currently all the data is writing to a single file .
>>
>> Is there any way to write these performance data based on the  DATE ,
>>
>> As example , During date 1-1-2013 icinga will write performance data
>> to the  file called /tmp/service-perfdata-1-1-2013 ,
>> /tmp/host-perfdata-1-1-2013
> what's the idea behind that?
>
>> Is it possible to achieve that in icinga
>>
>> Current configuration
>> ================
>> host_perfdata_file=/tmp/host-perfdata
>> service_perfdata_file=/tmp/service-perfdata
>>
>> Thank You
>> John
>>
I haven't tested it but I'd try something like 
host_perfdata_file=/tmp/host-perfdata-`date +%d-%m-%Y`




More information about the icinga-users mailing list