NRPE + raidutil ?

Jason Byrns jason-sourceforge at microlnk.net
Tue Nov 8 14:25:06 CET 2005


>>chmod 755 `which raidutil`
>>as root?

It was indeed the SUID bit that was necessary.  It looked like that's 
what the web page (in Czech) I found was saying.  But, y'know, I don't 
speak a word of Czech.  To summarize, the solution was:

(Add Dag Wieers' Yum repository)
% yum install nagios-nrpe
% useradd nagios
% groupadd nagios
(Download and install raidutils RPM from http://i2o.shadowconnect.com/)
% chown root:nagios /usr/bin/raid*
% chmod 750 /usr/bin/raid*
% chmod u+s /usr/bin/raidutil

> I've also found that raidutil often takes too long to run to be useful
> for NRPE.  So I have a cron job that runs raidutil and saves the output
> to a text file, then have NRPE just check the contents of that file.

Seems to respond in less than a second, for me.

Thanks again for everyone's help!

-- 
Jason Byrns
Production Manager
System Administrator
http://www.MicroLnk.com/
402-328-8600 ext. 653


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list