Hi
I modified the FreeBSD agent last night.
Now, at least, the proc.num works for most of the running
processes.
The existing code in 1.5 does not work with the current layout of
the procfs on FreeBSD 6.1, at least.
This is not a complete solution, yet, because
but it works for the other processes.
I am not sure whether I can modify the agent to see all processes
using a different approach (based on the openbsd version). But I will
give it a try.
OK, it might be easy to replace the proc.num[sshd] by
a UserParameter using ps and grep.
But what about checking for running processes as a certain user ?
And the other interesting requests, e.g. command line arguments, memory size ?
Regards
Norbert.
I modified the FreeBSD agent last night.
Now, at least, the proc.num works for most of the running
processes.
The existing code in 1.5 does not work with the current layout of
the procfs on FreeBSD 6.1, at least.
This is not a complete solution, yet, because
- looking at man procfs not all information is available, e.g. used memory
- not all processes are seen, e.g. sshd, httpd, even if the security is relaxed
but it works for the other processes.
I am not sure whether I can modify the agent to see all processes
using a different approach (based on the openbsd version). But I will
give it a try.
OK, it might be easy to replace the proc.num[sshd] by
a UserParameter using ps and grep.
But what about checking for running processes as a certain user ?
And the other interesting requests, e.g. command line arguments, memory size ?
Regards
Norbert.