| Cheshire Cat Computing http://steveshipway.org/forum/ |
|
| Nagios 1.x Log --> Mysql Database http://steveshipway.org/forum/viewtopic.php?f=20&t=1011 |
Page 1 of 1 |
| Author: | stevesh [ Thu Nov 23, 2006 10:55 am ] |
| Post subject: | |
The loadlogs script is supposed to be run on an archived log file. As a consequence, it records the filenames on which it has run, to prevent you from loading the same logs twice. I suspect you have already run this on nagios.log, and so this filename is marked as 'done', and is therefore skipped. Unfortunately it did not occur to me to add a 'list the file's Ive already done' option to loadlogs, so you need to query the database directly to find this our. Running on nagios.log is a bad idea, because you risk loading the same log entries twice. If you have your log set to rotate daily, then run on the archive directory every night after the rotation - the archives already processed will be skipped, and the new archive(s) loaded. |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|