Page 1 of 1

Problems link removed in 4.2.0

Posted: Thu Aug 04, 2016 8:45 am
by dbray925
Just completed the source upgrade from 4.1.1 to 4.2.0, and noticed that the Problems link was removed from the side bar. You can still get to it from clicking the "All Problems" at the top, but I found it helpful to have it as a link like all the other links on the left hand side. Easy enough fix though:

Original /usr/local/nagios/share/side.php:

Code: Select all

<li class="navsectionheader">Problems
Updated version:

Code: Select all

<li class="navsectionheader">
    <a href="<?php echo $cfg["cgi_base_url"];?>/status.cgi?host=all&servicestatustypes=28" target="<?php echo $link_target;?>">Problems</a>

Thought I point this out in case it was either overlooked, or if anybody would like to have the original link back.

Re: Problems link removed in 4.2.0

Posted: Thu Aug 04, 2016 10:10 am
by jfrickson
dbray925 wrote:Just completed the source upgrade from 4.1.1 to 4.2.0, and noticed that the Problems link was removed from the side bar. You can still get to it from clicking the "All Problems" at the top, but I found it helpful to have it as a link like all the other links on the left hand side.
The link on Problems, and the link on Services right below it were for the same URL: http://localhost/nagios/cgi-bin/status. ... ustypes=28. Some people thought the link on Problems should show all problems, both services and hosts. Since there's no good way to show both at the same time, I removed the link on Problems to prevent further confusion. If you click on Services, you will see the same report.

See the issue at https://github.com/NagiosEnterprises/na ... issues/109

However, I see the items under the Problems header are indented too far. I'll get that fixed.

Re: Problems link removed in 4.2.0

Posted: Thu Aug 04, 2016 10:14 am
by dbray925
Understood, and yeah I noticed the indent as well.

Appreciate the information and your time. Thanks!

Re: Problems link removed in 4.2.0

Posted: Thu Aug 04, 2016 11:07 am
by jfrickson
The indent is now fixed on the 'maint' branch via commit https://github.com/NagiosEnterprises/na ... 405b19a3af