>>> Martin T <m4rtn...@gmail.com> schrieb am 11.12.2015 um 00:43 in Nachricht <cajx5yvhahgabscn2mkdsessbn522nsfcq8ayrzrvq1q_vid...@mail.gmail.com>: > 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".
If I try "ps -ax -o cmd" I get rather long output like this: /usr/sbin/console-kit-daemon /usr/sbin/snmpd -r -A -LF d /var/log/net-snmpd.log -p /var/run/snmpd.pid Maybe that helps. > > > 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 ------------------------------------------------------------------------------ _______________________________________________ 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