Alexandra Jones, Contributing Writer for MyDomaine

About Us

Alexandra Jones, Contributing Writer for MyDomaine

Lifewire is part of the Dotdash publishing family.

For more than 20 years, Dotdash brands have been helping people find answers, solve problems, and get inspired.

We are one of the top-20 largest content publishers on the Internet according to comScore, a leading Internet measurement company, and reach more than 30% of the U.S. population every month.

Our brands collectively have won more than 20 industry awards in the last year alone and, most recently, Dotdash was named Publisher of the Year by Digiday, a leading industry publication.

Here is an overview of our properties:

Verywell (Health and Wellness): The Verywell family of brands, including Verywell Health, Verywell Fit, Verywell Family, and Verywell Mind, take a human approach to health and wellness content and are a welcome alternative to hyper-clinical health sites. More than 39 million people use Verywell sites each month to feel better and be healthier.

The Spruce (Home and Food): The Spruce family of brands, including The Spruce, The Spruce Eats, The Spruce Pets, and The Spruce Crafts combine inspiration with how-to advice to help users create homes they love. Collectively, The Spruce sites reach nearly 28 million people each month.

The Balance (Personal Finance): The Balance family of brands, including The Balance, The Balance Careers, and The Balance Small Business, deliver clear, practical, and straightforward personal financial advice to nearly 21 million people each month.

Investopedia (Investing and Financial Education): Investopedia helps investors understand financial concepts, improve investing skills, and learn how to manage their money. Investopedia reaches nearly 11 million people each month.

Lifewire (Tech): Lifewire provides helpful, actionable tech tips, advice, and answers, without confusing jargon. Lifewire helps nearly 10 million people each month get the most their technology.

TripSavvy (Travel): TripSavvy delivers curated expert advice for family and vacation travelers. We help over eight million people each month have the best travel experiences.

Byrdie (Beauty): Byrdie is dedicated to all things beauty, inside and out. From hair and makeup to health and wellness, Byrdie takes a fresh, no-nonsense approach to feeling and looking your best. Byrdie reaches nearly four million people each month.

MyDomaine (Lifestyle): MyDomaine makes an aspirational life achievable—and affordable—with curated home-design inspiration, quick and fresh recipes, and healthy relationship advice that awaken a life well lived. MyDomaine reaches 2.5 million people each month.

Brides (Weddings): Brides inspires and guides our nearly 4M monthly users as they make decisions from pre-engagement through the honeymoon. Brides is committed to bringing you an inclusive look at the world of weddings, with every type of couple, every type of wedding, and every type of celebration.

Thoughtco (Education and Information): ThoughtCo is one of the largest and most comprehensive learning, information, and education sites online. ThoughtCo helps 12.5 million people a month become lifelong learners.

Read about Dotdash and our family of brands in the news.

Source: comScore, January 2019 US

Source: https://www.lifewire.com/about-us

Acknowledge Solarwinds alert by email

Alexandra Jones, Contributing Writer for MyDomaine

Updated 2019-02-26 to support recent changes to the Solarwinds API.

Updated 2019-07-02 to support passing credentials as encrypted credentials files or as clear text username and password on the command line. To keep Task Scheduler configuration simple, I've included instructions for setting the credentials within the script.

This Powershell script allows end users to acknowledge or comment upon a Solarwinds alert via email. The script assumes that your organization uses Exchange as its email platform.

Prerequisites:

  • An email account (“the email account”) for the default reply-to address used by your Solarwinds installation. This should be a dedicated account that isn't used by any other applications or users.
  • A Solarwinds individual account (“the Solarwinds account”) that can acknowledge alerts.

    This account must have the following permissions in Solarwinds:

    • Allow alert management rights = yes
    • Allow account to disable actions = yes
    • Allow account to disable alerts = yes
    • Allow account to disable all actions = yes
    • Allow Account to Clear Events, Acknowledge Alerts and Syslogs = yes
  • MS Exchange Web Services Managed API installed on the server that will run the script. Download the script from the MS Download Center.

