You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

The source code for the Cacti CLI can be found here: https://git.geant.net/gitlab/src/cacticli The main program is CactiCli.java

The Cacti Command Line Interface (CLI) is a Java based program that is called from a Bash script called cli.sh.

The program is located on the two production Cacti servers; prod-cacti01-fra-de.geant.net and prod-cacti02-vie-at.geant.net in the directory /home/cactiuser/scripts 

It is configured via a properties file called cacticli.properties

The CLI has a variety of useful functions that can be called using the following syntax


MySQL Database Connection

The CreateBODService connects to one MySQL databases:

cacti database on prod-cacti01-fra-de.geant.net using user cactiuser


  • No labels