hi the logging tools are not very specific in terms of pinpointing when dhcp client leases change etc.
I would like the router to be able to email a log item but the logging rules are like a sledgehammer, while
I only need a pencil so to speak.
Thus looking for a a short script that will meet the following basic requirements.
Most of you can do this in your sleep I presume.
I note that the data is often found in dhcp, info or interface, info
a. IF keyword "joe" is found in log settings dhcp,info
b. email that log entry to myemailaddress.com
To get to something like:
if keywords Joe OR harry are found in log settings dhcp,info OR interface,info
then email that logging entry to myemailaddress.com.