Sun Java System Messaging Server 6 2005Q4 Administration Guide

Alarm Messages

msprobe can issue alarms in the form of email messages to the postmaster (see To Monitor imapd, popd and httpd) warning of a specified condition. A sample email alarm sent when a certain threshold is exceeded is shown below:


Subject:    ALARM: server response time in seconds of “ldap_siroe.com_389” is 10
Date:    Tue, 17 Jul 2001 16:37:08 -0700 (PDT) 
From:    postmaster@siroe.com 
To:     postmaster@siroe.com 

Server instance: /opt/SUNWmsgsr
Alarmid: serverresponse 
Instance: ldap_siroe_europa.com_389 
Description: server response time in seconds 
Current measured value (17/Jul/2001:16:37:08 -0700): 10 
Lowest recorded value: 0 
Highest recorded value: 10 
Monitoring interval: 600 seconds 
Alarm condition is when over threshold of 10 
Number of times over threshold: 1

            

You can specify how often msprobe monitors disk and server performance, and under what circumstances it sends alarms. This is done by using the configutil command to set the alarm parameters. Table 23–6 shows useful alarm parameters along with their default setting. See configutil Parameters in Sun Java System Messaging Server 6 2005Q4 Administration Reference.

Table 23–6 Useful Alarm Message configutil Parameters

Parameter  

Description (Default in parenthesis)  

alarm.msgalarmnoticehost

(localhost) Machine to which you send warning messages. 

alarm.msgalarmnoticeport

(25) The SMTP port to which to connect when sending alarm message. 

alarm.msgalarmnoticercpt

(Postmaster@localhost) Whom to send alarm notice. 

alarm.msgalarmnoticesender

(Postmaster@localhost) Address of sender the alarm. 

alarm.diskavail.msgalarmdescription

(percentage mail partition diskspace available.) Text for description field for disk availability alarm. 

alarm.diskavail.msgalarmstatinterval

(3600) Interval in seconds between disk availability checks. Set to 0 to disable checking of disk usage. 

alarm.diskavail.msgalarmthreshold

(10) Percentage of disk space availability below which an alarm is sent. 

alarm.diskavail.msgalarmthresholddirection

(-1) Specifies whether the alarm is issued when disk space availability goes below threshold (-1) or above it (1). 

alarm.diskavail.msgalarmwarninginterval

(24). Interval in hours between subsequent repetition of disk availability alarms. 

alarm.serverresponse.msgalarmdescription

(server response time in seconds.) Text for description field for servers response alarm. 

alarm.serverresponse.msgalarmstatinterval

(600) Interval in seconds between server response checks. Set to 0 to disable checking of server response. 

alarm.serverresponse.msgalarmthreshold

(10) If server response time in seconds exceeds this value, alarm issued. 

alarm.serverresponse.msgalarmthresholddirection

(1) Specifies whether alarm is issued when server response time is greater that (1) or less than (-1) the threshold. 

alarm.serverresponse.msgalarmwarninginterval

(24) Interval in hours between subsequent repetition of server response alarm.