Customer login  |   Contact us
Home Company Products Support Purchase
Forum Home » Network Probe

Topic: Error sending e-mails
Replies: 5   Pages: 1   Last Post: Feb 5, 2008 12:47 PM by: markus


Back to Topic List Back to Topic List
Replies: 5   Pages: 1  
dmontagna

Posts: 4
From: Brazil
Registered: Jan 22, 2008
Error sending e-mails
Posted: Jan 22, 2008 8:08 PM
  Reply

Hi,

I've configured some alarms action to send e-mail to our support staff, but every time an alarm is triggered the error below is being logged at /var/log/networkprobe.log:

Error executing alarm action: null

This log appears in the exactly moment when the alarm is triggered and the e-mails are not sent.

Anyone could help?

markus

Posts: 9
From: Oslo
Registered: May 23, 2006
Re: Error sending e-mails
Posted: Jan 23, 2008 3:35 PM
  Reply

Hi,

first off all are you running 2.6 or the latest version 2.6.1?

If you are running 2.6.1 could you send me the "defined_alarms.xml" file in the config directory? This would help me alot trying to figure out your problem.

Regards,
Markus Voss
ObjectPlanet Inc

dmontagna

Posts: 4
From: Brazil
Registered: Jan 22, 2008
Re: Error sending e-mails
Posted: Jan 24, 2008 3:56 PM
  Reply

Hi,

I'm on 2.6.1.

Below is the content of defined_alarms.xml:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<alarms>
<defined><id>1</id><table>alhost</table><src>200.180.36.11</src><dst></dst><pid>1.2048.6.80</pid><counterId>3</counterId><upperTriggerValue>500.0</upperTriggerValue><lowerTriggerValue>500.0</lowerTriggerValue><samplingTime>30</samplingTime><description>Consumo HTTP SAIDA muito alto - NOTICENTER</description><severity>1</severity><absoluteAlarm>false</absoluteAlarm><triggerType>upper</triggerType><upperUnit>Kbit/s</upperUnit><lowerUnit>Kbit/s</lowerUnit><visibility>0</visibility><actions><action><id>14</id><count>0</count><maxEmails>5</maxEmails><maxEmailTime>3600</maxEmailTime><email><recipients><recipient>suporte@quicksoft.com.br</recipient></recipients><from>monitoracao@quicksoft.com.br</from><fromName>Monitoracao Quick Soft</fromName><subject>Consumo+HTTP+SAIDA+em+500Kbps+-+NOTICENTER</subject><attachments></attachments><content>Consumo+de+HTTP+SAIDA+acima+de+500kbps+-+NOTICENTER.</content></email></action></actions></defined>

Thanks for your help.

markus

Posts: 9
From: Oslo
Registered: May 23, 2006
Re: Error sending e-mails
Posted: Jan 25, 2008 11:07 AM
  Reply

Hi,

this is strange. I tried your file and everything works perfect on my machine. What java version are you running, and what os?

Regards,
Markus Voss
ObjectPlanet Inc

dmontagna

Posts: 4
From: Brazil
Registered: Jan 22, 2008
Re: Error sending e-mails
Posted: Jan 25, 2008 6:34 PM
  Reply

Hi,

The server where the netprobe is running is an RHEL AS 4, running the JRE version 6.

Thanks for your help.

markus

Posts: 9
From: Oslo
Registered: May 23, 2006
Re: Error sending e-mails
Posted: Feb 5, 2008 12:47 PM
  Reply

Hi,

I have not been able to reproduce the problem on our linux box. Are you sure you have configured the mail server correct in the setup screen?

Regards
Markus Voss
ObjectPlanet, Inc



© 1998-2019 ObjectPlanet, Inc. Øvre Slottsgate 5, 0157 Oslo, Norway Tel (+47) 2233 3360 | Fax (+47) 2233 3361