[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help with hobbitd_channel and hobbitd_filestore
- To: <hobbit (at) hswn.dk>
- Subject: Help with hobbitd_channel and hobbitd_filestore
- From: "Taylor Lewick" <tlewick (at) tradebotsystems.com>
- Date: Fri, 30 Oct 2009 08:35:08 -0500
- Thread-index: AcpZZcwDM/biNHcrStakfP4MX6SPUg==
- Thread-topic: Help with hobbitd_channel and hobbitd_filestore
Hey all.
I want to process the CPU pages for our Windows hosts to see if a given
process exceeds a certain memory size.
I wrote a perl script to do this against the files in
/home/hobbit/data/hostdata
But that directory only contains files that are a day old, or state
change files, and I'd like my program to work against data that is
closer to real time, i.e. a few minutes old is fine.
So I tried running from the command line as user hobbit:
./hobbitd_channel --channel=data
--log=/home/hobbit/data/logs/clientcpu.log hobbitd_filestore --data
--only=cpu
And in the clientcpu.log I just see entry after entry of:
009-10-30 08:26:47 Our child has failed and will not talk to us: Channel
data, PID 28876, cause Bad file descriptor
Anyone have any idea what I'm doing wrong, or how I go about using
hobbit_channel and hobbit_filestore correctly?
FYI, running ./bbcmd hobbitd_channel --channel=client cat >
/home/hobbit/data/logs/clientlogs.log
Works, but it just runs in a continuous loop and is giving me all status
messages for all clients, so its really not that helpful...
Thanks,
Taylor