1
0
-1

You are running version 3.3.2 of Open-AudIT.
Your Host OS is Linux.
Your database platform is mysqli (version 5.5.64-MariaDB).
Your web server is Apache/2.4.6 (CentOS) PHP/5.4.16 .
Your PHP version is 5.4.16 and it's current time is 2020-06-20 12:10:48.


I noticed that disk graphs do not seem to work at all for any systems.

I go to the place where you can see the partitions (hardware → disk). When I click on the graph icon attempting to view 30 day graphs, 1st time nothing happens, 2nd time I always get an error:

Removed invalid sub_resource of partition_graph.

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Hi Phil,

      Apologies for the bug.

      Edit file /open-audit/code_igniter/application/helpers/input_helper.php.

      Windows - c:\xampp\ (as above)

      Linux - /usr/local/ (as above)

      Change line 449 from:

                  $valid_sub_resources = array('application', 'attachment', 'audit_log', 'bios', 'change_log', 'cluster', 'credential', 'discovery', 'disk', 'dns', 'edit_log', 'image', 'ip', 'log', 'memory', 'module', 'monitor', 'motherboard', 'netstat', 'network', 'nmap', 'optical', 'pagefile', 'partition', 'policy', 'print_queue', 'processor', 'route', 'server', 'server_item', 'service', 'share', 'software', 'software_key', 'sound', 'task', 'user', 'user_group', 'variable', 'video', 'vm', 'windows', 'report', 'query', 'group');

      to:

                  $valid_sub_resources = array('application', 'attachment', 'audit_log', 'bios', 'change_log', 'cluster', 'credential', 'discovery', 'disk', 'dns', 'edit_log', 'image', 'ip', 'log', 'memory', 'module', 'monitor', 'motherboard', 'netstat', 'network', 'nmap', 'optical', 'pagefile', 'partition', 'partition_graph', 'policy', 'print_queue', 'processor', 'route', 'server', 'server_item', 'service', 'share', 'software', 'software_key', 'sound', 'task', 'user', 'user_group', 'variable', 'video', 'vm', 'windows', 'report', 'query', 'group');

      IE - Add partition_graph to the list.

      This has now been fixed for our next release.

      Mark.

      1. Phil

        thanks for the quick fix!

      CommentAdd your comment...