Pages: [1]   Go Down
Author Topic: nginx  (Read 227 times)
0 Members and 2 Guests are viewing this topic.
blacknasa
Jr. Member
**

Karma: 0
Offline Offline

Posts: 24


View Profile
« on: July 25, 2011, 07:47:04 AM »

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
Logged

Manuel Arostegui
Global Moderator
Expert member
*****

Karma: 50
Offline Offline

Posts: 853



View Profile
« Reply #1 on: September 09, 2011, 09:40:22 AM »

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.
Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST