missing pcre support for snmpd

Asked by Jean-Sébastien Frerot

Hi,
  I'd like to monitor my running processes on my server with snmp. Snmp offers this feature but when you have process running like: "perl /usr/sbin/mysql-snmp --daemon-pid /var/run/mysql-snmp.pid -c /etc/mysql-snmp/my.cnf" the process name detected by snmp is "perl"... They have pcre support to be able to add patterns to better detect process name

"proc mysql-snmp 1 1 ^perl /usr/sbin/mysql-snmp"
instead of "proc mysql-snmp 1 1"

The current package is not compiled with pcre support. Could this be added/updated ?

looks like you would need to add pcre-devel as package dependency.

Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu net-snmp Edit question
Assignee:
No assignee Edit question
Solved by:
Jean-Sébastien Frerot
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
Jean-Sébastien Frerot (jsfrerot) said :
#2