May 11, 2014 at 1:25 pm #43942
the Monitoring and e-Mail/SMS Alerts Suite is a new component that enable Zeroshell to keep under control some critical Events that could occur. To each event is assigned a Severity Level based on which the Recipients of eMail and SMS alerts are selected. The Severity Levels are: Info, Warning, Critical and Emergency
You can change the severity of an event and customize the related Handling Event Bash Script. As example, you could add some Firewall Rules in the Handling Script of the DDoS Attack event to reject the traffic from the host that has triggered the event. You can also define new events to handle specific situations of your environment by assigning them the proper handling script. Below, there is the list of predefined events with the related severity:
Internet Connectivity Fault (Critical)
VPN Connectivity Fault (Warning)
Bonding Connectivity Fault (Critical)
Gateway Connectivity Fault (Net Balancer) (Warning)
DDoS Attack (Warning)
Profile Disk Full (Emergency)
Memory Full (Critical)
High Load Average (Warning)
Bonding Member Interface Fault (Warning)
The system is going down (Info)
The system has been started (Info)
Too many authentication failures (Warning)
Successfully login by admin (Info)
As you can see, many of these events may have to be handled very quickly in a production environment. Hence the importance of installing and configuring correctly this package in order to ensure the rapid resolution of service outages.
FulvioMay 13, 2014 at 3:04 pm #53309
I have installed this package but I have a problem.
When I try to test an e-mail delivery, I have this message:
TEST (Emergency): e-Mail delivery FAULT for USER (USER@domain.com)
/root/kerbynet.cgi/scripts/sendmail: line 38: smtp-cli: command not found
Thank you for your help.
Ok just replaced the line 38 with:
/opt/smtp-cli/bin/smtp-cli –subject=”$SUBJECT” –from=”$SMTPSENDER” –to=”$RECIPIENT” –server=”$SMTPSERVER” –port=”$SMTPPORT” $SECURITYSTRING $AUTHSTRING –body-plain=$BODY
and it works.
It seems that the path is missing…May 13, 2014 at 6:57 pm #53310
Did you restart the system as required?
FulvioMay 14, 2014 at 5:59 am #53311
Yes I did…
JmiMay 15, 2014 at 8:47 pm #53312
Probably there is a conflict with another installed package. Could you post the list of installed package?May 18, 2014 at 8:18 pm #53313
here is the list:
30500 Monitoring and e-Mail/SMS Alerts Suite Enabled May 10, 2014 Feature
30400 Connection Top List Utility (cntop) Enabled Feb 25, 2014 Feature
30300 High Performance Firewall, QoS and NAT Router Enabled Feb 24, 2014 Feature
40300 Firmware and Microcode for Network Interfaces, CPU and other devices Enabled Jan 26, 2014 Add-On
48300 Kernels optimized for AMD Geode LX/GX (ALIX) and Intel ATOM 3.4.75 Enabled Jan 2, 2014 Add-On
JmiMay 20, 2014 at 11:30 pm #53314
I can not registering recipients on email alerts. When I try to register, the system does not save the data and don’t return any message. what is happening?October 5, 2014 at 11:39 pm #53315
I take it you have built the Alert/email package into Release 3.2.0 which is what I just installed. I see an alert manager in Monitoring and I was able to get it to send me a test email.
Is there a way to schedule alerts? Also is there a tutorial available for writing my own alerts? Currently my Zeroshell is getting it’s WAN address via DHCP from my ISP. Occasionally this will change and I’d like to get an alert if that happens.
Thanks for a great product.
WDOctober 6, 2014 at 3:10 am #53316
you can monitor any parameter and state of Zeroshell activity by writing your event management scripts, but at the moment does not exist an how-to so you have to study the prebuilt event handlers to understand how they work.
FulvioOctober 6, 2014 at 4:48 pm #53317
Are the scripts written in a particular language? Or just basic BASH scripts.
WDOctober 6, 2014 at 6:27 pm #53318
The event handlers are written in BashOctober 14, 2014 at 5:35 pm #53319
The event handlers are written in Bash
Been nearly 20 years since I wrote Bash scripts. This is gonna be interesting.October 17, 2014 at 12:04 pm #53320
I have an issue with the email and Zeroshell 3.2 :
TEST (Emergency): Message (ID:327db4dd) queued for delivery.
TEST (Emergency): e-Mail delivery FAULT for Passerelle (email@example.com)
Connect failed: IO::Socket::INET6: connect: Connection refused
TEST (Emergency): Waiting to be reprocessed
Our mail server isn’t ipv6 capable but our net links are.
Enabling ipv6 on our mail server doesn’t fix the issue.
No IPv6 is set in zeroshell.
You must be logged in to reply to this topic.