Skip to content
Snippets Groups Projects
Commit 96974d3d authored by Adam Wujek's avatar Adam Wujek :speech_balloon:
Browse files

userspace/snmpd: improve counting userspace deamons in wrsBootStatusGroup


There was a problem with counting multiple instaces of a program especially
for dropbear where new instance is spawned for each ssh session.
It is impossible to predict number of instances at compile time or even in
run time. What we know is that at least one dropbear process should be running.

New method is capable of reporting when there are too many or too few processes
running (exp value is positive)or reporting when too few processes are running
(exp value is negative).

Use full path for snmpd binary.

Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
parent 73242ab3
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment