File status information in client-data
I am running on a z/VM 5.1 system and trying to deliver our data to a hobbit server in a client-data format that hobbit will read & process without backend changes. This is a locally configured client.
I am working on the 'file', 'logfile' and 'messages' components of our system. I can get our system log and its status information to hobbit as well as file status information for other files. The unaltered, minimally configured hobbit server shows the msgs and files columns fine, IF there is good data. I am now trying to provide an error condition, where one of the monitored files does not exist. I found some syntax for this error condition by running logfetch on a SLES10 system with a special logfetch.cfg. When I mimic that same syntax in my z/VM client data file, Hobbit still shows the file as green but with 'No Data'. I would like the file to be marked Yellow in the hobbit files display. Must there be a file configuration record in the hobbit server before it will check for the error condition?
Here is the piece from my client data file. [file:/VMSYSU/DFSMS./RMSMASTR.%TODAY] ERROR: No such file or directory [file:/DISKACNT/0191/ACCOUNT.$A111306] type:100000 (file) mode:640 (-rw-r-----) linkcount:1 owner:0 (root) group:3 (sys) size:6880 clock:1163443363 (2006/11/13-13:42:43) atime:1163442621 (2006/11/13-13:30:21) ctime:1163442621 (2006/11/13-13:30:21) mtime:1163442621 (2006/11/13-13:30:21) md5:79d5fe932a2784f2650e17a811fb4a17
/Thomas Kern /301-903-2211
On Mon, Nov 13, 2006 at 02:03:48PM -0500, Kern, Thomas wrote:
client data file, Hobbit still shows the file as green but with 'No Data'. I would like the file to be marked Yellow in the hobbit files display. Must there be a file configuration record in the hobbit server before it will check for the error condition?
Yes, you need a definition in the hobbit-clients.cfg file for the "files" column to change colour. Sending the file data in the client message doesn't do anything until you define the checks that are relevant for the file in hobbit-clients.cfg
Regards, Henrik
Henrik,
Just to clarify, is this still true for a locally administered client (even Linux)?
Henrik Stoerner wrote:
On Mon, Nov 13, 2006 at 02:03:48PM -0500, Kern, Thomas wrote:
client data file, Hobbit still shows the file as green but with 'No Data'. I would like the file to be marked Yellow in the hobbit files display. Must there be a file configuration record in the hobbit server before it will check for the error condition?
Yes, you need a definition in the hobbit-clients.cfg file for the "files" column to change colour. Sending the file data in the client message doesn't do anything until you define the checks that are relevant for the file in hobbit-clients.cfg
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com
Catch the WAVV! http://www.wavv.org WAVV 2007 - Green Bay, WI - May 18-22, 2007
On Mon, Nov 13, 2006 at 03:44:49PM -0600, Rich Smrcina wrote:
Henrik,
Just to clarify, is this still true for a locally administered client (even Linux)?
On a locally admin'ed client, you have the "hobbit-clients.cfg" file locally. You still need to put a FILE entry into hobbit-clients.cfg to tell Hobbit what rules should be applied to the file you're checking. (Should it exist? Or not? Have a certain size? Be owned by "root"?)
Regards, Henrik
participants (3)
-
henrik@hswn.dk
-
rsmrcina@wi.rr.com
-
Thomas.Kern@hq.doe.gov