<br><br><div><span class="gmail_quote">On 11/17/06, <b class="gmail_sendername">Sim</b> <<a href="mailto:simvirus@gmail.com">simvirus@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2006/11/17, Yogesh Hasabnis <<a href="mailto:yhasabnis@gmail.com">yhasabnis@gmail.com</a>>:<br>> Thanks Thomas, Sim and all the friends on this list!! As per your<br>> suggestion, I copied the check_cciss plugin into the nagios/libexec
<br>> directory and now the plugin works fine from the command-line<br>><br>> ]# ./check_cciss-1.5 -N 0 -v<br>> RAID OK: Smart Array 6i in Slot 0 array A logicaldrive 1 (136.7 GB, RAID<br>> 1+0, OK) array B logicaldrive 2 (
410.2 GB, RAID 5, OK)<br>><br>> Now since the RAID arrays are not on the nagios host, I will need to<br>> configure NRPE to execute the cciss plugin remotely.<br>><br><br>Add this line into nrpe.cfg:<br><br>command[check_cciss]=/usr/local/nagios/libexec/check_cciss-
1.5 -N 0 -v<br><br><br>and this into services.cfg (similar):<br><br><br>define service{<br> use
generic-service ; Name<br>of service template to use<br><br> host_name
xxxxxxxxx<br> service_description
RAID<br> is_volatile
0<br> check_period 24x7<br> max_check_attempts 3<br> normal_check_interval
5<br> retry_check_interval 1<br> contact_groups grp_admins<br> notification_interval
720<br> notification_period
24x7<br> notification_options w,u,c,r<br> check_command
check_nrpe!check_cciss<br> }<br></blockquote></div>Yes,
I am in the process of configuring nrpe for remotely executing
check_cciss plugin. I am getting some permission errors for executing
hpacucli after editing the /etc/sudoers. I will sort it out and give a
feedback as soon as it works properly.<br>
<br>
Thanks a lot!<br>
<br>
Yogesh<br>
<br>
<br>