Różnice między wybraną wersją a wersją aktualną.
Nowa wersja | Poprzednia wersja | ||
narzedzia:mail_cacti [2025/05/07 14:09] – created administrator | narzedzia:mail_cacti [2025/05/16 18:47] (aktualna) – administrator | ||
---|---|---|---|
Linia 1: | Linia 1: | ||
- | <code python> | + | === PY: Skrypt Powiadomień Mailowych dla systemu Cacti === |
+ | |||
+ | <code python | ||
import time | import time | ||
import smtplib | import smtplib | ||
Linia 14: | Linia 16: | ||
' | ' | ||
' | ' | ||
- | ' | + | ' |
' | ' | ||
} | } | ||
Linia 105: | Linia 107: | ||
message = " | message = " | ||
- | to_emails = ["it@ttcomm.net", "[email protected]", | + | to_emails = ["MAIL@MAIL.MAIL"," |
send_email(subject, | send_email(subject, |