i2api (0.5.1-beta)
Published 2023-05-05 11:28:41 +02: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.5.1-beta
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 ofirc
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 forN
seconds, minutes, hours or weeks,.dt <host|host!service|host!service!hoster> <N><s|m|h|w> <comment>
downtime an host or service forN
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.57 |
clap | ^4.0.26 |
futures-util | ^0.3 |
governor | ^0.5.0 |
hyper | ^0.14.24 |
hyper-rustls | ^0.23.2 |
hyper-trust-dns | ^0.5.0 |
i2api-utils | ^0.5.0-beta |
icinga_api | ^0.5.0-beta |
irc | ^0.15.0 |
once_cell | ^1.8.0 |
rustc-hash | ^1.1.0 |
rustls | ^0.20.8 |
serde | ^1.0 |
time | ^0.3.17 |
time-tz | ^1.0.2 |
tokio | ^1.17 |
toml | ^0.7.1 |
tracing | ^0.1.34 |
tracing-futures | ^0.2.5 |
tracing-journald | ^0.3.0 |
tracing-subscriber | ^0.3.11 |
Details
Assets (1)
Versions (3)
View all
i2api-0.5.1-beta.crate
26 KiB