How to monitor specific process or daemon on Linux?


#1

Hi
I am new to Nagios . We are using Nagios 3.2.0 on RedHat Linux machines.
How to monitor a specific process or daemon on linux machine ? Like winbind service .

thanks in advance.
Venkat


#2

Place the bash, perl, etc. script that performs the checking logic you want in /usr/local/nagios/libexec/. (You will need to look up the return values that nagios needs). Define the command to run the script in /usr/local/nagios/etc/objects/commands.cfg, and a service definition that uses the command in /usr/local/nagios/etc/objects/services.cfg