Page 1 of 1

Ping on log event?

Posted: Fri Jun 08, 2012 9:32 am
by bigguns
Hi there,
I'm trying to find a cause to a problem, which is intermitting.
I was wondering is there anyway for a ping to occur on the event of an phase/event type within the system log.

I.e. I'm trying to record a ping as and when the word 'warning' or 'radius' appears in the logs and then save the results of a 100 packets to a text file.

thanks

Re: Ping on log event?

Posted: Fri Jun 08, 2012 2:05 pm
by Devil
you could create a script to check for new log entries every minutes or so. and issue the ping command if it matches any 'warning' or 'radius' log.