Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

diagnose debug module fnginx

Use this command to view information about an rtsp/rtmp/mysql/smtpdiameter appliance.

Syntax

diagnose debug module fnginx < rtsp/rtmp/mysql/smtp/diameter/config/ftp/av/stat/all> <set/unset>

Example

FortiADC-VM # diagnose debug module fnginx mysql set

profile type is mysql.

addr type 1.

make pool member conf, ip addr 20.6.2.1, port 80.

make pool member conf, ip addr 20.6.2.2, port 80.

make pool member conf, ip addr 20.6.2.3, port 80.

add vdom rlimit, vdom id: 1, ip: 1.1.1.1, port: 80, ssl: 0

test temp config success

dump configure data:

adc {

upstream mysql {

server 20.6.2.1:80 weight=1 up group_id=0 rs_name=pool1-1 id=3200;

server 20.6.2.2:80 weight=1 up group_id=0 rs_name=pool1-2 id=3201;

server 20.6.2.3:80 weight=1 up group_id=0 rs_name=pool1-3 id=3202;

mysql;

}

server mysql {

listen 1.1.1.1:80;

proxy_pass mysql;

fngx_log off;

persistence none;

source_address off;

mysql;

proxy_mode transaction;

mysql_mode 0;

}

}

diagnose debug module fnginx

Use this command to view information about an rtsp/rtmp/mysql/smtpdiameter appliance.

Syntax

diagnose debug module fnginx < rtsp/rtmp/mysql/smtp/diameter/config/ftp/av/stat/all> <set/unset>

Example

FortiADC-VM # diagnose debug module fnginx mysql set

profile type is mysql.

addr type 1.

make pool member conf, ip addr 20.6.2.1, port 80.

make pool member conf, ip addr 20.6.2.2, port 80.

make pool member conf, ip addr 20.6.2.3, port 80.

add vdom rlimit, vdom id: 1, ip: 1.1.1.1, port: 80, ssl: 0

test temp config success

dump configure data:

adc {

upstream mysql {

server 20.6.2.1:80 weight=1 up group_id=0 rs_name=pool1-1 id=3200;

server 20.6.2.2:80 weight=1 up group_id=0 rs_name=pool1-2 id=3201;

server 20.6.2.3:80 weight=1 up group_id=0 rs_name=pool1-3 id=3202;

mysql;

}

server mysql {

listen 1.1.1.1:80;

proxy_pass mysql;

fngx_log off;

persistence none;

source_address off;

mysql;

proxy_mode transaction;

mysql_mode 0;

}

}