procs — checks for running processes or services (Win32)
[ localhost procs=nfsd(1-16),sendmail,lpd(1-40) ]procs
("there must be 1 to 16 nfsd processes, at minimum one sendmail process and 1 to 40 lpd processes")
[ localhost pscomm=ps cax procs=nfsd(1-16),sendmail,lpd(1-40)]procs
uses the command ps cax for finding the running processes
The ps command used for determining the list of processes is guessed by the procs check. If available it preferably uses ps -e, on systems without a working ps -e it tries to use ps cax. Both ps -e and ps cax display the process name as being the same of argument 0 passed to a program. If you prefer checking against the full command line you can use
localhost alternate=yes procs=nfsd,oracleinst1 procs |
This will make procs use the ps -ef command.
![]() | Note |
---|---|
On Win32 systems the pscomm argument is ignored. On Win32 systems it is possible to monitor remote systems. |