Hi, if I check the fixproc Perl script in net-snmp-5.4.3 source tarball, then looks like "proc" executes simply "ps -e" and CMD column of this command is limited to 15 characters. The actual script name was not "backup.sh", but "<vendorname>-backup.sh". So in short, "proc" matches process by greping the output of "ps -e".
Martin On Thu, Dec 10, 2015 at 6:13 PM, Martin T <m4rtn...@gmail.com> wrote: > Hi, > > according to manual page of snmpd.conf, the "proc NAME" monitors the > number of processes called NAME (as reported by " -acx") running on > the local system. How to understand this "-acx" part? For example I > have a bash script backup.sh running as daemon in system and snmpd > seems to detect this script by the name "backup.", i.e. I need to > configure "proc backup." while I assumed that it detects this > script by the name "backup" or "backup.sh". How exactly does "proc" in > snmpd.conf match the process? > > > > thanks, > Martin ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users