At 12:43 PM 1/11/02 +0100, you wrote: > I had a look at dtquery but must >admit >that it is far beyond my current perl know-how to adapt it...
dtquery uses mon-generated downtime logs as its 'database'. It may not be what you want or need for your case however. The nice thing about it is that it gives you a query interface and doesn't require any extra work past enabling downtime logs and setting up dtquery initially. >Furthermore, I'm looking for a way to classify the failures reported by >fping: what you describe here is possible by modifying the fping.monitor. You could easily add a flag that calculated the # of hosts that it was passed, and only gave an error if a certain number, or percentage of those hosts, were marked as unreachable. This would be pretty simple perl. Definitely leverage the 'exit=' flag for sending out different alerts. andrew
