Defining a data source template
You are now going to define a data source template for the host MIBhrSystemProcesses
. Although a data template already exists for this, it provides a good example of how to create SNMP-based data templates. For this to work, let's assume that your CentOS-based Cacti server is already configured with an SNMP daemon. You can check your box with the following command:
[root@localhost ~]# snmpwalk -On -c public -v 2c localhost HOST-RESOURCES-MIB::hrSystemProcesses.0.1.3.6.1.2.1.25.1.6.0 = Gauge32: 432
Time for action - defining a data source template
The hrSystemProcesses
MIB provides information on the current number of running processes on a system supporting the host resource MIB. This MIB is a collection of system-specific data such as logged in users, disk space, installed software packages, and other valuable information that can be retrieved using SNMP:
- Log on to your Cacti system and go to
Templates
|Data Source
. - Click the
Add
link at the top-right corner...