[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] FILE monitor and mtime<600 troubleshooting
- To: "hobbit (at) hswn.dk" <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] FILE monitor and mtime<600 troubleshooting
- From: Denver Osborn <denver (at) fni-stl.com>
- Date: Mon, 21 Jul 2008 17:09:54 -0500
- Accept-language: en-US
- Acceptlanguage: en-US
- References: <475CF3DC3CE9F9418353F69A1C79D79102024CF59F (at) fmsmail1.fni-desktop.com> <58EF0861D3A1A04182720B3A5231C7C20303755C (at) usplm205.amer.corp.eds.com>,<475CF3DC3CE9F9418353F69A1C79D79102024CF734 (at) fmsmail1.fni-desktop.com>
- Thread-index: Acjo0uaWVODaaqicSD685XKo67U7LwABngrwAKbKV2AAAn5Sjg==
- Thread-topic: [hobbit] FILE monitor and mtime<600 troubleshooting
>>
>> I'm running Hobbit 4.2.0 with the allinone patch on hpux and can't get
>> the FILE monitor to work. I've added the required file: entry in the
>> client-local.cfg for the host, then put the FILE directive in the
>> hobbit-clients.cfg file. After adding the monitor, the BBDISPLAY picks
>> up the new file and shows it as 'green'. When testing the monitor by
>> changing the mtime of my file, hobbit doesn't alert on the change.
>>
>> Here's my hobbit-client.cfg entry:
>>
>> CLASS=classname
>> FILE /etc/sudoers yellow mtime<600
>>
>
>I was able to solve this one by changing "CLASS=" to "HOSTCLASS="
>in the hobbit-clients.cfg. Once I did that everything worked as expected.
>
>
Sorry, spoke too soon. I didn't wait long enough between hobbit-clients.cfg changes. HOSTCLASS= did nothing and isn't valid syntax. A change prior to HOSTCLASS= was HOST=hostname and that's what solved it. Not sure why, but I can't get it to pick up with the CLASS=classname entry.