Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:ibsystem:ai:gpt-4 [2023/06/08 18:04] – [OpenAI - GPT4] ibadminen:ibsystem:ai:gpt-4 [2023/06/13 14:01] (current) – [alerts.xml - configuration file] ibadmin
Line 67: Line 67:
 Include paths in a format suitable for the Linux system. Include paths in a format suitable for the Linux system.
 </code> </code>
 +
 +==== alerts.xml - configuration file====
 +
 +<code text propmpt.txt>
 +Based on
 +
 +https://ibsystem.org/wiki/doku.php?id=en:ibmanager:ibmanager-alerts&do=export_text
 +
 +generate an alert configuration file for the ibmanager program (ibalert.xml). The parameters for ibalert are s213c.ibsystem.org:33241, timeout 3000, SecureConnection=true
 +
 +use regular expressions when defining alerts.
 +
 +Alerts in which id starts with "critical." are critical alerts, for all logics, all instances, direct to all recipients.
 +Non-critical alerts do not start with "critical", for all ids, all logics, all instances, direct to all recipients.
 +
 +rules:
 +
 +critical alerts: every day at any time, every 1 min
 +non-critical alerts: daily from 9 to 20, every 24h
 +
 +recipients:
 +
 +John Smith, +48222222222, john81@example.com
 +Jane Doe, +48111111111, jane.doe@example.com
 +
 +Send critical alerts via SMS only to all recipients.
 +Send non-critical alerts via email only to John Smith.
 +
 +The last known element should be <Recipient>, if the plugin did not provide you with sufficient information, fill in the missing information and re-generate the code block with the xml file supplemented with the missing data. Do not wait for the next command, just generate the final xml file, with all elements.
 +</code>
 +