[hobbit] Running logfetch 'by hand'

Andrew Jackson Andrew.Jackson at ordnancesurvey.co.uk
Mon Sep 11 13:38:16 CEST 2006


Hi,

 

Just thought I'd raise this up again. What I am trying to do is monitor
a few machines outside our firewall. I am firing off
hobbitclient-<OS>.sh using ssh from the hobbit server then submitting
the output from the hobbit server like the suggestion in the discussion
on agentless clients. Unlike the agentless client example I have
installed the hobbit client on the target machine and fire off the
hobbitclient-<OS>.sh by using a command associated with the ssh key
being used for access. In the agentless client discussion the output
from the data submission which is used as the configuration file for
logfetch is discarded. I can see it being generated in hobbitclient.sh
when the client submits it's own data. I know I would have to get this
file back to the client if I wanted log monitoring on my systems outside
the firewall. What I can't find is where the logfetch status file
(second argument for logfetch in hobbitclient-<OS>.sh) comes from or is
updated. I'm probably being stupid but I have looked through the scripts
fairly carefully and can't find any reference to the logfetch status
file except the environment variable giving it's path. Is there anyone
who can point me in the right direction for the logfetch status file or
should I resign myself to not having log monitoring on machines outside
my firewall. 

 

Thanks again

 

Andy J.

 

________________________________

From: Andrew Jackson [mailto:Andrew.Jackson at ordnancesurvey.co.uk] 
Sent: 08 September 2006 11:29
To: hobbit at hswn.dk
Subject: [hobbit] Running logfetch 'by hand'

 

Hi,

 

First, thanks for hobbit. It is making my life much easier.

 

I'm trying to run logfetch by hand as it were. It takes two files
logfetch.<machine>.cfg and logfetch.<machine>.status as arguments. I can
see that logfetch.<machine>.cfg is generated when you submit data to the
hobbit server but I can't find out where the logfetch.<machine>.status
file is generated. Any help gratefully received!

 

Thank

 

Andy J.

.


This email is only intended for the person to whom it is addressed and
may contain confidential information. If you have received this email in
error, please notify the sender and delete this email which must not be
copied, distributed or disclosed to any other person.

Unless stated otherwise, the contents of this email are personal to the
writer and do not represent the official view of Ordnance Survey. Nor
can any contract be formed on Ordnance Survey's behalf via email. We
reserve the right to monitor emails and attachments without prior
notice.

Thank you for your cooperation.

Ordnance Survey
Romsey Road
Southampton SO16 4GU
Tel: 023 8079 2000
http://www.ordnancesurvey.co.uk

.


This email is only intended for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email which must not be copied, distributed or disclosed to any other person.

Unless stated otherwise, the contents of this email are personal to the writer and do not represent the official view of Ordnance Survey. Nor can any contract be formed on Ordnance Survey's behalf via email. We reserve the right to monitor emails and attachments without prior notice.

Thank you for your cooperation.

Ordnance Survey
Romsey Road
Southampton SO16 4GU
Tel: 023 8079 2000
http://www.ordnancesurvey.co.uk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060911/47c8a2d5/attachment.html>


More information about the Xymon mailing list