On Sat, 28 Jul 2007 20:55:08 +0100, Dave Shield wrote:

> On 27/07/07, Mateus Interciso <[EMAIL PROTECTED]> wrote:
>> [the agent] sucessfully send the trap, as it shows on the snmptrapd.log
> 
>    [snip]
> 
> 
>> But I also want it to execute the command /bin/sh /tmp/trapTst.sh
> 
> On which system?
> The host where the agent is running (10.0.0.1), or the host that is
> running the trap receiver (10.0.0.4) ?
> 
On the host that is running the trap receiver.
> 
>> Here's my snmptrapd.conf file on 10.0.0.1
> 
> I thought you said that snmptrapd was running on 10.0.0.4? That's
> certainly the address you seem to have in your snmpd.conf file.
> 
Sorry, it really is on 10.0.0.4.
> The snmptrapd.conf file will only be processed by snmptrapd, and hence
> is only needed on the system where traps are received. It's not relevant
> on the system where the agent is running, where traps are sent *from*.
>   (Unless these are both the same box, of course).
> 
> 
> Instead of sending traps, have a look at the 'setEvent' directive, to
> handle everything on the 10.0.0.1 system.
> 
I actually really need to execute the traps on the trap server.
> 
> Dave
> 
> 
Thanks.
Mateus
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Still grepping through
> log files to find problems?  Stop. Now Search log events and
> configuration files using AJAX and a browser. Download your FREE copy of
> Splunk now >>  http://get.splunk.com/
> _______________________________________________ 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



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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

Reply via email to