hobbit log dir
list Jon Bjorn Njalsson
I just migrated from bb to hobbit server and I was wondering where is hobbit´s incoming log directory (bb had $BBVAR/logs). regards Jon Bjorn
list Michael Lowery
/var/logs/hobbit is where mine are kept.
▸
-----Original Message-----
From: Jon Bjorn Njalsson [mailto:user-5c8e7718045c@xymon.invalid]
Sent: Thursday, April 21, 2005 9:35 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] hobbit log dir
I just migrated from bb to hobbit server and I was wondering where is hobbit´s incoming log directory (bb had $BBVAR/logs).
regards
Jon Bjorn
list Larry Barber
Hobbit doesn't save these by default, you need to enable the appropriate channel in hobbitlaunch.cfg. Thanks, Larry Barber
▸
On Thu, 2005-04-21 at 09:35 -0500, user-5c8e7718045c@xymon.invalid wrote:I just migrated from bb to hobbit server and I was wondering where is hobbit´s incoming log directory (bb had $BBVAR/logs). regards Jon Bjorn
list Jon Bjorn Njalsson
Is there no directory where bbclient information is gaterd. In bigbrother I hade exhangeservers sending in information about private and public database sizes, the log file would contain f ex green 20.4.2005 16:29:02 Exchange Database size check (GB): &green PrivateDatabase: 12.99 &green PublicDatabase : 3.22 and I was able to graph that with larrd. I am able to let hobbit display this graph but hobbit isn´t getting the feed from the client.
▸
----- Original Message -----
From: Lowery, Michael
To: user-ae9b8668bcde@xymon.invalid
Sent: Thursday, April 21, 2005 2:40 PM
Subject: RE: [hobbit] hobbit log dir
/var/logs/hobbit is where mine are kept.
-----Original Message-----
From: Jon Bjorn Njalsson [mailto:user-5c8e7718045c@xymon.invalid]
Sent: Thursday, April 21, 2005 9:35 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] hobbit log dir
I just migrated from bb to hobbit server and I was wondering where is hobbit´s incoming log directory (bb had $BBVAR/logs).
regards
Jon Bjorn
list Ian Marsh
You'll need to write an extension script to process the information as it's received by Hobbit and output the appropriate data to the lard subsystem. There are instructions on the 'hobbitd_larrd' manpage in the 'Custom RRD Data' section. Note that there is an error on each of the grep/awk lines in the example script; each line is missing a back tick to close the command. I ended up writing my own version of the script in Perl which will be easier for me/someone to maintain. It took a couple of hours for me to get this working this morning but having a graph for the Exim (MTA) queue size is already proving very useful! Thanks, Ian Marsh
▸
From: Jon Bjorn Njalsson [mailto:user-5c8e7718045c@xymon.invalid] Sent: 21 April 2005 15:53
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit log dir
Is there no directory where bbclient information is gaterd. In bigbrother I hade exhangeservers sending in information about
private and public database sizes, the log file would contain f ex
green 20.4.2005 16:29:02
Exchange Database size check (GB):
&green PrivateDatabase: 12.99
&green PublicDatabase : 3.22
and I was able to graph that with larrd. I am able to let hobbit display this graph but hobbit isn´t getting the feed from the client.
----- Original Message -----
From: Lowery, Michael <mailto:user-89d72f0c2e3d@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Thursday, April 21, 2005 2:40 PM
Subject: RE: [hobbit] hobbit log dir
/var/logs/hobbit is where mine are kept.
-----Original Message-----
From: Jon Bjorn Njalsson [mailto:user-5c8e7718045c@xymon.invalid] Sent: Thursday, April 21, 2005 9:35 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] hobbit log dir
I just migrated from bb to hobbit server and I was wondering where is hobbit´s incoming log directory (bb had $BBVAR/logs).
regards
Jon Bjorn
list Henrik Størner
In <015501c54681$db881020$user-bec392c0a84b@xymon.invalid> "Jon Bjorn Njalsson" <user-5c8e7718045c@xymon.invalid> writes:
Is there no directory where bbclient information is gaterd.
Welcome to Hobbit. One thing Hobbit does very differently is that all of the status-reports are kept only in memory - writing them to disk is just too slow. If you really must, you can enable the [bbstatus] task in hobbitlaunch.cfg to get the file-based status-logs, but I really cannot recommend doing that - and it is not necessary to do what you want.
▸
In bigbrother I hade exhangeservers sending in information about private and public database sizes, the log file would contain f ex
green 20.4.2005 16:29:02
Exchange Database size check (GB): &green PrivateDatabase: 12.99 &green PublicDatabase : 3.22
and I was able to graph that with larrd. I am able to let hobbit display this graph but hobbit isn't getting the feed from the client.
Have a look at the hobbitd_larrd man-page, the "Custom RRD data"
section. It should be really simple to write a Hobbit RRD extension to
pick out those two data-items and have them tracked in an RRD file.
If you cannot work it out, write again and I'll give you a hand with
it.
BTW, the script you're using - is that something you wrote yourself or
picked up from Deadcat ? I do try to make Hobbit work "out of the box"
with some of the popular extensions from Deadcat, so if this is
something that would be useful to others then I can add the graphing
of this status-message into Hobbit.
Regards,
Henrik
list Henrik Størner
▸
In <user-9139bec9ec88@xymon.invalid> "Marsh, Ian" <user-ba159ca7ed42@xymon.invalid> writes:
There are instructions on the 'hobbitd_larrd' manpage in the 'Custom RRD Data' section. Note that there is an error on each of the grep/awk lines in the example script; each line is missing a back tick to close the command.
Hey, you're right! Fixed. Henrik