missing pcre support for snmpd

Asked by Jean-Sébastien Frerot on 2014-07-03

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:
2014-07-03
Last query:
2014-07-03
Last reply:
2014-07-03

I suggest you report a bug