My current work around is a script I wrote then added it to my cron jobs. I then
get the output sent to me in email form when the cron job runs.

simple script ossec_summary.sc  :

cd /var/ossec/

zcat /var/ossec/logs/alerts/2009/Feb/*.gz | ./src/monitord/ossec-reportd -n
"Month Summary"

Nothing fancy but functional.

-Derek

>
> Hi Derek. Did you get an answer to this? I too am having trouble
> outputting it to anything other than the screen. Roch
>
> On 2/13/09, Derek J. Morris <dmor...@digitalmorris.com> wrote:
>>
>> How do i get this to output to a file to be read later?
>>
>>
>> Ex:
>>
>> zcat /var/ossec/logs/alerts/2009/Feb/*.gz | ./src/monitord/ossec-reportd -n
>> "Month Summary"
>>
>
> --
> Sent from my mobile device
>

Reply via email to