[Pkg-net-snmp-devel] Add PID file to snmpd
csmall at debian.org
Sat Apr 28 12:46:04 BST 2018
The init script is only used for non-systemd setups, so first you need to
work out what you have there. If you are not using systemd, then the snmpd
parameters come from /etc/default/snmpd and /etc/init.d/snmpd
If you are using systemd then the parameters by default come from
/lib/systemd/system/snmpd.service However, local changes are found in
I would guess a local change somewhere is stopping snmpd from creating a
pid. It uses the -p option to do so, you should see something like this in
2022 ? Ss 0:00 /usr/sbin/snmpd -Lsd -Lf /dev/null -u
Debian-snmp -g Debian-snmp -I -smux mteTrigger mteTriggerConf -f -p
For example, I had an old /etc/systemd/system/snmpd.service lying around
that stopped it for me.
On Sun, 22 Apr 2018 at 21:12 Josu Lazkano <josu.lazkano at gmail.com> wrote:
> I am using snmpd in Debian server, it really works great.
> The problem is that there is no PID file for the service.
> In the init script is configured by default in /run/snmpd.pid, but
> there is no file there.
> How could I configure to get the PID file in the filesystem?
> Thanks in advance.
> Kind regards.
> Josu Lazkano
> Pkg-net-snmp-devel mailing list
> Pkg-net-snmp-devel at alioth-lists.debian.net
Craig Small https://dropbear.xyz/ csmall at : dropbear.xyz
Debian GNU/Linux https://www.debian.org/ csmall at : debian.org
Mastodon: @smallsees at social.dropbear.xyz Twitter: @smallsees
GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pkg-net-snmp-devel