2016-10-25 20:52:13 -05:00
|
|
|
[supervisord]
|
2017-05-08 17:43:31 -05:00
|
|
|
logfile_maxbytes=1MB
|
|
|
|
logfile_backups=2
|
2016-10-25 20:52:13 -05:00
|
|
|
nodaemon=true
|
|
|
|
|
2020-05-16 14:03:35 -05:00
|
|
|
[eventlistener:dependent-startup]
|
|
|
|
command=python -m supervisord_dependent_startup
|
|
|
|
autostart=true
|
|
|
|
autorestart=unexpected
|
|
|
|
startretries=0
|
|
|
|
exitcodes=0,3
|
|
|
|
events=PROCESS_STATE
|
|
|
|
|
2019-10-22 16:41:12 -05:00
|
|
|
[eventlistener:supervisor-proc-exit-listener]
|
2020-02-07 14:34:07 -06:00
|
|
|
command=/usr/bin/supervisor-proc-exit-listener --container-name snmp
|
2019-10-22 16:41:12 -05:00
|
|
|
events=PROCESS_STATE_EXITED
|
|
|
|
autostart=true
|
|
|
|
autorestart=unexpected
|
|
|
|
|
2020-05-16 14:03:35 -05:00
|
|
|
[program:rsyslogd]
|
|
|
|
command=/usr/sbin/rsyslogd -n -iNONE
|
2017-05-08 17:43:31 -05:00
|
|
|
priority=1
|
2020-05-16 14:03:35 -05:00
|
|
|
autostart=false
|
|
|
|
autorestart=unexpected
|
2017-05-08 17:43:31 -05:00
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2020-05-16 14:03:35 -05:00
|
|
|
dependent_startup=true
|
2017-05-08 17:43:31 -05:00
|
|
|
|
2020-05-16 14:03:35 -05:00
|
|
|
[program:start]
|
|
|
|
command=/usr/bin/start.sh
|
|
|
|
priority=1
|
|
|
|
autostart=true
|
|
|
|
autorestart=false
|
|
|
|
startsecs=0
|
2017-05-08 17:43:31 -05:00
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2020-05-16 14:03:35 -05:00
|
|
|
dependent_startup=true
|
|
|
|
dependent_startup_wait_for=rsyslogd:running
|
2017-05-08 17:43:31 -05:00
|
|
|
|
2016-10-25 20:52:13 -05:00
|
|
|
[program:snmpd]
|
2018-05-01 20:32:49 -05:00
|
|
|
command=/usr/sbin/snmpd -f -LS4d -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf,ifTable,ifXTable,inetCidrRouteTable,ipCidrRouteTable,ip,disk_hw -p /run/snmpd.pid
|
2018-10-29 12:25:18 -05:00
|
|
|
priority=3
|
2017-05-08 17:43:31 -05:00
|
|
|
autostart=false
|
2017-05-09 19:37:08 -05:00
|
|
|
autorestart=false
|
2017-05-08 17:43:31 -05:00
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2020-05-16 14:03:35 -05:00
|
|
|
dependent_startup=true
|
|
|
|
dependent_startup_wait_for=start:exited
|
2016-10-25 20:52:13 -05:00
|
|
|
|
|
|
|
[program:snmp-subagent]
|
2020-05-14 12:23:37 -05:00
|
|
|
command=/usr/bin/env python3 -m sonic_ax_impl
|
2018-10-29 12:25:18 -05:00
|
|
|
priority=4
|
2017-05-08 17:43:31 -05:00
|
|
|
autostart=false
|
2017-05-09 19:37:08 -05:00
|
|
|
autorestart=false
|
2017-05-08 17:43:31 -05:00
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2020-05-16 14:03:35 -05:00
|
|
|
dependent_startup=true
|
|
|
|
dependent_startup_wait_for=snmpd:running
|