Re: Correct way of stopping snmpd

2024-05-21 Thread Pushpa Thimmaiah
Thank you Josef Ridky and Niels Baggesen On Tue, May 21, 2024 at 10:20 PM Niels Baggesen wrote: > Den 21-05-2024 kl. 13:34 skrev Niels Baggesen: > > > SIGTERM is not kill -9, it is kill -16. kill -9 is SIGKILL > > Whoops, minor typo, SIGTERM is 15, not 16. Thanks to jhawk! > > /Niels > > -- > Ni

Re: Correct way of stopping snmpd

2024-05-21 Thread Niels Baggesen
Den 21-05-2024 kl. 13:34 skrev Niels Baggesen: SIGTERM is not kill -9, it is kill -16. kill -9 is SIGKILL Whoops, minor typo, SIGTERM is 15, not 16. Thanks to jhawk! /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers

Re: Correct way of stopping snmpd

2024-05-21 Thread Niels Baggesen
Den 21-05-2024 kl. 10:30 skrev Pushpa Thimmaiah: Hi All, Kindly confirm  that 'kill -9' is valid way to stop snmpd. I am writing service script for systemctl  to stop snmpd and would like to understand correct way of stopping the daemon. According to Source code agent/snmpd.c ,  SIGTERM (kill

Re: Correct way of stopping snmpd

2024-05-21 Thread Josef Řídký
You may take a look at https://src.fedoraproject.org/rpms/net-snmp/blob/rawhide/f/snmpd.service for a working example in Fedora/RHEL. Best regards Josef Ridky Senior Software Engineer Core Services Team Red Hat Czech, s.r.o. On Tue, May 21, 2024 at 10:29 AM Pushpa Thimmaiah < pushpa.thimma...@g