Description
Este plugin exibe os usuários que estão executando determinado processo e retorna OK.
Compatible versions
- OpMon 6.0 or higher
Requirements
- Módulo Perl POSIX
Example of use and return of command
You must access the command directory before running it trough the following path: /usr/local/opmon/libexec/opservices/
On these examples are research all the processes that are running.
[root@opmon]# ./check_proc_user.pl sshd Ok - Process: sshd Users: root
[root@opmon]# ./check_proc_user.pl memcached Ok - Process: memcached Users: nobody
On this example it is researched all the processes that aren’t running.
[root@opmon]# ./check_proc_user.pl gearman-utils Critical - Process: gearman-utils not executing
Compatibility
- Systems based on packages RPM (Red Hat Package Manager)