Áú»¢¶Ä²©

This is the documentation page for an unsupported version of Áú»¢¶Ä²©.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

3 ???????? ??????? ????? ?? ??????

????? ?????

?? ???? ????? ????? ???? ?????? ?????? ?????? ?? ??? ?????? ????? ???. ??? ???? ????? ?????? ? ???? ?????? ???? ???.

???????? ?? ?????? ??????? ???? Áú»¢¶Ä²©. ???????? ??? ?????? ??????? ??????? ???? configuration file AlertScriptsPath ??????????.

???? ????? ????? ??????:

#!/bin/bash
       
       ?=$1
       ????=2$
       ???=3$
       
       ???? <<EOF | mail -s "$subject" "$to"
       ??? $
       EOF

::: ???? ?? ???? ??? ????? 3.4 Áú»¢¶Ä²© ???? ?? ? ??? ????? ?? ??????? ????????? ??????. ?? ??? ????? ???? ???? ?-0 ????? ?????? ????? ?????. ????? ??? Áú»¢¶Ä²© ???? ????? ?? ????? ????. :::

????? ????? ???? ?????? ?? ?????? ???? ???????, ?? ?? ???? ??? ??????.

?????

??? ?????? ???????? ??????? ????? ?? ?????? ???? ?????:

  • ???? ?? ????? ¡ú ???? ????
  • ??? ?? ??? ??? ????

????????? ??? ???? ????? ?????? ?????? ?? ??? ????:

?? ???? ???? ????? ??????? ??????? ?????.

???????? ????? ???????? ???? ????? ?? ???????:

????? ?????
?? ??????? ??? ?? ?? ??????.
?????? ?????? ???? ??????? ?? ???? ?????? ???????.
{ALERT.SENDTO}, {ALERT.SUBJECT} ?-{ALERT.MESSAGE} ????? ?????? ???????? ?? ??????.
????? ????? ?? ?????? ?????? ????? ??? Áú»¢¶Ä²© 3.0.

??? ??? ???? ???? ??????? ???? ????? ?? ??? ?????? ?????? ????? ???? ?????? ?????? ????????.

::: ???? ????? ?? ?? ????? ?? ????? ?????? ???? ??????, ?????? ?????? ???? ???? ?????? ??????? ??? ???? ?? ????? ???? ????? ?????, ???? ?? ????? ?????.

:::

::: ???? ?? ???? ??? ????? ????? ?? ???? ???? ????? ??? Áú»¢¶Ä²© 3.4.0, ???? ????? ??? ???? ???? ??? ???? ??? ?? ?????? ??????, ???? ???? ???????? ??? ?????? ??????? ?????. ????? ????? ?? ?????? ?????? ??? ????? ?? ??? StartAlerters ?????. :::

Media type testing

To test a configured script media type:

  1. Locate the relevant script in the list of media types.

  2. Click on Test in the last column of the list; a testing form will open in a pop-up window. The testing form will contain the same number of parameters that are configured for the script media type.

  3. Edit the script parameter values if needed. Editing only affects the test procedure; the actual values will not be changed.

  4. Click on Test.

When testing a configured script media type, {ALERT.SENDTO}, {ALERT.SUBJECT}, {ALERT.MESSAGE} and user macros will resolve to their values, but macros that are related to events (e.g., {HOST.HOST}, {ITEM.LASTVALUE}, etc.) will not resolve, as during testing there is no related event to get the details from. Note that macros within {ALERT.SUBJECT} and {ALERT.MESSAGE} macros will also not resolve. For example, if the value of {ALERT.SUBJECT} is composed of "Problem: {EVENT.NAME}" then the {EVENT.NAME} macro will not be resolved.

????? ?????

???? ????? ??? ?????, ???? ?? ????? ¡ú ??????? ???? ????? ?? ?????? ?????? ??? ?????? ???? ???? ?? ??????. ????? ?????? ???? ??????, ??? ?????? ???? ?? ???? ?????, ?? ????? ?- Media types.

???? ??, ????? ??????? ????? ?????, ?? ???? ????? ??? ??? ?? ???. ?? ??? ?? ?? ???? ?-Alertscript, ??? ?? ??? ????? ?? ????? ?????? ??? ????? ?? ?????? ??????.