Hi Jason, I'm doing the same thing on a Solaris server and I needed to set the suid bit on my plugin script. The other way to do so would be to configure sudo. I hope this helps.
Todd -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Byrns Sent: Monday, November 07, 2005 2:37 PM To: Nagios Users Subject: [Nagios-users] NRPE + raidutil ? Good afternoon, all. 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. 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!) Thanks as always! -- 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 [email protected] 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 ------------------------------------------------------- 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 [email protected] 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
