Page 1 of 1

question about logging

Posted: Thu Oct 02, 2014 9:53 am
by s.ferretti
Hi. i've a question about logging. i need to put a cronjob every morning to scan the log file, search for warning and send a SMS notification... ok not hard but i've a problem, i need to scan the log for some specific hosts and not other. it's possible disable log for specific hosts and services?

thank you

Re: question about logging

Posted: Thu Oct 02, 2014 10:04 am
by tmcdonald
You could just grep the specific names in your log searching scripts. I don't believe it is possible to disable logging on a case-by-case basis.