Hi Support Team,
Recently we have upgrade the nagios from v5.4 to 5.7 and one of the new features discover was mobile view.
Unfortunately the client dashboard application is running android base operating system. The way it work is just by supplying the credential and full path of the dashboard that need to be display. "http://IPADDRESS/nagiosxi/includes/comp ... screen.php" No cursor, no touch screen, no scrolling to click any button/checkbox.
Disable redirection from the below link is not an option for this particular case.
https://support.nagios.com/kb/article/n ... e-873.html
Is there other way for us to stop the mobile redirection/ force it to go to normal desktop view instead.
Thanks,
Safuan
Permanently Disable Mobile View
Re: Permanently Disable Mobile View
There isn't currently a way to disable redirection to the mobile interface for everyone, but there are some workarounds you could try:
Option 0
On your mobile browser, open the hamburger and select "Request Desktop Site"
Option 1
Open /usr/local/nagiosxi/html/includes/pageparts.inc.php and around line 144, replacewith
That should disable it from redirecting to mobile until the file is modified. The downside to this option is that you'll have to re-apply the patch whenever you upgrade Nagios XI.
Option 0
On your mobile browser, open the hamburger and select "Request Desktop Site"
Option 1
Open /usr/local/nagiosxi/html/includes/pageparts.inc.php and around line 144, replace
Code: Select all
<?php } else { ?>
var mobile_redirects_disabled = 0;
<?php } ?>
Code: Select all
<?php } else { ?>
var mobile_redirects_disabled = 1;
<?php } ?>
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
-
safuanmansor
- Posts: 59
- Joined: Mon Jul 16, 2018 9:16 pm
Re: Permanently Disable Mobile View
Hi dchurch,
Gladly update that the workaround is working now.
Thank you.
Gladly update that the workaround is working now.
Thank you.
Re: Permanently Disable Mobile View
Glad to hear you resolved it! Locking thread.
If you have any additional issues, feel free to make a new thread.
If you have any additional issues, feel free to make a new thread.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.