Upgraded to 0.20.3, issue is now resolved.

thankyou.

On Monday, June 16, 2014 4:40:51 PM UTC+8, Neil Ferreira wrote:
>
> Sorry I should have specified, I am using 0.20.2.  Is there any way I can 
> resolve this without updating? I literally just wrapped up our Graylog2 
> setup so don't really want to go through an upgrade process straight away.  
>
> What will the upgrade process involve?  
>
> Thanks
>
> On Monday, June 16, 2014 4:11:52 PM UTC+8, Dennis Oelkers wrote:
>>
>> Hei Neil, 
>>
>> which version of the server are you using? I guess you are using 0.20.2. 
>> This bug should have been fixed in 0.20.3, so after upgrading it should 
>> work. 
>>
>> Kr, 
>>         Dennis 
>>
>> On 16.06.2014, at 03:36, Neil Ferreira <[email protected]> wrote: 
>>
>> > hi all, 
>> > 
>> > I've setup my first stream,  added 4 users to received alerts from this 
>> stream, all the users receive the TEST alert, when a real  alert comes in 
>> only the main admin user receives the alert.  I tail'd the log files and 
>> got these errors, can anyone please weigh in? 
>> > 
>> > 2014-06-16 01:32:45,465 INFO : 
>> org.graylog2.periodical.AlertScannerThread - Alert condition 
>> [0c987dbf-db27-41c7-ab31-cceccae93927:MESSAGE_COUNT={time: 10, 
>> threshold_type: more, threshold: 5, grace: 5}, 
>> stream:={53996e47e4b0d6c5cf8beba7: "Foo Errors"}] is triggered. Sending 
>> alerts. 
>> > 2014-06-16 01:32:45,540 ERROR: 
>> org.graylog2.periodical.AlertScannerThread - Stream 
>> [53996e47e4b0d6c5cf8beba7: "Foo Errors"] has alert receivers and is 
>> triggered, but sending emails failed: 
>> > java.lang.NullPointerException 
>> >         at 
>> org.graylog2.alerts.MessageFormatter.formatForMail(MessageFormatter.java:19) 
>>
>> >         at 
>> org.graylog2.alerts.AlertSender.buildBacklogSummary(AlertSender.java:161) 
>> >         at 
>> org.graylog2.alerts.AlertSender.sendEmail(AlertSender.java:85) 
>> >         at 
>> org.graylog2.alerts.AlertSender.sendEmails(AlertSender.java:184) 
>> >         at 
>> org.graylog2.periodical.AlertScannerThread.run(AlertScannerThread.java:85) 
>> >         at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
>> >         at 
>> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) 
>> >         at 
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>>  
>>
>> >         at 
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>>  
>>
>> >         at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>  
>>
>> >         at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>  
>>
>> >         at java.lang.Thread.run(Thread.java:744) 
>> > 
>> > 
>> > Mail log: 
>> > Jun 16 01:26:45 graylog2 postfix/smtpd[30638]: connect from 
>> localhost[127.0.0.1] 
>> > Jun 16 01:26:45 graylog2 postfix/smtpd[30638]: 874EFC2EC6: 
>> client=localhost[127.0.0.1] 
>> > Jun 16 01:26:45 graylog2 postfix/cleanup[30641]: 874EFC2EC6: 
>> message-id=<
>> 1750678142.43.1402882005497.javamail.grayl...@graylog2.foo.com.au> 
>> > Jun 16 01:26:45 graylog2 postfix/qmgr[32165]: 874EFC2EC6: from=<
>> [email protected]>, size=9632, nrcpt=1 (queue active) 
>> > Jun 16 01:26:45 graylog2 postfix/smtpd[30638]: disconnect from 
>> localhost[127.0.0.1] 
>> > Jun 16 01:26:47 graylog2 postfix/smtp[30642]: 874EFC2EC6: to=<
>> [email protected]>, relay=ASPMX.L.GOOGLE.COM[74.125.25.27]:25, delay=2.3, 
>> delays=0.02/0.01/1.2/1.1, dsn=2.0.0, status=sent (250 2.0.0 OK 1402882007 
>> sy3si11867009pab.158 - gsmtp) 
>> > Jun 16 01:26:47 graylog2 postfix/qmgr[32165]: 874EFC2EC6: removed 
>> > 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "graylog2" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to [email protected]. 
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>> -- 
>> TORCH GmbH 
>> Steckelhörn 11 
>> 20457 Hamburg 
>> Tel  +49 (0)40-60945200 
>> https://www.torch.sh 
>>   
>> Commercial Reg. (Registergericht): Amtsgericht Hamburg, HRB 125175 
>> Geschäftsführer: Hass Chapman, Lennart Koopmann 
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to