Rules fire notifications as events happen, rather than waiting for somebody to read a log.
Channels
| Channel | Notes |
|---|---|
Uses wp_mail, so your existing SMTP setup applies | |
| Slack | Incoming webhook |
| Discord | Webhook |
| Telegram | Bot token and chat ID |
| ntfy | Self-hostable; alerts.ntfy.server and alerts.ntfy.token |
| Webhook | Arbitrary endpoint, HMAC-signed |
The webhook channel is the extension point. Anything that accepts an HTTP POST — PagerDuty, Opsgenie, an internal service — is reachable through it, and the signature lets the receiver verify the payload came from your site.
Add your own with itxuo_alert_channels.
Rules
A rule is an event match, a minimum severity, a channel and optional conditions.
Sensible defaults ship for the events worth knowing about, each with a throttle. You can edit or delete every one.
Throttling matters more than the rules
Every default rule carries a throttle_seconds, from five minutes for common events up to an hour for the noisy ones.
Without it, a brute-force run against your login form sends one Slack message per attempt, your channel becomes unusable, somebody mutes it, and the alert that mattered three weeks later goes unread. The throttle is not a nicety; it is the thing that keeps the channel worth having.
Deferred sending
| Key | Default |
|---|---|
alerts.defer_sends | — |
With deferral on, sends are queued and dispatched out of band rather than during the request that triggered them.
Turn it on. A login that has to wait for Slack to respond is a login that fails when Slack is slow, and an authentication path should not depend on a chat service being up.
define( 'ITXUO_DISABLE_ALERT_QUEUE', true );
forces immediate sending if the queue is the thing misbehaving.
What is worth alerting on
Not everything. A good starting set:
direct_metaprivilege escalation from Privilege watch — this one should never fire- Administrator role grants
- Sign-in from a new device for privileged roles
- Repeated lockouts against the same account
- Plugin activation and theme switch on a site where those are rare
Content events are usually noise unless your site is quiet.
Suppressing the defaults
define( 'ITXUO_DISABLE_DEFAULT_ALERTS', true );
Stops the default rule set from being installed, for sites that would rather start from nothing.
What gets logged
Alert dispatches and delivery failures. A rule that has been silently failing to reach Slack for a month is visible rather than assumed to be quiet.