Ad Widget

Collapse

Show charts in another web (chart2.php) Cookie problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fefeho
    Junior Member
    • Aug 2021
    • 1

    #1

    Show charts in another web (chart2.php) Cookie problem

    hi people,
    We used to use the api with the zabbix 5.0.6 getting the jwt token from user.login anb with this token I used chart2.php to generate the chart in another web and in order to authenticate me I use the Cookie zbx_sessionid=<jwt token> .
    The problem is in the Zabbix 5.4.3 this is not possible because the jwt token (Cookie zbx_sessionid) that I need to call chart2.php is bigger and different that I used in the 5.0.4.
    If I use the one bring from user.login the chart2.php is not working in 5.4.3.

    I don't know if I can made this bigger token to use it.
    My server is NOT running name and ssl.

    The call I do is :
    http://<zabbix_ip>/chart2.php?graphid=1986&from=now-5m&to=now&height=201&width=1127&profileIdx=web.ch a rts.filter&_=v10w7uea

    Anyone have any idea about this?
    thanks in advance

    Fefe
Working...