Skip to content

Real Time Graphs may cause invalid index errors #3786

@bmfmancini

Description

@bmfmancini

Hey Guys

I have not found another report similar to below

I see the following errors when doing a realtime monitor on a custom graph template

2020/09/02 15:38:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_realtime.php[139]:CactiErrorHandler())
2020/09/02 15:38:01 - ERROR PHP NOTICE: Undefined index: graph_width in file: /var/www/html/cacti/graph_realtime.php on line: 139
2020/09/02 15:38:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_realtime.php[138]:CactiErrorHandler())
2020/09/02 15:38:01 - ERROR PHP NOTICE: Undefined index: graph_height in file: /var/www/html/cacti/graph_realtime.php on line: 138
2020/09/02 15:37:59 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_realtime.php[139]:CactiErrorHandler())
2020/09/02 15:37:59 - ERROR PHP NOTICE: Undefined index: graph_width in file: /var/www/html/cacti/graph_realtime.php on line: 139
2020/09/02 15:37:59 - CMDPHP PHP ERROR NOTICE Backtrace: (/graph_realtime.php[138]:CactiErrorHandler())

RRD INFO

RRDtool Command:
/bin/rrdtool graph - \
--imgformat=PNG \
--start='1598989380' \
--end='1599075751' \
--pango-markup  \
--title='xxxxx - CPU Usage' \
--vertical-label='percent' \
--slope-mode \
--base=1000 \
--height=200 \
--width=700 \
--tabwidth '40' \
--rigid \
--alt-autoscale-max \
--lower-limit='0' \

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions