Welcome, Guest. Please login or register.

Author Topic: monitoring email setup  (Read 8045 times)

rajib99

  • Guest
monitoring email setup
« on: April 28, 2010, 08:12:36 PM »
Could someone help me setup NeDi to send email notification for syslog message (msg level 200) it receives? I have put the smtp server info in nedi.conf but where do i specify the recepient email address? I will really appreciate if some one can specify all the configs i need to change to setup email notification. thanks

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2780
    • View Profile
    • NeDi
Re: monitoring email setup
« Reply #1 on: April 28, 2010, 09:02:24 PM »
Each user in the monitoring group and an email address set in User-Profile will receive them...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

rajib99

  • Guest
Re: monitoring email setup
« Reply #2 on: April 29, 2010, 12:53:13 AM »
Thanks for your response. For some reason I am still unable to receive any email notification. Is there any log that I can see? I have the correct smtp setup. moni.pl -V show the following:

XXXXXXXXX:/var/nedi#./moni.pl -V
DEV:    57 devices read from nedi.devices
Monitor:        56 entries () read from nedi.monitoring
DEV:    57 devices read from nedi.devices
Monitor:        56 entries () read from nedi.monitoring
DEV:    57 devices read from nedi.devices
Monitor:        56 entries () read from nedi.monitoring

rajib99

  • Guest
Re: monitoring email setup
« Reply #3 on: May 13, 2010, 05:31:07 PM »
I am still unable to test the email alert, I am not sure what i am doing wrong. I added the smtp server info in nedi.conf, i have myself in the monitoring group and my email in my profile. What is the default nedi setup for what will trigger an alert for incoming syslog messages (syslog level, frequency etc)? I may need to lower the threshold for testing purpose.

I have tested that it is allowed (by smtp server) to send email from nedi server.

Any help will appreciated.   

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2780
    • View Profile
    • NeDi
Re: monitoring email setup
« Reply #4 on: May 13, 2010, 05:46:15 PM »
Did you enable mail alerts in monitoring setup?
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

rajib99

  • Guest
Re: monitoring email setup
« Reply #5 on: May 13, 2010, 11:31:07 PM »
thank you for your reply. Finally I got this working, I verified it is working by sending a test email using moni.pl -t.

I would like to know what is the default setting for alert for incoming syslog (what syslog level will generate alert). I would like to seup to send alert for all incoming warning level syslog.

Thanks again for your help.

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2780
    • View Profile
    • NeDi
Re: monitoring email setup
« Reply #6 on: May 15, 2010, 07:26:20 PM »
200, but it can be changed in nedi.conf or per device with "Log Alarm" in Device Status...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo