Re: Check Windows Processes
Posted: Mon Jul 22, 2013 11:29 am
i couldn't cd to .
Output for :
Code: Select all
/usr/local/nagios/etcOutput for :
Code: Select all
grep -Ri 'check_nrpe'./*Code: Select all
./downloads/nagios-3.2.3/t-tap/smallconfig/objects.cache:command_line check_nrpe_arg!30!check_fs_ping!/mnt/account-p,/mnt/prepro-p,/mnt/webapp-ssl,/mnt/rollout-p
./downloads/nagios-3.2.3/t-tap/smallconfig/minimal.cfg:check_nrpe_arg!30!\
./downloads/nagios-3.2.3/t/etc/no-contactgroup-error.cfg: check_ nrpe_arg!30!\
./downloads/nagios-3.2.3/t/etc/minimal.cfg:check_nrpe_arg!30!\
./downloads/nagios-3.2.3/t/var/objects.precache.expected:command_line check_nrpe_arg!30!check_fs_ping!/mnt/account-p,/mnt/prepro-p,/mnt/webapp-ssl,/mnt /rollout-p
./downloads/nagios-3.2.3/html/docs/redundancy.html:Set up a cron job on the slave host that periodically (say every minute) runs a script that checks the staus of the Nagios process on the master host (using the <i>check_nrpe</i> plugin on the slave host and the <a href="addons.html#nrpe">nrpe daemon</a> and <i>check_nagios</i> plugin on the master host). The script should check the return code of the <i>check_nrpe plugin</i> .
If it returns a non-OK state, the script should send the appropriate commands to the <a href="configmain.html#command_file">external command file</a> to enable both notifications and active service checks. If the plugin returns an OK state, the script should send commands to the external command file to disable both notifications and active checks.