snmptt and nagios, access to nagios.cmd file

Jim Avery jim at jimavery.me.uk
Wed Mar 11 20:12:10 CET 2009


2009/3/11 Marco Tirado <marco.tirado at gmail.com>:
>
>
> My snmptt.conf file for the trap I am testing looks like:
>
> EVENT ospfOriginateLsa .1.3.6.1.2.1.14.16.2.0.12 "Status Events" Normal
> FORMAT $D. $Fn VARIABLE VALUES: $-*
> EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result "myhost"
> "snmp_traps" 1 "My text message" >> /tmp/OutputTest 2>&1
> SDESC
> ...
> EDESC
>
> And my nagios configuration is correct as I can see the passive check
> results in my nagios console if I run the above EXEC command from the
> command line as user snmptt.
>
> //Marco

I'm sorry if this question sounds stupid, but what are the permissions
and ownership on /usr/local/nagios/var/rw and
/usr/local/nagios/var/rw/nagios.cmd ?

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