NRPE + raidutil ?

Frederik Vanhee frederik.vanhee at perso.be
Tue Jan 31 08:49:34 CET 2006


Hello,

late respone, I know, but what about

chmod u+s raidutil

Then your nrpe-user can execute the command with root-priviledges.

Frederik

rader at ginseng.hep.wisc.edu wrote:

> > I'm trying to monitor RAID array status using NRPE.  But I'm running 
> > into minor security issues.
> > 
> > * Adaptec 2100S RAID controller
> > * CentOS 4.2
> > * raidutil RPM from http://i2o.shadowconnect.com
> > 
> > When logged directly into the system to monitor, the raidutil command 
> > only works if I am root.
>
>chmod 755 `which raidutil`
>
>as root?
>
> > But NRPE refuses to start if I tell it to use root as user and group. 
> > (Running under xinetd, in this case)
> > 
> > Can anyone tell me the best (most secure) way to get this working 
> > properly?  This web page seems to talk about it, but in Czech...
> > 
> > http://homel.vsb.cz/~jas02/raid/
> > 
> > I am using an apparently custom Nagios plugin called "check_dpt_raid" 
> > and again, it seems to run manually just fine as long as I am root. 
> > (Can't remember where I got the plugin -- maybe from someone's mention 
> > of it on the mailing list.  Nothing comes up when I search for the name!)
>
>ftp://noc.hep.wisc.edu/pub/src/nagios/
>
>?
>
>...but I really can't help you because we don't use NRPE.
>(We run check_dpt_raid via Net-SNMP's snmpd.)
>
>steve 
>- - - 
>systems & network manager
>high energy physics
>university of wisconsin
>
>
>
>-------------------------------------------------------
>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
>
>  
>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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