[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.