It prints:
> hrStorageTable,agent_host=192.168.1.1,host=NetworkMonitor,hrStorageIndex=10 hrStorageAllocationUnits=1024i,hrStorageDescr="Swap space",hrStorageSize=24542452i,hrStorageType=".1.3.6.1.2.1.25.2.1.3",hrStorageUsed=3669732i 1530918900000000000
> hrStorageTable,agent_host=192.168.1.1,host=NetworkMonitor,hrStorageIndex=36 hrStorageAllocationUnits=4096i,hrStorageDescr="/share/NFSv=4/Public",hrStorageSize=1102300398i,hrStorageType=".1.3.6.1.2.1.25.2.1.4",hrStorageUsed=1065382343i 1530918900000000000
> hrStorageTable,agent_host=192.168.1.1,host=NetworkMonitor,hrStorageIndex=39 hrStorageAllocationUnits=4096i,hrStorageDescr="/lib/modules/4.2.8/container-station",hrStorageSize=1102300398i,hrStorageType=".1.3.6.1.2.1.25.2.1.4",hrStorageUsed=1065382343i 1530918900000000000
> hrStorageTable,agent_host=192.168.1.1,host=NetworkMonitor,hrStorageIndex=1 hrStorageAllocationUnits=1024i,hrStorageDescr="Physical memory",hrStorageSize=3947496i,hrStorageType=".1.3.6.1.2.1.25.2.1.2",hrStorageUsed=3689156i 1530918900000000000
> hrStorageTable,agent_host=192.168.1.1,host=NetworkMonitor,hrStorageIndex=32 hrStorageAllocationUnits=4096i,hrStorageDescr="/sys/fs/cgroup/memory",hrStorageSize=0i,hrStorageType=".1.3.6.1.2.1.25.2.1.4",hrStorageUsed=0i 1530918900000000000
> hrStorageTable,agent_host=192.168.1.1,host=NetworkMonitor,hrStorageIndex=7 hrStorageAllocationUnits=1024i,hrStorageDescr="Cached memory",hrStorageSize=465284i,hrStorageType=".1.3.6.1.2.1.25.2.1.1",hrStorageUsed=465284i 1530918900000000000
> hrStorageTable,agent_host=192.168.1.1,host=NetworkMonitor,hrStorageIndex=37 hrStorageAllocationUnits=4096i,hrStorageDescr="/share/NFSv=4/VM",hrStorageSize=906746486i,hrStorageType=".1.3.6.1.2.1.25.2.1.4",hrStorageUsed=799159303i 1530918900000000000
> hrStorageTable,agent_host=192.168.1.1,host=NetworkMonitor,hrStorageIndex=33 hrStorageAllocationUnits=4096i,hrStorageDescr="/share/CACHEDEV1_DATA",hrStorageSize=1102300398i,hrStorageType=".1.3.6.1.2.1.25.2.1.4",hrStorageUsed=1065382343i 1530918900000000000
> hrStorageTable,agent_host=192.168.1.1,host=NetworkMonitor,hrStorageIndex=3 hrStorageAllocationUnits=1024i,hrStorageDescr="Virtual memory",hrStorageSize=28489948i,hrStorageType=".1.3.6.1.2.1.25.2.1.3",hrStorageUsed=7358888i 1530918900000000000
> hrStorageTable,agent_host=192.168.1.1,host=NetworkMonitor,hrStorageIndex=35 hrStorageAllocationUnits=4096i,hrStorageDescr="/mnt/ext",hrStorageSize=90876i,hrStorageType=".1.3.6.1.2.1.25.2.1.4",hrStorageUsed=86351i 1530918900000000000
> hrStorageTable,agent_host=192.168.1.1,host=NetworkMonitor,hrStorageIndex=6 hrStorageAllocationUnits=1024i,hrStorageDescr="Memory buffers",hrStorageSize=3947496i,hrStorageType=".1.3.6.1.2.1.25.2.1.1",hrStorageUsed=55116i 1530918900000000000
> hrStorageTable,agent_host=192.168.1.1,host=NetworkMonitor,hrStorageIndex=31 hrStorageAllocationUnits=4096i,hrStorageDescr="/mnt/HDA_ROOT",hrStorageSize=126325i,hrStorageType=".1.3.6.1.2.1.25.2.1.4",hrStorageUsed=30420i 1530918900000000000
> hrStorageTable,agent_host=192.168.1.1,host=NetworkMonitor,hrStorageIndex=8 hrStorageAllocationUnits=1024i,hrStorageDescr="Shared memory",hrStorageSize=0i,hrStorageType=".1.3.6.1.2.1.25.2.1.1" 1530918900000000000
> hrStorageTable,agent_host=192.168.1.1,host=NetworkMonitor,hrStorageIndex=38 hrStorageAllocationUnits=4096i,hrStorageDescr="/share/NFSv=4/Virtual Machines",hrStorageSize=906746486i,hrStorageType=".1.3.6.1.2.1.25.2.1.4",hrStorageUsed=799159303i 1530918900000000000
> hrStorageTable,agent_host=192.168.1.1,host=NetworkMonitor,hrStorageIndex=34 hrStorageAllocationUnits=4096i,hrStorageDescr="/share/CACHEDEV2_DATA",hrStorageSize=906746486i,hrStorageType=".1.3.6.1.2.1.25.2.1.4",hrStorageUsed=799159303i 1530918900000000000
> systemVolumeTable,agent_host=192.168.1.1,host=NetworkMonitor,sysVolumeIndex=1 sysVolumeDescr="[Volume ODIN_DataVol1, Pool 1]",sysVolumeFS="EXT4",sysVolumeFreeSize="140.32 GB",sysVolumeStatus="Unknown",sysVolumeTotalSize="4.11 TB" 1530918905000000000
> systemVolumeTable,agent_host=192.168.1.1,host=NetworkMonitor,sysVolumeIndex=2 sysVolumeDescr="[Volume ODIN_DataVol2, Pool 1]",sysVolumeFS="EXT4",sysVolumeFreeSize="409.90 GB",sysVolumeStatus="Ready",sysVolumeTotalSize="3.38 TB" 1530918905000000000
Which to me now looks like it is writing data. This is a very dumb question but does telegraf have to be running? If so how do I get it running? If I do systemctl status telegraf I get the following:
● telegraf.service - The plugin-driven server agent for reporting metrics into InfluxDB
Loaded: loaded (/lib/systemd/system/telegraf.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2018-07-05 20:16:16 BST; 1 day 4h ago
Docs: https://github.com/influxdata/telegraf
Process: 9336 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
Main PID: 14950 (telegraf)
CGroup: /system.slice/telegraf.service
└─14950 /usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d
Jul 07 00:12:00 NetworkMonitor telegraf[14950]: 2018-07-06T23:12:00Z E! Error in plugin [inputs.snmp]: initializing table : getting table columns: exit status 1: Was that a table? SNMPv2-SMI::enterprises.24681.1.2.17
Jul 07 00:12:30 NetworkMonitor telegraf[14950]: 2018-07-06T23:12:30Z E! Error in plugin [inputs.snmp]: initializing table : getting table columns: exit status 1: Was that a table? SNMPv2-SMI::enterprises.24681.1.2.17
Jul 07 00:13:00 NetworkMonitor telegraf[14950]: 2018-07-06T23:13:00Z E! Error in plugin [inputs.snmp]: initializing table : getting table columns: exit status 1: Was that a table? SNMPv2-SMI::enterprises.24681.1.2.17
Jul 07 00:13:30 NetworkMonitor telegraf[14950]: 2018-07-06T23:13:30Z E! Error in plugin [inputs.snmp]: initializing table : getting table columns: exit status 1: Was that a table? SNMPv2-SMI::enterprises.24681.1.2.17
Jul 07 00:14:00 NetworkMonitor telegraf[14950]: 2018-07-06T23:14:00Z E! Error in plugin [inputs.snmp]: initializing table : getting table columns: exit status 1: Was that a table? SNMPv2-SMI::enterprises.24681.1.2.17
Jul 07 00:14:30 NetworkMonitor telegraf[14950]: 2018-07-06T23:14:30Z E! Error in plugin [inputs.snmp]: initializing table : getting table columns: exit status 1: Was that a table? SNMPv2-SMI::enterprises.24681.1.2.17
Jul 07 00:15:00 NetworkMonitor telegraf[14950]: 2018-07-06T23:15:00Z E! Error in plugin [inputs.snmp]: initializing table : getting table columns: exit status 1: Was that a table? SNMPv2-SMI::enterprises.24681.1.2.17
Jul 07 00:15:30 NetworkMonitor telegraf[14950]: 2018-07-06T23:15:30Z E! Error in plugin [inputs.snmp]: initializing table : getting table columns: exit status 1: Was that a table? SNMPv2-SMI::enterprises.24681.1.2.17
Jul 07 00:16:00 NetworkMonitor telegraf[14950]: 2018-07-06T23:16:00Z E! Error in plugin [inputs.snmp]: initializing table : getting table columns: exit status 1: Was that a table? SNMPv2-SMI::enterprises.24681.1.2.17
Jul 07 00:16:30 NetworkMonitor telegraf[14950]: 2018-07-06T23:16:30Z E! Error in plugin [inputs.snmp]: initializing table : getting table columns: exit status 1: Was that a table? SNMPv2-SMI::enterprises.24681.1.2.17