Defining a data template
You are now going to define a data template for the host MIB
hrSystemProcesses
. Although a data template already exists for this, this task 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: 101
Get Cacti 0.8 Beginner's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.