Skip to content

RRD file structures are not always updated properly, if there are more Data Sources in the Data Template than the Graph Template #5259

@WirthmU

Description

@WirthmU

I am using a perl script for data input which works perfectly fine. If there is only one item in the ds it is working, If I add more than one item rrd is no longer updated.

If the data template consists of only the temperature it is working. If the data template contains two or more items it is no longer functioning. All values in the ds file and temperature graph are NaN.

To Reproduce

perl script:
sudo perl /usr/share/cacti/site/scripts/fhem-getstate.pl -s 'localhost' -d 'uRadMonitor_AC3' 01_altitude:600.26 01_ch2o:10 01_co2:458 01_cpm:18 01_duty:180 01_humidity:56.01 01_latitude:46.9167 01_longitude:7.4667 01_noise:42 01_pm25:55 01_pressure:94320 01_temperature:17.43 01_time:1678098947 01_timelocal:965700 01_voc:484736 01_voltage:382

Expected behavior

The different parameters in the ds should be available for graphing. For now I only can do this if the ds contains just one parameter

Screenshots

Working:
image

Not working:
image

Desktop (please complete the following information)

  • OS: ubuntu

  • Browser firefox

  • cacti Version 1.2.24

Smartphone (please complete the following information)

  • Device: [e.g. iPhone6]

  • OS: [e.g. iOS8.1]

  • Browser [e.g. stock browser, safari]

  • Version [e.g. 22]

Additional context

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourconfirmedBug is confirm by dev teamporting requiredRequires porting to developresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions