[hobbit] FILE monitor and mtime<600 troubleshooting

McGraw, Robert P rmcgraw at purdue.edu
Tue Jul 22 14:48:22 CEST 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3105 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080722/2011ee09/attachment.bin>


More information about the Xymon mailing list