Hello Users:

I am having touble integrating nagios with snmptt, it seems that the snmptt
daemon can not write passive check results to the
/usr/local/nagios/var/rw/nagios.cmd file. I get the following error:

"cannot create /usr/local/nagios/var/rw/nagios.cmd: Permission denied"

The wierd thing is that I have added the "snmptt" user to the "nagcmd"
group. I can actually run the EXEC command from the console and manually
send the check results by running:

/usr/local/nagios/libexec/eventhandlers/submit_check_result "myhost"
"snmp_traps" 1 "My text message"

as the snmptt user. But when the snmptt tries to run it when a trap is
received I get the above error.

Any suggestions or recommendations are deeply appreciated

//Marco
------------------------------------------------------------------------------
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

Reply via email to