Dear Maintainer,
I was trying to monitor apache2 process status using the hrSWRunTable on a server with modperl enabled.
I installed apache2 and libapache2-mod-perl2 packages, then I enabled the perl module.
The only way to "resolve" this issue was disabling perl module with "a2dismod perl", but now, my application which needs modperl doesn't work, so for now, I can't monitor apache2 through SNMP.
When the perl module is enabled, apache2 process name in SNMP (and in /proc/*/status) is "/usr/sbin/apach" ("/usr/sbin/apache2" trimmed to 15 characters), when perl module is disabled, apache2 process name in SNMP (and in /proc/*/status) is "apache2", which is the correct one.
I found a bug openned on Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=782369) which explains the whole issue and gives a patch to resolve this issue.
I tried the patch on the source package for stable and testing, and it seems to "patch" well. I didn't test the build and running apache2 with this patched module. I will try it tomorrow.
I took a quick look at the source packages for stable, testing and experimental, and they all seems to have the issue.
I hope I was clear enough, don't hesitate to contact me if you need further information.
Thanks.