Package: snmptt Version: 1.4.2-1 There were several complains about snmptt at boot time. Would you mind to check, esp. the PID issue?
I am using snmptt to write traps to a log file for monitoring via Zabbix, but if snmptt is not running the traps are lost and the log file is silently not updated anymore. I have to rely upon systemd here. # systemctl status snmptt * snmptt.service - SNMP trap translator Loaded: loaded (/lib/systemd/system/snmptt.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2022-07-27 12:18:51 CEST; 8s ago Process: 3215961 ExecStart=/usr/sbin/snmptt $DAEMON_ARGS (code=exited, status=0/SUCCESS) Main PID: 3215964 (snmptt) CPU: 94ms CGroup: /system.slice/snmptt.service |-3215963 /usr/bin/perl /usr/sbin/snmptt --daemon `-3215964 /usr/bin/perl /usr/sbin/snmptt --daemon Jul 27 12:18:51 dex06.hosting2.aixigo.de snmptt[3215961]: Smartmatch is experimental at /usr/sbin/snmptt line 859. Jul 27 12:18:51 dex06.hosting2.aixigo.de snmptt[3215961]: Redundant argument in sprintf at /usr/lib/x86_64-linux-gnu/perl/5.32/Sys/Syslog.pm line 454. Jul 27 12:18:51 dex06.hosting2.aixigo.de snmptt-sys[3215961]: SNMPTT v1.4.2 started Jul 27 12:18:51 dex06.hosting2.aixigo.de snmptt[3215961]: Redundant argument in sprintf at /usr/lib/x86_64-linux-gnu/perl/5.32/Sys/Syslog.pm line 454. Jul 27 12:18:51 dex06.hosting2.aixigo.de snmptt-sys[3215961]: Loading /etc/snmp/snmptt.conf Jul 27 12:18:51 dex06.hosting2.aixigo.de snmptt[3215961]: Redundant argument in sprintf at /usr/lib/x86_64-linux-gnu/perl/5.32/Sys/Syslog.pm line 454, <SNMPTTCONF> line 64. Jul 27 12:18:51 dex06.hosting2.aixigo.de snmptt-sys[3215961]: Finished loading 64 lines from /etc/snmp/snmptt.conf Jul 27 12:18:51 dex06.hosting2.aixigo.de snmptt-sys[3215964]: Changing to UID: snmptt (116), GID: snmptt (121) Jul 27 12:18:51 dex06.hosting2.aixigo.de systemd[1]: snmptt.service: Supervising process 3215964 which is not our child. We'll most likely not notice when it exits. Jul 27 12:18:51 dex06.hosting2.aixigo.de systemd[1]: Started SNMP trap translator. Regards Harri