SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0003550: Notification problem in HA - MantisBT Endian Bugtracker
Endian Issue Tracker





Please see now our new Bugtracker system: JIRA








View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003550Endian FirewallOther Servicespublic2011-03-21 12:032011-10-07 16:27
Reporterardit-endian 
Assigned Topeter-endian 
PrioritynormalSeveritymajorReproducibilityalways
StatusconfirmedResolutionopen 
PlatformOSOS Version
Product Version2.4 
Target VersionFixed in Version 
Summary0003550: Notification problem in HA
DescriptionProblem:
----------------
In HA the SYNC between Master and Slave is detected as failed SSH login and *allot* of emails are sent.

A workaround would be ignoring the internal (Master/Slave) IP and ignore the mail notification.

Other problem (suggestion); In HA the mail notifications should be distinguished.
Tagspurple
Attached Files

- Relationships

-  Notes
(0006000)
luca-endian (developer)
2011-03-21 12:16

in order to keep different configuration for endian notification we could exclude from the sync the folder: /var/efw/eventlog/config
(0006009)
luca-endian (developer)
2011-03-24 15:41

by default this event notification is enabled..
(0006631)
ardit-endian (developer)
2011-06-07 11:05

A simple workaround (temporary until this is fixed) would be editing:

/etc/logsurfer/rules.d/ssh.tmpl and remove the first 2 lines.
Than:

restartlogsurfer.py -df

This will stop the mail flood without further operations.
(0006887)
luca-endian (developer)
2011-07-05 16:06

Fixed in this way:

root@efw-master:/etc/ha # cat exclude.conf
/var/efw/eventlog/*

root@efw-slave:/var/efw/eventlog # cat config
[
    {
        "event": "20200018",
        "mail_enabled": "off"
    }
]

restartlogsurfer.py -df

If slave has its own event notification configuration page would be possible to set up different event notification for master and slave.
By default of course the ssh connection successful event must not be available on slave

- Issue History
Date Modified Username Field Change
2011-03-21 12:03 ardit-endian New Issue
2011-03-21 12:03 ardit-endian Tag Attached: purple
2011-03-21 12:16 luca-endian Note Added: 0006000
2011-03-21 12:24 lorenzo-endian Assigned To => peter-endian
2011-03-21 12:24 lorenzo-endian Status new => confirmed
2011-03-24 15:41 luca-endian Note Added: 0006009
2011-04-15 09:31 luca-endian Relationship added child of 0001928
2011-06-07 11:05 ardit-endian Note Added: 0006631
2011-07-05 16:06 luca-endian Note Added: 0006887

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker