Page 2 of 3

Re: BPI access

Posted: Thu Jan 17, 2019 10:12 am
by scottwilkerson
Can you check your httpd error log after trying the page again

Code: Select all

tail -50 /var/log/https/ssl_error_log

Re: BPI access

Posted: Thu Jan 17, 2019 10:50 am
by Bitflogger
My System Administrators refuse to put a browser on a linux server, so I have no local manual test option.

Re: BPI access

Posted: Thu Jan 17, 2019 10:58 am
by scottwilkerson
scottwilkerson wrote:Can you check your httpd error log after trying the page again

Code: Select all

tail -50 /var/log/https/ssl_error_log

Re: BPI access

Posted: Thu Jan 17, 2019 11:28 am
by Bitflogger
Create_new_BPI_group_selected.png
BPI_selected.png
Here are two screen shots, some seconds were allowed for the screen to respond.

Re: BPI access

Posted: Thu Jan 17, 2019 11:42 am
by scottwilkerson
scottwilkerson wrote:Can you check your httpd error log after trying the page again

Code: Select all

tail -50 /var/log/https/ssl_error_log

Re: BPI access

Posted: Thu Jan 17, 2019 12:00 pm
by Bitflogger
Possible too much data to post here, here is the end:

[Thu Jan 17 10:48:47.057914 2019] [:error] [pid 25677] [client 146.151.222.234:58677] PHP Notice: Undefined index: contacts_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 277, referer: https://nagiosxi.doit.wisc.edu/nagiosxi ... &type=host
[Thu Jan 17 10:48:47.057932 2019] [:error] [pid 25677] [client 146.151.222.234:58677] PHP Notice: Undefined index: contacts_tploptions in /usr/local/nagiosxi/html/includes/components/ccm/includes/hidden_overlay_functions.inc.php on line 280, referer: https://nagiosxi.doit.wisc.edu/nagiosxi ... &type=host
[Thu Jan 17 10:55:17.812961 2019] [:error] [pid 9912] [client 146.151.222.234:58860] PHP Notice: Undefined variable: service in /usr/local/nagiosxi/html/includes/components/xicore/status-object-detail.inc.php on line 2579, referer: https://nagiosxi.doit.wisc.edu/nagiosxi ... t.wisc.edu
[Thu Jan 17 10:55:38.334611 2019] [:error] [pid 12271] [client 146.151.222.234:58880] PHP Notice: Undefined variable: service in /usr/local/nagiosxi/html/includes/components/xicore/status-object-detail.inc.php on line 2579, referer: https://nagiosxi.doit.wisc.edu/nagiosxi ... t.wisc.edu

Re: BPI access

Posted: Thu Jan 17, 2019 12:11 pm
by scottwilkerson
Lets try it a different way as these aren't entries aren't related to bpi

Code: Select all

grep bpi /var/log/httpd/ssl_error_log|tail -50

Re: BPI access

