Direct link to host profile from dashboard

XMLWordPrintable

    • Type: New Feature Request
    • Resolution: Duplicate
    • Priority: Major
    • None
    • Affects Version/s: None
    • Component/s: Frontend (F)
    • None

      When I click on host with problem on dashboard > last 20 issues I can see this menu:
      -----------------
      Tools
      Ping
      Traceroute
      -----------------
      Links
      Latest data
      -----------------

      I want to add to this menu url to Host Profile. This is how I do it for my self.
      in file blocks.inc.php I've after this line

      $menus.= "['".S_LATEST_DATA."',\"javascript: redirect('latest.php?groupid=0&hostid=".$trigger['hostid']."')\", null,

      {'outer' : ['pum_o_item'],'inner' : ['pum_i_item']}

      ],";

      added this line

      $menus.= "['".S_HOST_PROFILE."',\"javascript: redirect('hostprofiles.php?hostid=".$trigger['hostid']."')\", null,

      {'outer' : ['pum_o_item'],'inner' : ['pum_i_item']}

      ],";

      I'm not skilled PHP prog. so you should check it.

            Assignee:
            Alexei Vladishev
            Reporter:
            Coudy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: