i2api (0.6.1)

Published 2023-11-28 11:56:14 +01:00 by mtrossevin

Installation

[registry]
default = "forgejo"

[registries.forgejo]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add i2api@0.6.1

About this package

IRC bot for icinga

Interactive IRC bot for icinga

Configuration

The bot use two configuration files:

  • conf.toml that configure the icinga servers to contact and the primary IRC channel.
  • irc.toml that configure the connection to IRC (see doc of irc crate).

Commands

  • .ack <host|host!service|host!service!hoster> <comment> acknowledge a problem,
  • .ackexp <host|host!service|host!service!hoster> <N><s|m|h|w> <comment> acknowledge a problem for N seconds, minutes, hours or weeks,
  • .dt <host|host!service|host!service!hoster> <N><s|m|h|w> <comment> downtime an host or service for N seconds, minutes, hours or weeks,
  • .com <host|host!service|host!service!hoster> <comment> add a comment,
  • .rm <host|host!service|host!service!hoster> remove acknowledgements and downtimes from an host or service,
  • .notif <bool> enable or disable icinga notifications,
  • .hl define who should be warned of problems.

Dependencies

ID Version
anyhow ^1.0.75
clap ^4.4.0
futures-util ^0.3.28
governor ^0.6.0
hyper ^0.14.27
hyper-rustls ^0.24.1
hyper-trust-dns ^0.5.0
i2api-utils ^0.5.0
icinga_api ^0.5.0
irc ^0.15.0
libsystemd ^0.7.0
once_cell ^1.18.0
rustc-hash ^1.1.0
rustls ^0.21.6
serde ^1.0.186
time ^0.3.27
time-tz ^2.0.0
tokio ^1.32.0
toml ^0.8.8
tracing ^0.1.37
tracing-futures ^0.2.5
tracing-journald ^0.3.0
tracing-subscriber ^0.3.17
Details
Cargo
2023-11-28 11:56:14 +01:00
2
MIT
28 KiB
Assets (1)
Versions (3) View all
0.6.1 2023-11-28
0.6.0 2023-11-28
0.5.1-beta 2023-05-05