Problems link removed in 4.2.0

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
dbray925
Posts: 6
Joined: Wed Oct 07, 2015 7:33 am

Problems link removed in 4.2.0

Post 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.
jfrickson

Re: Problems link removed in 4.2.0

Post 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.
dbray925
Posts: 6
Joined: Wed Oct 07, 2015 7:33 am

Re: Problems link removed in 4.2.0

Post by dbray925 »

Understood, and yeah I noticed the indent as well.

Appreciate the information and your time. Thanks!
jfrickson

Re: Problems link removed in 4.2.0

Post by jfrickson »

The indent is now fixed on the 'maint' branch via commit https://github.com/NagiosEnterprises/na ... 405b19a3af
Locked