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 <a href=”http://msdn.microsoft.com/en-us/library/6x627e5f(VS.80).aspx”>VB function Split </a> so if the logline was like:
<i>mmddyy , time , computername , ip address…</i>
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. <a href=”http://linux.about.com/library/cmd/blcmdln_split.htm”>you can use it in Linux</a>).
Don’t forget to visit my blog: <a href=”http://itknowledgeexchange.techtarget.com/it-support/”>If it has a plug, it’s IT stuff!!</a>
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 <a href=”http://shalb.com/en/spae/” ] remote server monitoring – SPAE </a>