https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/nagios&feed=atom&action=historyMain Page/IT/nagios - Revision history2024-03-29T01:20:53ZRevision history for this page on the wikiMediaWiki 1.33.4https://www.lcnw.co.uk/wiki/index.php?title=Main_Page/IT/nagios&diff=46&oldid=prevClewis: Created page with "=A one liner to split up a nagios log= <pre>cat nagios.log | while read line; do unixts=`echo $line | cut -b 2-11`; logname="nagios-`date -d \@$unixts +%m-%d-%Y`-00.log"; e..."2016-05-25T10:44:46Z<p>Created page with "=A one liner to split up a nagios log= <pre>cat nagios.log | while read line; do unixts=`echo $line | cut -b 2-11`; logname="nagios-`date -d \@$unixts +%m-%d-%Y`-00.log"; e..."</p>
<p><b>New page</b></p><div>=A one liner to split up a nagios log=<br />
<pre>cat nagios.log | while read line; do unixts=`echo $line | cut -b 2-11`; logname="nagios-`date -d \@$unixts +%m-%d-%Y`-00.log"; echo $line >> $logname; done</pre></div>Clewis