[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>
- Subject: RE: [hobbit] FILE monitor and mtime<600 troubleshooting
- From: "McGraw, Robert P" <rmcgraw (at) purdue.edu>
- Date: Tue, 22 Jul 2008 08:48:22 -0400
- References: <475CF3DC3CE9F9418353F69A1C79D79102024CF59F (at) fmsmail1.fni-desktop.com> <58EF0861D3A1A04182720B3A5231C7C20303755C (at) usplm205.amer.corp.eds.com>,<475CF3DC3CE9F9418353F69A1C79D79102024CF734 (at) fmsmail1.fni-desktop.com> <475CF3DC3CE9F9418353F69A1C79D79102025779A4 (at) fmsmail1.fni-desktop.com>
- Thread-index: Acjo0uaWVODaaqicSD685XKo67U7LwABngrwAKbKV2AAAn5SjgAem8KA
- Thread-topic: [hobbit] FILE monitor and mtime<600 troubleshooting
Sorry if this is obvious but have you tried this using just the
HOST=hostname to make sure it is working?
Robert
> -----Original Message-----
> From: Denver Osborn [mailto:denver (at) fni-stl.com]
> Sent: Monday, July 21, 2008 6:10 PM
> To: hobbit (at) hswn.dk
> Subject: RE: [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.
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>