Alarm Server: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
'''Alarm Server''' receives the error messages sent mostly by ''error_msg'' program, for example to set level2 problem alarm type: | '''Alarm Server''' receives the error messages sent mostly by ''error_msg'' program, for example to set level2 problem alarm type following: | ||
error_msg l2_check clonalarm l2_check trigger 2 ERROR 1 \"Level 2 problem\" | error_msg l2_check clonalarm l2_check trigger 2 ERROR 1 \"Level 2 problem\" | ||
and to clear that alarm type: | and to clear that alarm type following: | ||
error_msg l2_check clonalarm l2_check trigger 0 INFO 1 \"Level 2 Ok\" | error_msg l2_check clonalarm l2_check trigger 0 INFO 1 \"Level 2 Ok\" | ||
where: | |||
l2_check - sender program name (twice ?) | |||
clonalarm - mandatory keyword to distinguish alarm message | |||
trigger - alarm subsystem name (trigger, online, etc) in database table 'clonalarm' | |||
2 ERROR - to report error message | |||
0 INFO - to erase error message | |||
1 - alarm_id in database table 'clonalarm' | |||
To create new alarm update ''clonalarm'' database (and ''clonalarm_help'' as well, but it is a mess ..). |
Latest revision as of 17:23, 9 February 2009
Alarm Server receives the error messages sent mostly by error_msg program, for example to set level2 problem alarm type following:
error_msg l2_check clonalarm l2_check trigger 2 ERROR 1 \"Level 2 problem\"
and to clear that alarm type following:
error_msg l2_check clonalarm l2_check trigger 0 INFO 1 \"Level 2 Ok\"
where:
l2_check - sender program name (twice ?) clonalarm - mandatory keyword to distinguish alarm message trigger - alarm subsystem name (trigger, online, etc) in database table 'clonalarm' 2 ERROR - to report error message 0 INFO - to erase error message 1 - alarm_id in database table 'clonalarm'
To create new alarm update clonalarm database (and clonalarm_help as well, but it is a mess ..).