I'm newly assigned to extract raw data from a log file of netcool
Just wondering if there is an script available for this kind of data
flow
Need: to extract from a log file which changes every +/-15 minutes,
oldest are deleted (handy..) and pending how many debug information
received
Requirement is that we create a separate file for each UNREACHABLE
status which need to cheek against time/date stamp with delay
difference of 3 minutes
the file should be saved in let's say Customer_ipaddres& data/time
stamp preferable this should be running as an cron daemon as this
should run 365d/24hrs/7d
Note: Im an humble user [NOT AN ADMIN]with rudimentary unix knowledge
unix used SunOS shakira 5.8, n
location dynamic file/opt/netcool/omnibus/log
Thu May 6 10:04:40 2004 Debug: [Event Processor] alias:
127.0.0.0
Thu May 6 10:04:40 2004 Debug: [Event Processor] ip_address:
127.0.0.0
Thu May 6 10:04:40 2004 Debug: [Event Processor] status:
unreachable
Thu May 6 10:07:40 2004 Debug: [Event Processor] alias:
127.0.0.0
Thu May 6 10:07:40 2004 Debug: [Event Processor] ip_address:
127.0.0.0
Thu May 6 10:07:40 2004 Debug: [Event Processor] status:
unreachable
is this happens then there should be an file created
for each created file needs at least the minimum contained
location Hawai
hostname nono_netcoolcrap
loopback address 127.0.0.0
router X was n't reacheable
time first : Thu May 6 10:04:40 2004
time last : Thu May 6 10:07:40 2004
PE Router name
PE router ip adress
Contact details Customer
TIA
Balboa