2009/3/12 Marco Tirado <marco.tir...@gmail.com>: > They look like this: > > For nagios.cmd > > prw-rw---- 1 nagios nagcmd 0 2009-03-11 18:53 nagios.cmd > > > for the rw catalog: > > drwxrwsr-x 2 nagios nagcmd 4096 2009-03-11 18:14 rw > > Please let me know if something looks obviously wrong.
No, those look absolutely fine; same as mine anyway. I now use NagTrap with Nagios 3, but I still have a similar setup to yours running on my old Nagios 2.7 server. Let me see ... There, I have the user snmptt added to the "nagiocmd" group, and at the end of my submit_check_result script, I have: sg nagiocmd -c "echo '$cmdline' >> $CommandFile" It's been a while since I set this up, so my memory is a bit hazy but I think I remember now battling with this one for a while when I set it up too. I think the important thing which got it working was putting the "sg nagiocmd -c" (or in your case it would be "sg nagcmd -c ") in front of the command which actually writes to the command file. hth, Jim ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ 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