lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

SQL:How to query different databases than netmrgs ?

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
nhi
Beginner


Joined: 30 Mar 2005
Posts: 2

PostPosted: Wed Mar 30, 2005 11:23 pm    Post subject: SQL:How to query different databases than netmrgs ? Reply with quote

Hi,

I just installed netmrg today, and I want to fire up some queries on our mysql database and make graphs from it. but it seems I cannot set the database name when creating an sql script ? Then I tried it with creating a script, with mysql cmd which the result is a number, but the graph shows nothing. Can someone hint me to the right direction ?
I use a linux box.

Also the traffic graph is empty , I used the template for that and set the interface to our eth device...any maybe comon newbie problem I have encountered ?
ill be glad to provide more info if needed.
thx lot !

Chris
Back to top
nhi
Beginner


Joined: 30 Mar 2005
Posts: 2

PostPosted: Wed Mar 30, 2005 11:30 pm    Post subject: Reply with quote

oh ok, I ran the gatherscript with -am (just found that info hehe) and I had to addp athes to my script. but still is there not a more elegant way ?[/quote]
Back to top
keb
Contributor


Joined: 09 Jul 2003
Posts: 44
Location: Camp Hill, PA, USA

PostPosted: Thu Mar 31, 2005 5:50 am    Post subject: Reply with quote

You should be able to setup a MySQL test under Tests -> SQL. There you can specify the host, user, passwd, etc. to obtain the information you want to graph. You can set it up to use parameters instead of hard-coded values, and then specify those params in the sub-device.

-Kevin
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group