DX NetOps

 View Only
  • 1.  Email notification for Spectrum alarms

    Posted Jan 13, 2022 02:27 AM
    Hi All,

    I have configured the spectrum alarm notifier as per the below document to get the email to alert when the alarm generates.

    How to configure Spectrum Alarm Notifier to send email notifications (broadcom.com)

    I am still not able to get email alerts when the alarm generates. also, I have enabled the Sendmail service. does anyone have an idea on this? 

    Thanks,
    uchira.


  • 2.  RE: Email notification for Spectrum alarms

    Posted Jan 13, 2022 02:39 AM
    What do you mean by "I have enabled the sendmail service"? 

    On what OS are you configuring this?


  • 3.  RE: Email notification for Spectrum alarms

    Posted Jan 13, 2022 02:45 AM
    Hi,

    From the OS level, I have enabled the send mail service. This is running on Red Hat 

    Thanks,
    Uchira.


  • 4.  RE: Email notification for Spectrum alarms

    Posted Jan 13, 2022 04:53 AM
    Could you please tell me what configurations I need to do to fix this


  • 5.  RE: Email notification for Spectrum alarms

    Posted Jan 13, 2022 12:18 PM
    Have you configured SANM policies ?


  • 6.  RE: Email notification for Spectrum alarms

    Posted Jan 18, 2022 03:01 AM
    Hi Issac,

    yes, I have created the SANM policy. what else do I have configured to fix this?


    Thanks,
    Uchira.


  • 7.  RE: Email notification for Spectrum alarms

    Posted Jan 18, 2022 03:19 AM
    Send an email from command line to validate the correct functioning of your configure MTA.


  • 8.  RE: Email notification for Spectrum alarms

    Posted Jan 18, 2022 03:57 AM
    To send an email from the command line what protocol is used? is it Sendmail service

    The spectrum running on Redhat


  • 9.  RE: Email notification for Spectrum alarms

    Posted Jan 18, 2022 04:59 AM
    The AlarmNotifier scripts send email using Command line utilities. mall is the default one being used. In any of the 3 scripts used by AlarmNotifier, you can check the command to see what exactly is executing when sending email.

    This is the one from default SetScript.

    ---
    "Linux") MAIL="mail";;
    $MAIL -s "A $SEV alarm has occurred on $SERVER (Model Name=$MNAME)(Model Type=$MTYPE)" $RCVRS < /tmp/set_alarm.$PID