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/local/sanet
cat share/library/01-library.it share/library/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 configurationon reload by sending a signal to the agent.

agentinfo update_config

or by restarting it:

./scripts/server/poller.sh restart