Left Hand Pane
Left Hand Pane
Is there a way to modify the left hand pane that has Quick View, Details, Performance Graphs... etc. My guess is that I may have to modify the html
I am looking to hide the Monitoring Process section since I don't want folks to start/stop or disable/enable, etc globally.
I am looking to hide the Monitoring Process section since I don't want folks to start/stop or disable/enable, etc globally.
Re: Left Hand Pane
What permissions do you give those folks?emartine wrote:I don't want folks to start/stop or disable/enable, etc globally.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Left Hand Pane
I've given them user with some evelated privs. I don't want them to even see it even if they can click with a permission denied.
Re: Left Hand Pane
Well, you may be able to remove them from the list, but this will not be multi-tenet as it will be missing for *all* users. Is that ok?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Left Hand Pane
That should be fine as admins have access to the command line.
Re: Left Hand Pane
Well you could hide the link, but add the link to a dashboard/view for the admins so that they can still see it.
Edit the file:
Comment out the lines #1945 - #1995:
Browse away from the page and browse back. The links should now be missing. If the user knows the GET request for it, they could still bring it up. But this will stop vagrants.
Edit the file:
Code: Select all
/usr/local/nagiosxi/html/includes/utils-menu.inc.phpCode: Select all
/*add_menu_item(MENU_HOME, array(
"type" => "menusection",
"title" => gettext("Monitoring Process"),
"id" => "menu-home-section-monitoringprocess",
"order" => 600,
"opts" => array(
"id" => "system",
"expanded" => true,
//"url" => $nagioscoreui_path."extinfo.php?type=0"
"url" => $xistatus_path . "?show=process"
),
"function" => "is_authorized_for_monitoring_system",
));
add_menu_item(MENU_HOME, array(
"type" => "link",
"title" => gettext("Process Info"),
"id" => "menu-home-processinfo",
"order" => 601,
"opts" => array(
//"href" => $nagioscoreui_path."extinfo.php?type=0"
"href" => $xistatus_path . "?show=process"
),
"function" => "is_authorized_for_monitoring_system",
));
add_menu_item(MENU_HOME, array(
"type" => "link",
"title" => gettext("Performance"),
"id" => "menu-home-performance",
"order" => 602,
"opts" => array(
//"href" => $nagioscoreui_path."extinfo.php?type=4"
"href" => $xistatus_path . "?show=performance"
),
"function" => "is_authorized_for_monitoring_system",
));
add_menu_item(MENU_HOME, array(
"type" => "link",
"title" => gettext("Event Log"),
"id" => "menu-home-eventlog",
"order" => 603,
"opts" => array(
//"href" => $nagioscoreui_path."showlog.php"
"href" => $xireports_path . "eventlog.php"
),
"function" => "is_authorized_for_monitoring_system",
));*/
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Left Hand Pane
Excellent. I am assuming I can do the same for the Auto-Discovery Wizard? I removed the wizard but the link remains and it is dead.
Click on the link results in the page:
########################################
Installation Problem
An installation errror was detected. The following steps must be completed before using this component:
Run the setup script. To do this, login to the Nagios XI server as the root user and issue the following commands:
chmod +x /usr/local/nagiosxi/html/includes/components/autodiscovery/setup.sh
/usr/local/nagiosxi/html/includes/components/autodiscovery/setup.sh
########################################
Click on the link results in the page:
########################################
Installation Problem
An installation errror was detected. The following steps must be completed before using this component:
Run the setup script. To do this, login to the Nagios XI server as the root user and issue the following commands:
chmod +x /usr/local/nagiosxi/html/includes/components/autodiscovery/setup.sh
/usr/local/nagiosxi/html/includes/components/autodiscovery/setup.sh
########################################
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Left Hand Pane
Yes, you can alter that as well. Since I have not seen it mentioned. I want you to be aware, all of this will be overwritten on update. We always force a complete overwrite of the html directories, so these changes will have to be made again if you wish to keep it this way.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Left Hand Pane
I can't seem to find the section for removal of the auto-discovery wizard link.
Re: Left Hand Pane
Did you remove the auto-discovery component and wizard?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.