Configuration:

  1. Log in to Windows as the account that will run the PowerShell script. Create a Windows credentials file for the email account and for the Solarwinds account.

    For each account, run the PowerShell command
    Get-Credential | Export-Clixml -Path [full path to file]

  2. In your Solarwinds alerts, configure the alert to send email. Make sure that the email body includes this text and variable:
    [AlertObjectID=${N=Alerting;M=AlertObjectID}]
  3. Edit the script as follows.

    1. Edit the line
      $exchangeEmail    = “solarwinds@mydomain.com”
      and replace “solarwinds@mydomain.com” with the address of the email account.

    2. Edit the line
      $SWServer = “solarwinds.mydomain.com”
      and replace “solarwinds.mydomain.com” with the fully-qualified domain name or IP address of your Solarwinds server

    3. If you are using a credentials file for the Exchange user, edit the line $ex_credstore = “c:\Users\solarwinds\Exchange_credentials.xml”

      and replace “c:\Users\solarwinds\Exchange_credentials.xml” with the full path to the Exchange credentials file you created.

    4. If you are using a clear text username and password for the Exchange user, edit the line
      $ex_credstore = “c:\Users\solarwinds\Exchange_credentials.xml”
      and replace “c:\Users\solarwinds\Exchange_credentials.xml” with “”, then update the values for $ex_username and $ex_password on the next two lines.

    5. If you are using a credentials file for the Solarwinds user,$sw_credstore = “c:\Users\solarwinds\Solarwinds_credentials.xml”

      and replace “c:\Users\solarwinds\Solarwinds_credentials.xml” with the full path to the Solarwinds credentials file you created

    6. If you are using a clear text username and password for the Solarwinds user, edit the line
      $sw_credstore = “c:\Users\solarwinds\Solarwinds_credentials.xml”
      and replace “c:\Users\solarwinds\Solarwinds_credentials.xml” with “”, then update the values for $sw_username and $sw_password on the next two lines.
  4. Copy the script to your Solarwinds server. You can run the script from the Powershell IDE to test it.
  5. Configure a task manager job to run the script at the desired interval. I run it once per minute to ensure that acknowledgement/comment emails are processed quickly enough to satisfy my end users.

Use:

This script assumes that the first word in the email message is a command verb such as ack or comment. Any text between the command and a return and/or newline character(s) is treated as a comment, and it will be appended to the alert in Solarwinds.

Message syntax:

At minimum, the email message must contain the Alert Object ID, formatted as described below. This element can appear anywhere in the message body.

Alert Object ID: A string of digits, in brackets, formatted this:

    [AlertObjectID=99999]

For backward compatibility, the message may contain these elements instead of the Alert Object ID.

Alert definition ID: A GUID in brackets, formatted this:

    [AlertDefinition=D1A5279D-B27D-4CD4-A05E-EFDD53D08E8D]

Object ID: A string of digits, in brackets, formatted this:

    [ObjectID=99999]

Object Type: A string representing a valid Solarwinds object type, formatted this:

    [ObjectType=APM: Application]

Commands:

The command must be the first word in the message body.

ack:    Acknowledge the alert and append a comment if one is supplied.

comment: Append a comment to the alert

Comments:

Comments are optional. Any text between the command verb and a newline or return character will be treated as a comment. There are no formatting requirements for comments.

Example 1:

This message would acknowledge an alert and append a comment

    Ack  Alert comment from ME

    [AlertObjectID=46673]

Example 2:

This message would also acknowledge an alert and append a comment.

    Ack Kurt is looking into this

    ~~~~~~~~~~~~~~~~~~~~~

    Me, Senior Systems Administrator

    ~~~~~~~~~~~~~~~~~~~~~~

    From: Solarwinds

    Sent: Friday, October 02, 2015 12:33 PM

    To: Me

    Subject: Solarwinds Alert: Oracle database disk utilization KURTSDB on Node kurtsserver.mydomain.com is Down

    When replying, type your text above this line

    ________________________________________

    To acknowledge this alert, click here or reply to this message with “ack” as the first word in the body.

    Alert details:

    Oracle database disk utilization KURTSDB on Node kurtsserver.mydomain.com is Down at Friday, October 2, 2015 12:32 PM.

    When replying, do not delete text below

    ________________________________________

    [AlertObjectID=46673]

Example 3:

Deprecated format for backwards compatibility. This message would also acknowledge an alert and append a comment

    Ack  Third alert comment from ME

    [AlertDefinition=535d1493-a543-4df0-acbf-6b43770aceeb] [ObjectID=673] [ObjectType=APM: Application]

sh: 1: –format=html: not found

Source: https://thwack.solarwinds.com/t5/-/-/ta-p/521605?ru=49138amp;sr=stream