It’s easy, once you have nagiosadministrator installed, you’ll probably notice there’s no easy way to actually reach nagios. To add a quick button to the toolbar to do this, follow these steps:

  1. SSH to server running nagios/nagiosadministrator

  2. Go to your nagios administrator directory, ours is /var/www/nagiosadmin

  3. Now, edit the menu file

     # nano apps/backend/lib/topMenu.class.php
    
  4. Now, change the first class topMenu from this

     class topMenu  
     {  
     protected static $items = array(  
     'contact' => 'Contacts',  
     'contactgroup' => 'Contact Groups',  
     'os' => 'Operating Systems',  
     'service' => 'Services',  
     'hostgroup' => 'Host Groups',  
     'host' => 'Hosts',  
     'command' => 'Commands',  
     'template' => 'Templates',  
     'generator' => 'Generator'  
     );
    

to this

  class topMenu  
  {  
  protected static $items = array(  
  'contact' => 'Contacts',  
  'contactgroup' => 'Contact Groups',  
  'os' => 'Operating Systems',  
  'service' => 'Services',  
  'hostgroup' => 'Host Groups',  
  'host' => 'Hosts',  
  'command' => 'Commands',  
  'template' => 'Templates',  
  'generator' => 'Generator',  
  'nagios' => 'Go To Nagios'  
  );
  1. Refresh the Nagios Administrator web interface, and you’ll see a fancy new button you can click on to take you right to nagios.

Enjoy!