Monitor ping connectivity
You can monitor ping connectivity from your own server to any other server that interests you. The server just needs to be contactable through ping by the server that will monitor it, thus it allows the server to be inside an internal network without access to the internet - useful to check up VPN links for example.
In this post we will monitor ping uptime of server 22.214.171.124
On a server that is being monitored by ClearGLASS, edit collectd.conf (/opt/mistio-collectd/collectd.conf ) and add the ip address on the Plugin ping section, eg
Host "126.96.36.199" Host "188.8.131.52"
Now restart collectd
root@monitor:~# /opt/mistio-collectd/collectd.sh restart Stopping ClearGLASS collectd Starting ClearGLASS collectd
Select the machine on ClearGLASS, click on 'Add graph', then ping, then select the ip of the machine. The graphs of the ping connectivity will appear in a few seconds
You can also monitor the droprate and get notified when it is too high.
Again, add graph, and this time we select ping droprate and our ip address
the ping droprate diagram will appear. We can now set a rule (by clicking on 'add rule') to get alerted if ping droprate is bigger than 0 (which means packets are getting lost, and either the server is down, or there is some sort of network issue) for every value within 1 minutes. These all can be adjusted, so that we minify false positive alerts, and be notified when there is a real problem