SunQuest
           Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old July 7th, 2003, 06:51 PM
danielnwa danielnwa is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 23 danielnwa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 5 sec
Reputation Power: 0
MRTG and Database

Does anyone knows how to pipe MRTG log data into a database using a Window system? Thanks in advance.

Daniel

Reply With Quote
  #2  
Old July 7th, 2003, 07:43 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
What format can you export your MRTG data in?
__________________
El éxito consiste en una serie de pequeñas victorias día a día

MySQL, MS SQL, MS ACCESS, Oracle Database Manager - http://victorpendleton.net/products/psdviewer.html

Reply With Quote
  #3  
Old July 7th, 2003, 11:45 PM
danielnwa danielnwa is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 23 danielnwa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 5 sec
Reputation Power: 0
As for now, any format will do

Daniel

Reply With Quote
  #4  
Old July 7th, 2003, 11:53 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
Then you can use the mysqlimport utility or Load data infile syntax as well. You will need to create your table structure in MySQL before loading the data.

Reply With Quote
  #5  
Old July 8th, 2003, 12:24 AM
danielnwa danielnwa is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 23 danielnwa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 5 sec
Reputation Power: 0
Thanks Victor,
I have had experience with mysqlimport. What I trying to get is with MRTG, the log files are must some numbers written in columns. I am not sure how I will be able to generate these numbers into graphs that appears as it is right now on my webserver. I just don't want to store all the data in a database that I can only spit numbers out instead of the graphs I need. If you have had experiences with doing this, I would really appreciate your help. Thanks again.

Daniel

Reply With Quote
  #6  
Old July 8th, 2003, 12:33 AM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
I do not use MySQL to store my MRTG data. I use a combination of off the shelf products to analyze and graph this data. What is the purpose of migrating the MRTG data? MySQL does support curves and GIS.
http://www.mysql.com/doc/en/GIS_class_curve.html
...
Are you looking for a front end that will produce the graphs for you?

Reply With Quote
  #7  
Old July 8th, 2003, 01:01 AM
danielnwa danielnwa is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 23 danielnwa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 5 sec
Reputation Power: 0
Thanks Victor,
I am sorry for not being too clear about what I wanted to do. Here is what I am hoping to be able to accomplish.

Currently I am analyzing inErrors&outErrors and bandwith on a cisco switch. I created an index page for in&outErrors and another for bandwith. So at the moment, I am only able to either bandwith or errors for that switch, but NOT both at the same page. So, if I am able to pipe all these data into a database. That way I when I querry for a port on that switch I will be able to see bandwith, in and out errors for that port on a singe webpage. I am not sure if I can do this or not, but it would be nice. Again, I really appreciate all the comments you have provided regarding my problem Victor.

Daniel

Reply With Quote
  #8  
Old July 18th, 2003, 08:57 AM
Ivette Ivette is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 1 Ivette User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Have you looked at RRDTool.

URL

I personally, have not used it, but will soon.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > MRTG and Database


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway