Error reporting test message

Since we have tricked out errpt to email messages to us, it is also good to make a test to periodically tell us that we haven’t forgotten to do this from a system. The errlogger command is great for this and can be used in conjunction with dsh to fan across your entire environment:

dsh sudo errlogger “test message”

Then you have to check your emails for test messages:

------------------------------------------------------------------
LABEL:		 		 OPMSG
IDENTIFIER:		 AA8AB241

Date/Time:       Thu Oct 30 11:40:51 CDT 
Sequence Number: 85501
Machine Id:      00CDEAEA4C00
Node Id:         nad0019aixp02s1
Class:           O
Type:            TEMP
Resource Name:   OPERATOR        

Description
OPERATOR NOTIFICATION

User Causes
ERRLOGGER COMMAND

		 Recommended Actions
		 REVIEW DETAILED DATA

Detail Data
MESSAGE FROM ERRLOGGER COMMAND
test message

Leave a Reply

Your email address will not be published. Required fields are marked *