snmptt and nagios, access to nagios.cmd file

Marco Tirado marco.tirado at gmail.com
Wed Mar 11 18:10:55 CET 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090311/79bb8d5a/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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