I do something similar to what your asking to check one of our DHCP servers to see about "low dhcp pools" and update Xymon.
I wanted to: Run swatch on the dhcp server and watch for messages in the log that indicate "low dhcp pool", then execute a script that updates xymon. This would be ideal and real time, but...
Because of issues, I did: Periodically ssh to the dhcp server (from my xymon server), grab logs from the last "x" minutes, grep out dhcp pool info, then update xymon based on what I found.
Ken Connell Intermediate Network Engineer Computer & Communication Services Ryerson University 350 Victoria St RM AB50 Toronto, Ont M5B 2K3 416-979-5000 x6709
-----Original Message----- From: Neil Simmonds <Neil.Simmonds at express-gifts.co.uk> Sender: xymon-bounces at xymon.com Date: Thu, 22 Mar 2012 10:41:09 To: <xymon at xymon.com> Subject: [Xymon] Tricky one for log file monitoring
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon