2006/11/17, Yogesh Hasabnis <[EMAIL PROTECTED]>: > Thanks Thomas, Sim and all the friends on this list!! As per your > suggestion, I copied the check_cciss plugin into the nagios/libexec > directory and now the plugin works fine from the command-line > > ]# ./check_cciss-1.5 -N 0 -v > RAID OK: Smart Array 6i in Slot 0 array A logicaldrive 1 (136.7 GB, RAID > 1+0, OK) array B logicaldrive 2 (410.2 GB, RAID 5, OK) > > Now since the RAID arrays are not on the nagios host, I will need to > configure NRPE to execute the cciss plugin remotely. >
Add this line into nrpe.cfg: command[check_cciss]=/usr/local/nagios/libexec/check_cciss-1.5 -N 0 -v and this into services.cfg (similar): define service{ use generic-service ; Name of service template to use host_name xxxxxxxxx service_description RAID is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups grp_admins notification_interval 720 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_cciss } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null