<P>
Dear Arno,<BR>
<BR>
I have gone through the parameters <BR>
max_concurrent_checks<BR>
service_inter_check_delay_method<BR>
service_reaper_frequency<BR>
service_interleave_factor<BR>
max_check_attempts for optimizing CPU utilization and all and i don't <BR>
have any issues with it as of now.<BR>
<BR>
For My second phase of Nagios Implementation:<BR>
<BR>
I have configured push_check.sh to run plugins on remote machines::<BR>
For this I have enabled ssh without passwd using RSA.<BR>
<BR>
Now my command is:<BR>
define command {<BR>
command_name remote_procs_check<BR>
command_line $USER1$/push_check.sh /root/.ssh/id_rsa XXX.XXX.XXX<BR>
$USER1$/check_procs -w 2:2 -c 2:1024 -C flowd<BR>
}<BR>
<BR>
This command when run from command line gives proper output::<BR>
[root@nagios libexec]# ./push_check.sh /root/.ssh/id_rsa XXX.XXX.XXX ./check_procs<BR>
-w 1:2 -c 1:1024 -C flowd<BR>
<BR>
PROCS OK: 2 processes with command name 'flowd'<BR>
<BR>
But when I see in Nagios GUI it gives the following error:<BR>
ERROR: SSH key: '/root/.ssh/id_rsa' does not exist <BR>
<BR>
I have placed the /root/.ssh/id_rsa.pub keys in the /root/.ssh/authorized_keys in the<BR>
XXX.XXX.XXX host<BR>
<BR>
What may be causing this?<BR>
Also what is the difference between running it through nagios and running it through command<BR>
line as root.<BR>
<BR>
The permissions on the concerned directories are as follows:<BR>
Remote Host:<BR>
[root@flowc .ssh]# pwd<BR>
/root/.ssh<BR>
You have new mail in /var/spool/mail/root<BR>
[root@flowc .ssh]# ls -al<BR>
total 16<BR>
drwx------ 2 root root 4096 Apr 3 21:33 .<BR>
drwxr-x--- 17 root root 4096 Apr 3 22:04 ..<BR>
-rw-r--r-- 1 root root 232 Apr 3 21:33 authorized_keys2<BR>
-rw-r--r-- 1 root root 241 Apr 3 21:02 known_hosts2<BR>
<BR>
Nagios Host:<BR>
[root@nagios .ssh]# pwd<BR>
/root/.ssh<BR>
[root@nagios .ssh]# ls -al<BR>
total 20<BR>
drw-r--r-- 2 root root 4096 Apr 3 21:32 .<BR>
drwxr-x--- 13 root root 4096 Apr 3 21:47 ..<BR>
-rw------- 1 root root 883 Apr 3 21:30 id_rsa<BR>
-rw-r--r-- 1 root root 231 Apr 3 21:30 id_rsa.pub<BR>
-rw-r--r-- 1 root root 1804 Apr 3 21:12 known_hosts<BR>
<BR>
Plz suggest.<BR>
<BR>
Thanks.<BR>
Vivek. <BR>
<BR>
<BR>
</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>