Expand description
Netpulse is a network monitoring tool that performs connectivity checks and stores results for analysis.
§Architecture
The crate is organized into several key modules:
store
- Handles persistence of check resultsrecords
- Defines core types for representing checks and their resultschecks
- Implements the actual connectivity checksanalyze
- Provides analysis of check resultserrors
- Error typesanalyze
- Analysis functionalities for extrapolating the data in the Store
§Example Usage
use netpulse::store::Store;
// Load or create store
let mut store = Store::load_or_create().unwrap();
// Add checks for configured targets
store.make_checks();
// Save results
store.save().unwrap();
Modules§
- Module providing analysis and reporting of network check results.
- Implementation of network connectivity checks.
- Common functionality shared between netpulse binaries.
- Error types for the netpulse crate.
- Core types for representing network connectivity checks and their results.
- The store module handles persistence and versioning of check results.
Constants§
- Redirect the stderr of the daemon here
- Redirect the stdout of the daemon here
- Lockfile of the daemon containing it#s pid
- username of the user the daemon should drop to after being started
- How long to wait until considering a connection as timed out
- How long to wait until considering a connection as timed out, in milliseconds