Skip to content
George Pantazis edited this page Apr 13, 2017 · 1 revision

This engine will retrieve the statistics from ntp loopstats and provide them to SNMP for your cacti installation.

You will need to:

  • Setup ntp to create the loopstats statistics
  • Setup SNMP to use cacti-go-tools in order to provide the nginx extend

Setup ntp

You should add the following in your ntp.conf usually located in /etc/ntp.conf

statistics loopstats

cacti-go-tools Configuration

Edit the (/etc/cacti-go-tools/cacti-go-tools.json) and set the correct path and filename, the default settings should be fine for most distributions.

    "ntp": {
        "uri": "/var/log/ntpstats",
        "filename": "loopstats",
        "onemptyreturnzero": false
    },

Setup SNMP

You will need to setup an extend so that any SNMP client can retrieve the NGINX statistics. To accomplish that you will need to add the following in your snmpd.conf

extend ntp /usr/bin/cacti-go-tools engine ntp
Clone this wiki locally