IBM Support

Direct RTM Threshold messages into syslog

Question & Answer


Question

How to enable Syslog function for RTM Thresholds?

Answer

If you enable syslog in Threshold settings, all threshold alert messages will be directed to /var/log/messages and Syslog plugin tab. There are two ways to enable syslog for RTM Threshold.

1.Enable syslog function from threshold template.

1) Go to Console->Template->Threshold Templates, choose the Threshold template you want to enable syslog function.

2) Check the ‘Syslogging’ check box, then click ‘Save’ Button (see screenshot below), this will enable syslog for all new alerts created from the template


3) For existing thresholds already created from the template,

Go to Console->Management->Thresholds.

a. If the "Template Propagation Enabled" was not checked before, Check the Template Propagation box, and click save.


b. If the "Template Propagation Enabled" box was checked before, first uncheck the box and click save, then check the box and click save again. The template change will be reflected to this threshold instance after this operation.

4) You can verify it by querying the database using the following MySQL query, replace <Thold_template_name_in_RTM> with the real name

select a.id,a.name,a.template_enabled,a.syslog_enabled from thold_data a, thold_template b where a.template=b.id and b.name='<Thold_template_name_in_RTM>';

Below is a real example, it shows the template propagation and syslog is enabled for this alert:

mysql> select a.id,a.name,a.template_enabled,a.syslog_enabled from thold_data a, thold_template b where a.template=b.id and b.name='Alert - Hosts With Used Mem > % [host_mem_pct]';


+----+-----------------------------------------------+------------------+----------------+
| id | name                                          | template_enabled | syslog_enabled |
+----+-----------------------------------------------+------------------+----------------+
|  1 | cluster913 - Alert - Hosts With Used Mem > 1% | on               | on             |
+----+-----------------------------------------------+------------------+----------------+
1 row in set (0.00 sec)

2. Enable syslog function for a specific threshold

If you only want to enable syslog for an individual Threshold or a Threshold created without template, you can follow the following steps.

1) Go to Console->Management->Threshold, choose the threshold you want to enable syslog function.

2) If the syslog settings is grey out, uncheck the ‘Template Propagation Enabled’ check box first. Then click ‘Save’ button.


3) Check the ‘Syslogging’ check box under Syslog setting, then click ‘Save’ button.


4). After the threshold been triggered, you can see the related messages under ‘Syslog’ tab

[{"Product":{"code":"SSZT2D","label":"IBM Spectrum LSF RTM"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Alert and Threshold","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Product":{"code":"SSZT2D","label":"IBM Spectrum LSF RTM"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
23 June 2018

UID

isg3T1023867