Re: Traphandler problem when snmptrapd runs a service

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGb8gWOJOtwZ0TFHs6_v9R9Nc8Tqpr1iW+BE8g12cSkFCg@mail.gmail.com>
On 24 July 2012 09:43, Matson, Stuart (UK) <[email protected]> wrote:
> I’ve discovered that ‘execute’ trap handling works fine if I start snmptrapd
> on the command line. If snmptrapd is running as a service however the
> ‘execute’ trap handling doesn’t work (logging does still work). I would
> prefer to run it as a service. Any ideas why it doesn’t work?

What are the permissions on the command(s) that you are trying to run?
What user is the snmptrapd daemon running as?

Your original message referred to running the 'reboot' command.
Have you tried this with something simpler?
(E.g. a shell script that simply logs the incoming data to a file)

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.