Hi,
you need to add (nprobe reports this as warning) also the basic fields such as source/destination IP, port....

So in essence -T could be
-T "%IPV4_SRC_ADDR %IPV4_DST_ADDR %IPV4_NEXT_HOP %INPUT_SNMP %OUTPUT_SNMP %IN_PKTS %IN_BYTES %FIRST_SWITCHED %LAST_SWITCHED %L4_SRC_PORT %L4_DST_PORT %TCP_FLAGS %PROTOCOL %SRC_TOS %MYSQL_SERVER_VERSION %MYSQL_USERNAME %MYSQL_DB %MYSQL_QUERY %MYSQL_RESPONSE %MYSQL_APPL_LATENCY_USEC"

Regards Luca

On 12/06/2013 07:17 AM, susy(苏少阳) wrote:
Hi,

I want to use nProbe with Mysql plugin to capture Mysql information, such as src ip,dst ip,sql query,response

I use this command, but got nothing.

nprobe  -b 2 -i eth0 -a -D t -P /nprobe/ -T "%MYSQL_SERVER_VERSION %MYSQL_USERNAME %MYSQL_DB %MYSQL_QUERY %MYSQL_RESPONSE %MYSQL_APPL_LATENCY_USEC"



 


cid:_Foxmail.4@AD560ED0-3EF4-449D-8A0F-4FEF2834B22B  


苏少阳 

风险控制部 / 风控工程师 · Risk & Control Department  / Risk & Control Engineer

-----------------------------------------------------------------------------

Tel(86)755-86594359        Fax(86)755-83796070

Mobile13266810358        E-mail[email protected]

www.500wan.com

 

深圳市易讯天空网络技术有限公司 

Shenzhen E-sun Sky Net Tech Co.,Ltd.

www.500wan.com


本邮件包括附件的内容是受法律保护的保密信息,如果您不是指定收件人, 请立即将本邮件删除,法律禁止 

任何非法的披露、复制、传播或以任何方式使用本邮件。This message, including its Attachment if there is any, 

are confidential and protected by law. If you are not the intended recipient, please delete it from your computer immediately.

Any disclosure, copying, or distribution of this message, or taking of any action based on it is strictly prohibited.




_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to