Dear Team,
My team would like to identify the option for monitoring apache threads.
I could find only plugin which can tell me concurrent session and something else.. Nothing on threads.
Could you please help us in priority.
Thanks in advance.
Regards
Srinivasan Ravichandran
Monitoring apache threads
Re: Monitoring apache threads
Does this command return the count you're looking for?
If so, it should be fairly easy to convert into a plugin.
Code: Select all
ps -o pid,comm,user,thcount -u apache | grep apache | wc -l
Former Nagios Employee
Re: Monitoring apache threads
Not sure if they're what you want but I use check_init_service for services (no count), and check_procs. check_procs can have a minimum number of running processes. check_init_service may take more args to specify a count.
If its httpd for example, you can use the 1st to check the service is running and the 2nd to verify the specified number of processes are running.
Or I'm confused...
If its httpd for example, you can use the 1st to check the service is running and the 2nd to verify the specified number of processes are running.
Or I'm confused...
Re: Monitoring apache threads
Thanks @gormank!
That works as well. @sify_nagios - hopefully one of these solutions will work. Let us know when you have a chance to review our answers.
That works as well. @sify_nagios - hopefully one of these solutions will work. Let us know when you have a chance to review our answers.
Former Nagios Employee