Pandora FMS community forums

Full Version: nginx
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

Can anybody help me to Monitor Nginx on a Linux server , i have a web application that utilizes Nginx and i wanna see how much connection are made to the nginx

cheers

blacknasa
Hi,

Can you be a bit more specific? Do you want to monitor just the service? If so...

module_begin
module_name nginx
module_type generic_data
module_exec ps aux | grep -i nginx | grep -v grep | wc -l
module_description nginx daemon
module_end

If you are supposed to have a certain amount of workers, make sure you specify the minimum number of threads that must be running when defining the alert.