Hi All!
Since 1.6 I was able to match nginx process which PS is:
apache 14296 24146 0 03:47 ? 00:00:20 nginx: worker process
apache 14297 24146 0 03:47 ? 00:05:01 nginx: worker process
apache 14298 24146 0 03:47 ? 00:01:11 nginx: worker process
apache 14299 24146 0 03:47 ? 00:00:28 nginx: worker process
apache 14300 24146 0 03:47 ? 00:00:40 nginx: worker process
apache 14301 24146 0 03:47 ? 00:01:50 nginx: worker process
apache 14303 24146 0 03:47 ? 00:01:11 nginx: worker process
apache 14304 24146 0 03:47 ? 00:02:52 nginx: worker process
apache 14306 24146 0 03:47 ? 00:00:00 nginx: cache manager process
root 24146 1 0 Apr23 ? 00:00:00 nginx: master process /usr/local/openresty/nginx/sbin/nginx -c /usr/local/openresty/nginx/conf/nginx.conf
by this simple regex:
(/usr)?(/local)?(/bin/|/sbin/)?(/)?nginx
By updating to 2.0 the check doesn’t work anymore.
I tryed these regex:
- (/usr)?(/local)?(/bin/|/sbin/)?(/)?nginx(.*)$
- nginx
also I tryed with “exact name of the process without arguments”
- nginx
- nginx:
No one of above is worked.
The agent is still 1.6 but AFAIK it shouldn’t matter, right?