Ad Widget

Collapse

Displaying IT Services on a seperate status page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kowch
    Junior Member
    • May 2009
    • 2

    #1

    Displaying IT Services on a seperate status page

    Hello Everyone!

    I'm still fairly new to Zabbix, but I've been tasked by my boss to get a status page together for various non technical users. He likes the look/feel of the IT Services status page, but doesn't want the users to have to log in to Zabbix or see any of the tabs on the regular dashboard.

    Does anyone know if there's a way to either re-skin IT Services so users are unable to see or click on the tabs or to pull it into another webpage?

    We'd rather not have to go the route of having to directly access the DB or right a bunch of php if we don't have to.

    Thanks in advance!
  • tighep
    Senior Member
    • Dec 2007
    • 124

    #2
    Without looking, I believe that the IT Services PHP code calls the Zabbix header, I would assume you could just exclude that to make the menus disappear? I have not tried this, and won't be able to for some time, my test server is not working right now.

    Comment

    • Kowch
      Junior Member
      • May 2009
      • 2

      #3
      What we found is you can go into the page_header.php and make this:

      Code:
      default:
                              if(!isset($page['encoding']))
                                      header('Content-Type: text/html; charset='.S_HTML_CHARSET);
                              else
                                      header('Content-Type: text/html; charset='.$page['encoding']);
      
                              if(isset($page['title']) && defined($page['title']))    $page['title'] = constant($page['title']);
      
                              if(!isset($page['title'])) $page['title'] = 'ZABBIX';
      
                              if(defined('ZBX_DISTRIBUTED')){
                                      if(isset($DB['DB']) && ($curr_node_data = DBfetch(DBselect('SELECT * FROM nodes WHERE nodeid='.get_current_nodeid(false)))))
                                              $page['title'] .= ' ('.$curr_node_data['name'].')';
                              }
      
                              if((defined('ZBX_PAGE_DO_REFRESH') || defined('ZBX_PAGE_DO_JS_REFRESH')) && $USER_DETAILS["refresh"]){
                                      $page['title'] .= ' [refreshed every '.$USER_DETAILS['refresh'].' sec]';
                              }
                    break;
      look like this:

      Code:
       default:
                              define('ZBX_PAGE_NO_MENU', 1);
                      break;
      This forced it to just return the images.

      What we're trying to do now (within IT Services) is change the default trigger messages. Since the target audience is non-technical, the values of "Service is Unreachable" coupled with an "OK" message doesn't sell well

      Does anyone know if you can actually re write some of the default trigger messages without actually breaking things?

      Thanks!
      Last edited by Kowch; 19-05-2009, 19:51.

      Comment

      Working...