FIDO: RRD writing

FIDO: RRD writing

A properly formatted status file will cause information to be written to RRDs by the fido_rrd_writer.pl daemon.

See the code or Michael for more details



This is a simple example of a single update for a file.

[m7h@nibbler fido]$ bin/storable_dump.pl rrdtmp.1226693428.03794.fido_snmp.pl.info
retrieving rrdtmp.1226693428.03794.fido_snmp.pl.info
{
'...rrd_configuration' => {
'envProbeHumidity' => {
'ds_type' => 'GAUGE',
'rrd_path' => '/var/flows/rrds/envProbeHumidity',
'rrd_setup' => '1:2016,12:8670,288:3650',
'update_frequency' => '150'
},
'm-marion-opt.wiscnet.net_humidity_envProbeHumidity.rrd' => {
'rrd_type' => 'envProbeHumidity',
'time' => 1226693418,
'value' => 30
},
}



This is a simple example of a multiple updates for one or more files.  Updates are processed in array order.
{
  '...files' => [
    {
      'rrd_file' => '/var/local/rrds/jnxXMLRPF/device=r-uwcbaraboosaukco.uwsys.net_interface=ge-1-1-0-0_family=inet_jnx-xml-RPFPacketCount.rrd',
      'rrd_type' => 'jnx-xml-RPFPacketCount',
      'time' => '1506438110',
      'value' => '8819'
    },
    {
      'rrd_file' => '/var/local/rrds/jnxXMLRPF/device=r-uwcbaraboosaukco.uwsys.net_interface=ge-1-1-0-0_family=inet_jnx-xml-RPFByteCount.rrd',
      'rrd_type' => 'jnx-xml-RPFByteCount',
      'time' => '1506438110',
      'value' => '2895862'
    },
    {
      'rrd_file' => '/var/local/rrds/jnxXMLRPF/device=r-uwcbaraboosaukco.uwsys.net_interface=ge-1-1-0-0_family=inet_jnx-xml-RPFPacketCount.rrd',
      'rrd_type' => 'jnx-xml-RPFPacketCount',
      'time' => '1506438167',
      'value' => '8819'
    },
    {
      'rrd_file' => '/var/local/rrds/jnxXMLRPF/device=r-uwcbaraboosaukco.uwsys.net_interface=ge-1-1-0-0_family=inet_jnx-xml-RPFByteCount.rrd',
      'rrd_type' => 'jnx-xml-RPFByteCount',
      'time' => '1506438167',
      'value' => '2895862'
    },
    .. etc etc
  ],

  '...rrd_configuration' => {
    ... same as simple example ...
  }
}


The following is needed by FIDO:
rrd_writer: Help File



Keywords:FIDO: RRD writing   Doc ID:38037
Owner:Michael H.Group:Network Services
Created:2014-02-27 17:01 CDTUpdated:2017-09-26 10:28 CDT
Sites:Network Services, University of Wisconsin System Network
Feedback:  0   0