This is an old revision of the document!
Table of Contents
Instalación
apt-get install cacti
Configuración
Siguiente, siguiente, siguiente…..
Gráficas
Crear Datos personalizados
Queremos monitorizar datos que se obtienen de un script. Por ejemplo valor download/upload de un test de velocidad.
“Data Input Methods”
Add
Name: GetDownload
Input Type: Script/Command
Input String: /root/scripts/getdownload.sh
En “Output Fileds” pulsamos Add
Field [Output]: download
Friendly Name: download
Ahora vamos a “Data Templates” Add
Name: DownloadTest
Data source:
Name: DownloadTest
Data Sorce Item
Internal Data Soruce Name: time
Al grabar en Output Field nos aparece el valor download-download
Vamos a Management/Devices y en devices creamos el host
Creamos el Data Sources en Management/Datasources/Add
Selected Data Template: DownloadTest Host: <nuestro equipo>
Ahora en Templates/Graph Creamos el template
Y luego en Graph Management añadimos Gráfica