Posted: Thu Jan 17, 2019 12:44 pm
by Bitflogger
[ead@winston bin]$ sudo grep bpi /var/log/httpd/ssl_error_log|tail -50
[Tue Jan 15 16:30:09.519249 2019] [:error] [pid 29768] [client 144.92.108.187:51563] PHP Notice: Undefined variable: HEALTH in /usr/local/nagiosxi/html/includes/components/nagiosbpi/nagiosbpi.inc.php on line 233, referer: https://nagiosxi.doit.wisc.edu/nagiosxi ... /index.php
[Tue Jan 15 16:30:22.880734 2019] [:error] [pid 31606] [client 144.92.108.187:51564] PHP Notice: Undefined variable: HEALTH in /usr/local/nagiosxi/html/includes/components/nagiosbpi/nagiosbpi.inc.php on line 289, referer: https://nagiosxi.doit.wisc.edu/nagiosxi ... =nagiosbpi
[Tue Jan 15 16:30:22.880770 2019] [:error] [pid 31606] [client 144.92.108.187:51564] PHP Notice: Undefined variable: PROBLEMCOUNT in /usr/local/nagiosxi/html/includes/components/nagiosbpi/nagiosbpi.inc.php on line 289, referer: https://nagiosxi.doit.wisc.edu/nagiosxi ... =nagiosbpi
[Tue Jan 15 16:30:22.880789 2019] [:error] [pid 31606] [client 144.92.108.187:51564] PHP Notice: Undefined variable: WARNTHRESHHOLD in /usr/local/nagiosxi/html/includes/components/nagiosbpi/nagiosbpi.inc.php on line 290, referer: https://nagiosxi.doit.wisc.edu/nagiosxi ... =nagiosbpi
[Tue Jan 15 16:30:22.880796 2019] [:error] [pid 31606] [client 144.92.108.187:51564] PHP Notice: Undefined variable: HEALTH in /usr/local/nagiosxi/html/includes/components/nagiosbpi/nagiosbpi.inc.php on line 290, referer: https://nagiosxi.doit.wisc.edu/nagiosxi ... =nagiosbpi
[Tue Jan 15 16:30:22.880802 2019] [:error] [pid 31606] [client 144.92.108.187:51564] PHP Notice: Undefined variable: PROBLEMCOUNT in /usr/local/nagiosxi/html/includes/components/nagiosbpi/nagiosbpi.inc.php on line 290, referer: https://nagiosxi.doit.wisc.edu/nagiosxi ... =nagiosbpi
[Tue Jan 15 16:30:22.880810 2019] [:error] [pid 31606] [client 144.92.108.187:51564] PHP Notice: Undefined variable: CRITTHRESHHOLD in /usr/local/nagiosxi/html/includes/components/nagiosbpi/nagiosbpi.inc.php on line 291, referer: https://nagiosxi.doit.wisc.edu/nagiosxi ... =nagiosbpi
[Tue Jan 15 16:30:22.880815 2019] [:error] [pid 31606] [client 144.92.108.187:51564] PHP Notice: Undefined variable: HEALTH in /usr/local/nagiosxi/html/includes/components/nagiosbpi/nagiosbpi.inc.php on line 291, referer: https://nagiosxi.doit.wisc.edu/nagiosxi ... =nagiosbpi
[Tue Jan 15 16:30:22.880821 2019] [:error] [pid 31606] [client 144.92.108.187:51564] PHP Notice: Undefined variable: PROBLEMCOUNT in /usr/local/nagiosxi/html/includes/components/nagiosbpi/nagiosbpi.inc.php on line 291, referer: https://nagiosxi.doit.wisc.edu/nagiosxi ... =nagiosbpi
[Tue Jan 15 16:30:22.896148 2019] [:error] [pid 31606] [client 144.92.108.187:51564] PHP Notice: Undefined variable: HEALTH in /usr/local/nagiosxi/html/includes/components/nagiosbpi/nagiosbpi.inc.php on line 233, referer: https://nagiosxi.doit.wisc.edu/nagiosxi ... =nagiosbpi
[ead@winston bin]$

Re: BPI access

Posted: Thu Jan 17, 2019 4:31 pm
by scottwilkerson
I don't really see any real problems with the output as these are just notices.

I think we may need to take a look at the machine to help resolve the issue, can you open a ticket here
https://support.nagios.com/tickets/

and reference this forum thread?

Thanks

Re: BPI access

Posted: Thu Jan 17, 2019 4:54 pm
by Bitflogger
I opened a ticket.

I thought about using curl on the server:

curl -v http://*****.doit.wisc.edu/nagiosxi/includes/components/nagiosbpi/index.php?cmd=add&tab=add

* Trying 128.104.144.***...
* Connected to *****.doit.wisc.edu (128.104.144.***) port 80 (#0)
> GET /nagiosxi/includes/components/nagiosbpi/index.php?cmd=add HTTP/1.1
> User-Agent: curl/7.29.0
> Host: ****.doit.wisc.edu
> Accept: */*
>
< HTTP/1.1 302 Found
< Date: Thu, 17 Jan 2019 21:50:29 GMT
< Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16
< Location: https://****.doit.wisc.edu/nagiosxi/includes/components/nagiosbpi/index.php?cmd=add
< Content-Length: 271
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://****.doit.wisc.edu/nagiosxi/includes/components/nagiosbpi/index.php?cmd=add">here</a>.</p>
</body></html>