[hobbit] FILE monitor and mtime<600 troubleshooting

Denver Osborn denver at fni-stl.com
Tue Jul 22 00:09:54 CEST 2008


>>
>> 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.



More information about the Xymon mailing list