Page 1 of 2

Graph explorer and (yuck) IE

Posted: Tue Jun 04, 2013 11:09 am
by benhank
Hey guys I am running graph explorer in ie 8 on
Nagios XI 2012R2.0
and
Nagios XI 2012R1.6
With both installs Graph explorer hangs and hangs IE.
When I looked and ver of graph exp on both installs
i get :
Capture.JPG

Re: Graph explorer and (yuck) IE

Posted: Tue Jun 04, 2013 2:03 pm
by sreinhardt
Are you using compatability mode with IE? That is an interesting possible bug with version checking. I will have to speak with our devs about that. Is it possible to see if another browser shows the same version issue?

Re: Graph explorer and (yuck) IE

Posted: Tue Jun 04, 2013 2:32 pm
by benhank
it's working perfectly with firefox(of course =D ), but IE 8 running ie8 comparability mode, and ie9 running comp mode 9 same issue. Ie hangs and freezes. I think it may be a java thing. The reports under reports/alert visualizations, all hang.

Code: Select all

Alert Heatmap
Alert Cloud
Alert Stream
Alert Timeline
Network Replay

Re: Graph explorer and (yuck) IE

Posted: Tue Jun 04, 2013 3:29 pm
by abrist
Could you post an error log in code wraps? Do a running tail on the httpd error log and then try to access one of these broken pages in IE. Post the results of the tail:

Code: Select all

tail -f /var/log/httpd/error_log

Re: Graph explorer and (yuck) IE

Posted: Tue Jun 04, 2013 3:56 pm
by benhank

Code: Select all

[Tue Jun 04 16:39:49 2013] [error] [client 172.26.68.200] PHP Notice:  Undefined variable: enddate in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 135, referer: http://172.22.3.17/nagiosxi/includes/components/graphexplorer/

Re: Graph explorer and (yuck) IE

Posted: Wed Jun 05, 2013 9:11 am
by benhank
Update: Yesterday I had an issue that caused me to manually restart the postgresql service. When I did the graphs worked perfectly, but then over the spam of 15 mins or so the issue resurfaced.

Re: Graph explorer and (yuck) IE

Posted: Wed Jun 05, 2013 10:24 am
by slansing
Breaking things again Benhank? =).. we all do. Lets take a look at some of your logs, please post the output of the following:

Code: Select all

tail -20 /usr/local/nagios/var/perfdata.log

tail -20 /usr/local/nagios/var/npcd.log

Re: Graph explorer and (yuck) IE

Posted: Wed Jun 05, 2013 10:44 am
by benhank
I am gonna change my user name to : "Ole Salty" casuse for me, when it rains it pours =D

Code: Select all


[root@LkennagiosP01 ~]# tail -20 /usr/local/nagios/var/perfdata.log
2013-06-05 11:26:09 [13142] [0] *** Timeout while processing Host: "CON-330-F1-2960-S23" Service: "If_Vlan170"
2013-06-05 11:26:09 [13142] [0] *** process_perfdata.pl terminated on signal ALRM
2013-06-05 11:29:41 [23615] [0] *** TIMEOUT: Timeout after 5 secs. ***
2013-06-05 11:29:41 [23615] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2013-06-05 11:29:41 [23615] [0] *** TIMEOUT: Please check your npcd.cfg
2013-06-05 11:29:41 [23615] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1370446155.perfdata.service-PID-23615 deleted
2013-06-05 11:29:41 [23615] [0] *** Timeout while processing Host: "NEE-IT-S33" Service: "If_StackPort1"
2013-06-05 11:29:41 [23615] [0] *** process_perfdata.pl terminated on signal ALRM
2013-06-05 11:32:47 [1394] [0] *** TIMEOUT: Timeout after 5 secs. ***
2013-06-05 11:32:47 [1394] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2013-06-05 11:32:47 [1394] [0] *** TIMEOUT: Please check your npcd.cfg
2013-06-05 11:32:47 [1394] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1370446350.perfdata.service-PID-1394 deleted
2013-06-05 11:32:47 [1394] [0] *** Timeout while processing Host: "NEE-IT-S34" Service: "Interface_Table_Status"
2013-06-05 11:32:47 [1394] [0] *** process_perfdata.pl terminated on signal ALRM
2013-06-05 11:34:08 [5731] [0] *** TIMEOUT: Timeout after 5 secs. ***
2013-06-05 11:34:08 [5731] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2013-06-05 11:34:08 [5731] [0] *** TIMEOUT: Please check your npcd.cfg
2013-06-05 11:34:08 [5731] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1370446440.perfdata.service-PID-5731 deleted
2013-06-05 11:34:08 [5731] [0] *** Timeout while processing Host: "BTR_F2_2960-S25" Service: "If_Vlan60"
2013-06-05 11:34:08 [5731] [0] *** process_perfdata.pl terminated on signal ALRM
[root@LkennagiosP01 ~]#
[root@LkennagiosP01 ~]# tail -20 /usr/local/nagios/var/npcd.log
[06-05-2013 11:01:02] NPCD: ERROR: Executed command exits with return code '7'
[06-05-2013 11:01:02] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1370444445.perfdata.service'
[06-05-2013 11:04:40] NPCD: ERROR: Executed command exits with return code '7'
[06-05-2013 11:04:40] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1370444655.perfdata.service'
[06-05-2013 11:07:42] NPCD: ERROR: Executed command exits with return code '7'
[06-05-2013 11:07:42] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1370444850.perfdata.service'
[06-05-2013 11:09:37] NPCD: ERROR: Executed command exits with return code '7'
[06-05-2013 11:09:37] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1370444955.perfdata.service'
[06-05-2013 11:16:08] NPCD: ERROR: Executed command exits with return code '7'
[06-05-2013 11:16:08] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1370445345.perfdata.service'
[06-05-2013 11:26:09] NPCD: ERROR: Executed command exits with return code '7'
[06-05-2013 11:26:09] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1370445945.perfdata.service'
[06-05-2013 11:29:41] NPCD: ERROR: Executed command exits with return code '7'
[06-05-2013 11:29:41] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1370446155.perfdata.service'
[06-05-2013 11:32:47] NPCD: ERROR: Executed command exits with return code '7'
[06-05-2013 11:32:47] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1370446350.perfdata.service'
[06-05-2013 11:34:08] NPCD: ERROR: Executed command exits with return code '7'
[06-05-2013 11:34:08] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1370446440.perfdata.service'
[06-05-2013 11:42:44] NPCD: ERROR: Executed command exits with return code '7'
[06-05-2013 11:42:44] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1370446950.perfdata.service'


Re: Graph explorer and (yuck) IE

Posted: Wed Jun 05, 2013 11:52 am
by abrist
Looks like you need to increase the timeout of your perfdata processing:
In the file: /usr/local/nagios/etc/pnp/process_perfdata.cfg
Change:

Code: Select all

TIMEOUT = 5
to:

Code: Select all

TIMEOUT = 15
Restart npcd:

Code: Select all

service npcd restart
You may notice a substantial increase in load and IO while the XI server tries to process all of the previous checkresults.

Re: Graph explorer and (yuck) IE

Posted: Wed Jun 05, 2013 12:01 pm
by benhank
ok team. i am going in HOT!. If I don't come back, tell my wife and kids I love 'em... and I kept forgetting to apply for life insurance, so they are screwed.