Skip to main content

Parameters

Simple mode

--urlsNGINX stub_status endpoint URLs, separated by commas. Each URL will generate an agent.
--userusername if the NGINX endpoint requires HTTP basic authentication, optional
--passwordpassword if the NGINX endpoint requires HTTP basic authentication, optional
--sslwhether to verify the URL HTTPS certificate or not, optional (default true)
--prefixprefix for module names, optional
--transfer_modedata transfer mode (native or tentacle), optional
--tentacle_iptentacle IP, optional
--tentacle_porttentacle port, optional
--intervalmonitoring interval in seconds, optional
--allow_listregular expression to include only modules whose name matches, optional
--deny_listregular expression to exclude modules whose name matches, optional
--timeoutmaximum wait time for the HTTP request in seconds, optional (default 10)

Advanced mode

--confpath to the configuration file
--targets_filepath to the file containing the NGINX URLs (mandatory when using --conf)

Configuration file (--conf)

username= username if the NGINX endpoint requires HTTP basic authentication, optional
password= password if the NGINX endpoint requires HTTP basic authentication, optional
verify_ssl= whether to verify the URL HTTPS certificate or not, optional
prefix= prefix for module names, optional
transfer_mode= data transfer mode (native or tentacle), optional
tentacle_ip= tentacle IP, optional
tentacle_port= tentacle port, optional
agents_group= name of the agent group the created agents will be assigned to, optional
agents_group_id= id of the agent group the created agents will be assigned to, optional
interval= monitoring interval in seconds, optional
allow_list= regular expression to include only modules whose name matches, optional
deny_list= regular expression to exclude modules whose name matches, optional
timeout= maximum wait time for the HTTP request in seconds, optional

Example

[CONF]
username=pandora
password=pandora
verify_ssl=false
prefix=nginx_
transfer_mode=native
tentacle_ip=127.0.0.1
tentacle_port=41121
interval=300
allow_list=
deny_list=
timeout=10

Targets file (--targets_file):

http://192.168.0.10/nginx_status
http://192.168.0.11/nginx_status