Ad Widget

Collapse

Trunk 8219: Permission Denied for all graphs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Palmertree
    Senior Member
    • Sep 2005
    • 746

    #1

    Trunk 8219: Permission Denied for all graphs

    Getting permission denied for all graphs in screens even from a "Super Admin" account. Truncate the profiles table and go to monitor -> screens and select a screen with graphs and the following message will show up:

    Click image for larger version

Name:	chart2.png
Views:	1
Size:	492 Bytes
ID:	315244


    Make sure you truncate the profliles table to make sure there are no entries left over from previous versions.
    Last edited by Palmertree; 06-11-2009, 14:49.
  • Palmertree
    Senior Member
    • Sep 2005
    • 746

    #2
    This patch fixed our issue:

    Code:
    diff -ruN /root/zabbix-original/frontends/php/api/classes/class.cgraph.php /root/zabbix/frontends/php/api/classes/class.cgraph.php
    --- /root/zabbix-original/frontends/php/api/classes/class.cgraph.php    2009-11-06 09:35:47.000000000 -0500
    +++ /root/zabbix/frontends/php/api/classes/class.cgraph.php     2009-11-08 01:03:07.000000000 -0500
    @@ -131,7 +131,7 @@
    
    
     // nodeids
    -               $nodeids = $options['nodeids'] ? $options['nodeids'] : get_current_nodeid(false);
    +               $nodeids = $options['nodeids'] ? $options['nodeids'] : get_current_nodeid();
    
     // groupids
                    if(!is_null($options['groupids'])){

    Comment

    • Aly
      ZABBIX developer
      • May 2007
      • 1126

      #3
      You have selected "all nodes" and viewing graph from not local node?
      Zabbix | ex GUI developer

      Comment

      • Palmertree
        Senior Member
        • Sep 2005
        • 746

        #4
        We had custom screens with graphs from different child nodes on the master.

        Comment

        • Aly
          ZABBIX developer
          • May 2007
          • 1126

          #5
          Yes I see, thank you for the fix.
          Zabbix | ex GUI developer

          Comment

          Working...