Critical Systems view loading problem
I'm running Hobbit 4.2.0 with the allinone patch on NetBSD 3.x. I've started making use of the critical systems setup at work, but after encouraging all my co-workers to start using it, I've run into a problem.
I'm getting an "Internal Server Error" and the error log shows "Premature end of script headers: hobbit-nkview.sh". My problem seems to be related to a test being yellow right now, and right now being outside of the parameters of when the machine/test combo is critical. If I change the critical time for the event from "|W:0800:1700|" to "||", the critical systems page comes up fine. If I put the time constraints back, the page fails to come up again. It started failing after 1700, although I didn't notice it for about 15 minutes. Is anyone else seeing this problem?
-Tracy
On Thu, Sep 06, 2007 at 09:30:58PM -0500, Tracy Di Marco White wrote:
I'm getting an "Internal Server Error" and the error log shows "Premature end of script headers: hobbit-nkview.sh". My problem seems to be related to a test being yellow right now, and right now being outside of the parameters of when the machine/test combo is critical. If I change the critical time for the event from "|W:0800:1700|" to "||", the critical systems page comes up fine. If I put the time constraints back, the page fails to come up again. It started failing after 1700, although I didn't notice it for about 15 minutes. Is anyone else seeing this problem?
Interesting, it does sound like a bug. Could you send me that line from the hobbit-nkview.cfg file ?
Thanks, Henrik
Not to be another "me too" post, but... I've seen a similar "Internal Server Error" issue with the critical systems page myself. I haven't done a test like Tracy, though. The weird thing is, the error is only intermittent, and sometimes if I just keep reloading the page, it eventually comes up. More testing on my end will be required to see if it's from an individual host status.
On 9/7/07, Henrik Stoerner <henrik at hswn.dk> wrote:
On Thu, Sep 06, 2007 at 09:30:58PM -0500, Tracy Di Marco White wrote:
I'm getting an "Internal Server Error" and the error log shows "Premature end of script headers: hobbit-nkview.sh". My problem seems to be related to a test being yellow right now, and right now being outside of the parameters of when the machine/test combo is critical. If I change the critical time for the event from "|W:0800:1700|" to "||", the critical systems page comes up fine. If I put the time constraints back, the page fails to come up again. It started failing after 1700, although I didn't notice it for about 15 minutes. Is anyone else seeing this problem?
Interesting, it does sound like a bug. Could you send me that line from the hobbit-nkview.cfg file ?
Thanks, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On 9/7/07, Henrik Stoerner <henrik at hswn.dk> wrote:
On Thu, Sep 06, 2007 at 09:30:58PM -0500, Tracy Di Marco White wrote:
I'm getting an "Internal Server Error" and the error log shows "Premature end of script headers: hobbit-nkview.sh". My problem seems to be related to a test being yellow right now, and right now being outside of the parameters of when the machine/test combo is critical. If I change the critical time for the event from "|W:0800:1700|" to "||", the critical systems page comes up fine. If I put the time constraints back, the page fails to come up again. It started failing after 1700, although I didn't notice it for about 15 minutes. Is anyone else seeing this problem?
Interesting, it does sound like a bug. Could you send me that line from the hobbit-nkview.cfg file ?
So I worked with a co-worker to figure out where the problem is. In get_nkconfig() in ./lib/loadnkconf.c
/* Go to the next */
handle = rbtNext(rbconf, handle);
if (handle != rbtEnd(rbconf)) {
rbtKeyValue(rbconf, handle, &k1, &k2);
if (strncmp(realkey, ((nkconf_t *)k2)->key,...
here k2 is treated as a pointer to a nkconf_t but it appears that it is really a 'char *'.
Is what he concluded from our poking with gdb. We haven't gotten any further in debugging, but hoped this would help to pin down the problem.
-Tracy
participants (3)
-
gendalia@gmail.com
-
gumby3203@gmail.com
-
henrik@hswn.dk