[hobbit] SUMMARY: BBWin load question (RESOLVED but is this a bug)
McGraw, Robert P
rmcgraw at purdue.edu
Wed Apr 23 15:05:59 CEST 2008
Thanks to John for pointing out that the bug was in my eyes.
Solution was to be sure that the DEFAULT section of the hobbit-client.cfg
has to be at the end of the file.
I have look at the documentation may time and I had never seen the lines
that DEFAULT has to be at the end.
Robert
> -----Original Message-----
> From: John Glowacki [mailto:jg2727 at gmail.com]
> Sent: Tuesday, April 22, 2008 12:03 PM
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] BBWin load question (RESOLVED but is this a bug)
>
>
> You should have DEFAULT section last. HOST entries should be defined
> before DEFAULT.
>
> There is a comment in the hobbit-clients.cfg.
> # The special DEFAULT section can modify the built-in defaults - this must
> # be placed at the end of the file.
>
>
> On Tue, Apr 22, 2008 at 10:04 AM, McGraw, Robert P <rmcgraw at purdue.edu>
> wrote:
> > I have finally resolved this problem. In my hobbit-client.cfg file I had
> a
> > DEFAULT entry which had a LOAD entry. The default entry was at the
> beginning
> > of the file and all my hosts below.
> >
> > It seems that bbwin.c was getting the LOAD values of the DEFAULT and
> not the
> > LOAD value for the host. Since the call to get the LOAD values is a
> standard
> > hobbit subroutine call I assume that this is not a bbwin.c problem but
> a
> > hobbit problem. Once I commented out the entries in the DEFAULT things
> > started working fine.
> >
> > So either there is a bug in how hobbit scans hobbit-client.cfg or the
> > DEFAULT is not working as I would have thought.
> >
> > QUESTIONS: How does hobbit scan the hobbit-client.cfg file and how does
> it
> > handle entries in the DEFAULT group.
> >
> >
> > To resolve I went to bbwin.c and added the following lines so that I
> could
> > print the load, loadyellow and loadread values to see the values they
> were
> > being used.
> >
> > sprintf(msgline, "load: %f, loadyellow: %f, loadred: %f\n", load1,
> > loadyellow, loadred);
> > addtobuffer(cpumsg, msgline);
> >
> >
> > I find having the load, loadyellow and loadred values printed on the
> web
> > page is kind of nice since these values can change with different hosts
> it
> > is nice to see the values that is causing the alarm.
> >
> >
> >
> > Robert
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: McGraw, Robert P [mailto:rmcgraw at purdue.edu]
> > > Sent: Tuesday, April 15, 2008 10:25 AM
> > > To: hobbit at hswn.dk
> > > Subject: RE: [hobbit] BBWin load question
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Etienne Grignon [mailto:etienne.grignon at gmail.com]
> > > > Sent: Tuesday, April 15, 2008 8:07 AM
> > > > To: hobbit at hswn.dk
> > > > Subject: Re: [hobbit] BBWin load question
> > > >
> > > >
> > > > Hello Robert,
> > > >
> > > > 2008/4/10, McGraw, Robert P <rmcgraw at purdue.edu>:
> > > > >
> > > > > Running BBWin on Microsoft Windows Server 2003, Standard Edition
> > > > Service
> > > > > Pack 2 (build 3790)
> > > > >
> > > > > Running Hobbit 4.2.0 on the server
> > > > >
> > > > > BBWin is running in central mode
> > > > >
> > > > > The following is from the cpu bbdisplay
> > > > >
> > > > > Thu Apr 10 15:22:48 2008 up: 0 days, 0 users, 58 procs, load=6%
> > > > > yellow Load is HIGH
> > > > > CPU states:
> > > > > total 06%
> > > > > cpu00 5.7%
> > > > > cpu01 4.3%
> > > > > cpu02 4.9%
> > > > > cpu03 6.0%
> > > > >
> > > > > This is my hobbit-client.cfg
> > > > >
> > > > > HOST=mailrelay.math.purdue.edu
> > > > > UP 30m
> > > > > LOAD 40 70
> > > > > DISK * 90 95
> > > > > PROC AGDigestSvc.exe 1 1
> > > > > PROC AgDomSvc.exe 1 1
> > > > >
> > > > > Can someone tell me what I am getting the yellow condition for
> the
> > > > LOAD? I
> > > > > thought the LOAD values were in percentages
> > > > >
> > > >
> > > > Sorry for the delay. Are you sure HOST=mailrelay.math.purdue.edu
> > > > really match your host ? Could you check in the procs column if the
> > > > specified procs rules are applied ?
> > >
> > > I have about 15 rules and they are working like a champ.
> > >
> > > Tue Apr 15 10:16:17 2008 - Processes OK
> > >
> > > green AGDigestSvc.exe (found 1, req. between 1 and 1)
> > > green AgDomSvc.exe (found 1, req. between 1 and 1)
> > > green AGFiltSvc.exe (found 1, req. between 1 and 1)
> > > green AgGreySvc.exe (found 1, req. between 1 and 1)
> > > green AgIPLogSvc.exe (found 1, req. between 1 and 1)
> > > green AgLogSvc.exe (found 1, req. between 1 and 1)
> > > green AGRptSvc.exe (found 1, req. between 1 and 1)
> > > green AGSMTPSvc.exe (found 1, req. between 1 and 1)
> > > green AGSPOO~1.EXE (found 1, req. between 1 and 1)
> > > green AGSvcMon.exe (found 1, req. between 1 and 1)
> > > green AGSysChk.exe (found 1, req. between 1 and 1)
> > > green AGUpSvc.exe (found 1, req. between 1 and 1)
> > > green DkService.exe (found 1, req. between 1 and 1)
> > > green D4.exe (found 2, req. between 1 and 2)
> > > green AGSMTPSvc.exe (found 1, req. between 1 and 1)
> > >
> > > >
> > > > Could you tell me what bbwin patch did you apply on your hobbit 4.2
> > > > sources ? I mean, was it before or after January 31th ?
> > >
> > > I just installed BBWin within the last couple weeks and followed the
> > > instruction from your web page.
> > >
> > > Tue Apr 15 10:16:17 2008 up: 4 days, 0 users, 57 procs, load=28%
> > > red Load is CRITICAL
> > > CPU states:
> > > total 28%
> > > cpu00 8.0%
> > > cpu01 13.5%
> > > cpu02 17.0%
> > > cpu03 70.6%
> > >
> > > >
> > > > Thanks,
> > > >
> > > > --
> > > > Etienne GRIGNON
> > > >
> > > > To unsubscribe from the hobbit list, send an e-mail to
> > > > hobbit-unsubscribe at hswn.dk
> > > >
> > >
> > > Thanks very much for your help. Let me know and I will be glad to do
> any
> > > sniffing that you suggest.
> > >
> > > Robert
> > >
> > >
> > > FYI
> > >
> > > The client is
> > >
> > > OS: Microsoft Windows Server 2003, Standard Edition Service Pack 2
> > > (build 3790)
> > >
> > > And the server is
> > >
> > > OS: SunOS zorn.math.purdue.edu 5.10 Generic_120011-14 sun4u sparc
> > > SUNW,Sun-Fire-280R
> > >
> >
> >
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3105 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080423/036c1154/attachment.bin>
More information about the Xymon
mailing list