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