snmptt and nagios, access to nagios.cmd file

Marco Tirado marco.tirado at gmail.com
Thu Mar 12 08:20:46 CET 2009


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.

//Marco

On Wed, Mar 11, 2009 at 8:12 PM, Jim Avery <jim at jimavery.me.uk> wrote:

> 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 ?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090312/2c80cf35/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