Tag Archives: Monitoring

How to test the alerting in a Pure Storage FlashArray

When configuring SMTP or syslog for alerting the easiest way to configure is in the GUI, simply because everything you need to configure is right there in plain sight.

For this example, we will assume the syslog servers and SMTP relay host and sender domain have been specified. If not, these can be set from the GUI under Settings > System > Syslog servers and Settings > System > Alert Routing.

But to test if it all works is a different story: there’s no test button!

So we need to log on to the CLI. Use your favorite SSH client and log on the the array.

Syslog

First you can view if the syslog was configured according to your liking by entering the command:

purelog list

You should now see the configured syslog servers and the ports that are used.

To test if syslogging works enter the command:

purelog test

SMTP

For emails the command to view the settings is:

purealert watcher list

You should now see the email addresses that will be used whenever the array needs to send an email. To test this you need to use the following command:

purealert watcher test address@domain.com

If all goes well you will then receive an email similar to:

Hello,

This is a test message from your Pure Storage Array.

Controller Serial: PCTFL1953173B
-Pure Storage Array PUREARRAY-027-ct0

How to get a Brocade switch configured for Dell EMC SRS (ESRS)

Perform a

esrsconfig -show

to check whether the settings are saved to te switch. If the switch shows this output:

fcsw-01:admin> esrsconfig –show

ESRS SERVER AND PRODUCT CONFIGURATION
=======================================

ESRS Server IP: 10.20.30.40
ESRS Server Port: 9443
Product Serial Number: BRCCCD1946R04G
Product Model Number: SWITCH-BROCADE-B-GW
Status: Device is not Managed by ESRS

ESRS is not yet active.

Read more »