This is an old revision of the document!


Monitorix

Monitorix is a great tool to measure and graph your devices and services .

it works perfectly on your local device to monitor and archive performances and usages.

Custom Monitor

Although there are many builtin monitored items (system, cpu, net, sensors, applications …) and features, you may have to monitor a special device or application that is not yet integrated .

That's the purpose of this page to explain how I manage to monitor my personnal gateway to the Internet which doesn't have builtin graph capabilities .

install monitorix

First we need to install and configure monitorix, there are many tutorials to do that, as I am using centos 8 system I followed that one :

Custom device

In this page I will demonstrate how I manage to monitor In and Out bandwith usage of my FreeBox-Crystal which is a French ADSL router . The device does provide an http service to get the status of its services . it reply on the Lan interface at the address of the router itself

this page returns many information in text format like this :

______________________________________________________________________

                      Etat de la Freebox                           
______________________________________________________________________

Informations générales :
========================

  Modèle                         Freebox ADSL            
  Version du firmware            1.5.28                  
  Mode de connection             Dégroupé                
  Temps depuis la mise en route  33 jours, 20 heures, 34 minutes

....
Adsl :
======

  Etat                           Showtime                
  Protocole                      ADSL2+                  
  Mode                           Interleaved             

                         Descendant         Montant           
                         --                 --                
  Débit ATM              11074 kb/s         681 kb/s          
...
   Interfaces réseau :
 -------------------

                         Lien           Débit entrant  Débit sortant 
                         --             --             --            
  WAN                    Ok             63 ko/s        9 ko/s        
  Ethernet               100baseTX-FD   10 ko/s        54 ko/s