Hello Ashish B. Kulkarni,
I did something like this in the past for the old Symantec Antivirus Corporate Edition console where I wrote some scripts that imported the logs into a Microsoft Access db where was easier to have data.
My technique was by parsing the log file line by line and using the VB function Split so if the logline was like:
mmddyy , time , computername , ip address…
with the Split(line,”,”) I had all records divided into parts that were later imported in the DB and then read for building html pages with graphs, counts and so on.
I hope this gives you a starting point or at least an idea on how to do it (E.g. you can use it in Linux).
Don’t forget to visit my blog: If it has a plug, it’s IT stuff!!
There are couple of tools availalable for generating reports using Nagios log files.
I have implemented “PNP4Nagios” in our environment; it gives performance data reports for all hosts/ services (Bandwidth utilization, CPU load, disk usage….etc).
Or you could use remote server monitoring – SPAE