[Nagios-devel] Status.cgi Weirdness

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
Guest

[Nagios-devel] Status.cgi Weirdness

Post by Guest »

All,

I have come across a strange little problem in the status.cgi for Nagios
in versions 2.0 through 2.3.1. The issue is related to the url
generation from status.cgi in the Service Detail frame. We have found
that the "Host Status Totals" filters are different if the "Service
Status Totals" have previously been used.

Normally the filter URLs appear as follows:

Host Status Totals:
Up
https://nagios/nagios/cgi-bin/status.cg ... stypes=3D2
Down
https://nagios/nagios/cgi-bin/status.cg ... stypes=3D4
Unreachable
https://nagios/nagios/cgi-bin/status.cg ... stypes=3D8
Pending
https://nagios/nagios/cgi-bin/status.cg ... stypes=3D1
All Problems
https://nagios/nagios/cgi-bin/status.cg ... types=3D12
All Types
https://nagios/nagios/cgi-bin/status.cgi?host=3Dall

Service Status Totals
Ok
https://nagios/nagios/cgi-bin/status.cg ... stypes=3D=
2&h
oststatustypes=3D15
Warning
https://nagios/nagios/cgi-bin/status.cg ... stypes=3D=
4&h
oststatustypes=3D15
Unknown
https://nagios/nagios/cgi-bin/status.cg ... stypes=3D=
8&h
oststatustypes=3D15
Critical
https://nagios/nagios/cgi-bin/status.cg ... stypes=3D=
16&
hoststatustypes=3D15
Pending
https://nagios/nagios/cgi-bin/status.cg ... stypes=3D=
1&h
oststatustypes=3D15
All Problem
https://nagios/nagios/cgi-bin/status.cg ... stypes=3D=
28&
hoststatustypes=3D15
All Types
https://nagios/nagios/cgi-bin/status.cg ... types=3D15

If we were to click on one of the "Service Status Totals" filters and
then later select a "Host Status Totals" filter the URLs change as
follows:

Host Status Totals:
Up
https://nagios/nagios/cgi-bin/status.cg ... stypes=3D=
2&h
oststatustypes=3D2
Down
https://nagios/nagios/cgi-bin/status.cg ... stypes=3D=
2&h
oststatustypes=3D4
Unreachable
https://nagios/nagios/cgi-bin/status.cg ... stypes=3D=
2&h
oststatustypes=3D8
Pending
https://nagios/nagios/cgi-bin/status.cg ... stypes=3D=
2&h
oststatustypes=3D12
All Problems
https://nagios/nagios/cgi-bin/status.cg ... stypes=3D=
2&h
oststatustypes=3D12
All Types
https://nagios/nagios/cgi-bin/status.cg ... stypes=3D=
2

With these new URLs the data is not actually being filtered correctly.
We are not getting the correct sort data as would be expected. The
icons below the individual URLs certainly indicate the correct count
just not the URL sort itself. Have any of you experienced a similar
problem? Is there a fix in the works?

Test Environment

CentOS 4.2 & RedHat ES 4.2
Vmware & Hardware
Nuvola 1.0.3

Thank you all for your consideration in this matter.





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked