Xymon Mailing List Archive search

client data processed only every 5 minutes

4 messages in this thread

list Kumaresh P N · Wed, 30 Sep 2009 09:34:55 -0400 ·
Hi Guru's,

I am monitoring windows server using bbwin.

I can see the client data coming in every minute but hobbit server processes
it only every  5 minutes ?

is there a setting in hobbit server to change ?

************************************
Best Regards
Kumaresh
list Josh Luthman · Wed, 30 Sep 2009 09:50:33 -0400 ·
I believe this is hobbitlaunchm.cfg
quoted from Kumaresh P N

On 9/30/09, kumaresh P N <user-989069c334fd@xymon.invalid> wrote:
Hi Guru's,

I am monitoring windows server using bbwin.

I can see the client data coming in every minute but hobbit server processes
it only every  5 minutes ?

is there a setting in hobbit server to change ?

************************************
Best Regards
Kumaresh
-- 

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

"When you have eliminated the impossible, that which remains, however
improbable, must be the truth."
--- Sir Arthur Conan Doyle
list Ryan Novosielski · Wed, 30 Sep 2009 12:19:42 -0400 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I answered this identical question about a week or two ago. Check the
archives for more info.
quoted from Kumaresh P N

kumaresh P N wrote:
Hi Guru's,

I am monitoring windows server using bbwin.

I can see the client data coming in every minute but hobbit server
processes it only every  5 minutes ?

is there a setting in hobbit server to change ?

************************************
Best Regards
Kumaresh

- --
 ---- _  _ _  _ ___  _  _  _

 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/CST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrDhR4ACgkQmb+gadEcsb7IdgCgsDjJCWc+K56ehR/d9C32XVWW
0tYAmwTmcbNp3KeurvenbLXvE/EWbdsy
=MLr9
-----END PGP SIGNATURE-----
list Oliver Grube · Thu, 1 Oct 2009 12:35:37 +0200 ·
Hello,

I just want to share a issue we have seen the other day.

I recently configured logrotate to rotate the hobbit logs
in /var/log/hobbit
(I know, it's XYmon, but we still run 4.2)

These were the lines I used:
/var/log/hobbit/* {
    compress
    dateext
    maxage 60
    rotate 1
    missingok
    notifempty
    daily
    olddir /var/log/oldlog/hobbit
    create 640 root root
    sharedscripts
    postrotate
        /etc/init.d/hobbit restart
    endscript
}

After the logrotate happened - midnight - I received hundreds of hobbit
alerts - Ups - was the whole network down?
I logged in and could reach the hobbit server - network works...
But all (and only those) connection tests failed. Everything was red. A
ping however show results and the traceroute reached the systems as well.

The reason was simple.
The Logrotate has re-created the hobbit log files - with 640 root root  -
as in the config.
Hobbit however was not able to write into these files, as it runs as
hobbit:users...
My fault... Changing permission and of course the failure in logrotate,
restart hobbit and everything becomes green again.

I would have assumed, that hobbit simply decide not to start as it could
not write to the logs...
Or that the conn tests went clean due to this...
This causes some calls this morning for the other guys on the alerting
lists... ;-)


mit freundlichen Grüßen - Best regards
med vänlig hälsning - Met vriendelijke groeten
Sincères salutations

Oliver Grube
Campbell’s Germany GmbH 
Registergericht Luebeck • Reg. Nr. HRB 4082
Geschaeftsfuehrer: Joseph B. Folds III

Geschaeftssitz:		
Geniner Strasse 88 - 100
23560   Luebeck
Deutschland 

**********************************************************************
This e-mail and any files transmitted with it may contain 
confidential information and is intended solely for use by 
the individual to whom it is addressed.  If you received
this e-mail in error, please notify the sender, do not 
disclose its contents to others and delete it from your 
system.

**********************************************************************