1. Getting started¶
1.1. Load pre-configured templates¶
Sanet comes with some pre-configured ready-to-use templates.
You have to load them inside Sanet’s monitoring library with Sanet’s Command Line Interface (CLI):
cd /usr/share/sanet cat share/datagroup-templates/01-library.it | sanet-cli -c -l cat share/datagroup-templates/12-library-interface.it | sanet-cli -c -l
1.2. Start monitoring “localhost”¶
Now you can monitor your localhost by following this instructions.
Launch the CLI:
sanet-cli -c -T
Enter the monitoring configuration for you localhost:
node localhost datagroup icmp-reachability exit datagroup cpu-hr exit datagroup ram-usage-ucd exit exit
Access to your web interface a search for localhost.
Note
By default, Sanet’s monitoring agents update their configuration very 180 seconds. You can speedup the configuraiton reload by restarting the agents.
./scripts/server/poller.sh restart