Skip to content

Alarm Types

Classes

AlarmCommand

AlarmCommand(alias: str, command: str)

AlarmType

Run a shell command, passing info into its stdin.


args_joiner

.args_joiner: str = ' '

Symbol to join arguments with.


name_separator

.name_separator: str = ':'

Separator to add after name portion.


name_separator_strip

.name_separator_strip: bool = False

Strip leading and trailing name separator from the result.


opt_key

.opt_key: str | None = None

Allows swapping default option key with custom value.


plugin

.plugin: bool | str = False

Indication this option group belongs to a plugin.


AlarmCurl

AlarmCurl(
    alias: str, 
    url: str, 
    method: str | None = None, 
    ssl: bool | None = None, 
    ssl_insecure: bool | None = None, 
    auth_user: str | None = None, 
    auth_pass: str | None = None, 
    timeout: int | None = None, 
    conn_timeout: int | None = None, 
    mail_from: str | None = None, 
    mail_to: str | None = None, 
    subject: str | None = None
)

AlarmType

Send info to a cURL-able URL.


name_separator

.name_separator: str = ':'

Separator to add after name portion.


name_separator_strip

.name_separator_strip: bool = False

Strip leading and trailing name separator from the result.


opt_key

.opt_key: str | None = None

Allows swapping default option key with custom value.


AlarmLog

AlarmLog(alias: str)

AlarmType

Print line into log.


args_joiner

.args_joiner: str = ' '

Symbol to join arguments with.


name_separator

.name_separator: str = ':'

Separator to add after name portion.


name_separator_strip

.name_separator_strip: bool = False

Strip leading and trailing name separator from the result.


opt_key

.opt_key: str | None = None

Allows swapping default option key with custom value.


plugin

.plugin: bool | str = False

Indication this option group belongs to a plugin.


AlarmMule

AlarmMule(alias: str, mule: int)

AlarmType

Send info to a mule waiting for messages.


args_joiner

.args_joiner: str = ' '

Symbol to join arguments with.


name_separator

.name_separator: str = ':'

Separator to add after name portion.


name_separator_strip

.name_separator_strip: bool = False

Strip leading and trailing name separator from the result.


opt_key

.opt_key: str | None = None

Allows swapping default option key with custom value.


plugin

.plugin: bool | str = False

Indication this option group belongs to a plugin.


AlarmSignal

AlarmSignal(alias: str, sig: int)

AlarmType

Raise an uWSGI signal.


args_joiner

.args_joiner: str = ' '

Symbol to join arguments with.


name_separator

.name_separator: str = ':'

Separator to add after name portion.


name_separator_strip

.name_separator_strip: bool = False

Strip leading and trailing name separator from the result.


opt_key

.opt_key: str | None = None

Allows swapping default option key with custom value.


plugin

.plugin: bool | str = False

Indication this option group belongs to a plugin.


AlarmXmpp

1
2
3
4
5
6
AlarmXmpp(
    alias: str, 
    jid: str, 
    password: str, 
    recipients: Strlist
)

AlarmType

Send info via XMPP/jabber.


name_separator

.name_separator: str = ':'

Separator to add after name portion.


name_separator_strip

.name_separator_strip: bool = False

Strip leading and trailing name separator from the result.


opt_key

.opt_key: str | None = None

Allows swapping default option key with custom value.