Monitoring and eMail/SMS Alert Suite for Zeroshell 3.0.0

Home Page Forums Network Management ZeroShell Monitoring and eMail/SMS Alert Suite for Zeroshell 3.0.0

This topic contains 11 replies, has 0 voices, and was last updated by  imported_fulvio 4 years, 8 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #43942

    imported_fulvio
    Participant

    Hi,

    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.

    Regards
    Fulvio

    #53309

    jmi
    Member

    Hi,
    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.
    Regards,
    Jmi

    edit:
    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…

    #53310

    imported_fulvio
    Participant

    Did you restart the system as required?
    Regards
    Fulvio

    #53311

    jmi
    Member

    Hi Fulvio,
    Yes I did…
    Jmi

    #53312

    imported_fulvio
    Participant

    Probably there is a conflict with another installed package. Could you post the list of installed package?

    #53313

    jmi
    Member

    Hi Fulvio,
    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

    Regards,
    Jmi

    #53314

    dsolive
    Member

    Hi, Fulvio.

    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?

    #53315

    Witchdoctor
    Participant

    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.
    WD

    #53316

    imported_fulvio
    Participant

    Hi,
    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.

    Regards
    Fulvio

    #53317

    Witchdoctor
    Participant

    Are the scripts written in a particular language? Or just basic BASH scripts.

    WD

    #53318

    imported_fulvio
    Participant

    The event handlers are written in Bash

    #53319

    Witchdoctor
    Participant

    @fulvio wrote:

    The event handlers are written in Bash

    Been nearly 20 years since I wrote Bash scripts. This is gonna be interesting.

    #53320

    Shadok
    Member

    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 (test@domain.tld)
    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.

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.