Can someone please tell me what the contents of the
snmptrapd.conf file should be? I tried creating a new
file at /usr/local/etc with just the traphandle as its
contents. And then I used the -c option and supplied
the above file as the configuration. But it still
doesnt work for me. 
 
The -P option tells me that the trap is being recieved
by the daemon, but my code still doesnt get called up.

Any help would be appreciated.

Thanks
Prashanth
 
--- Thomas Anders <[EMAIL PROTECTED]> wrote:

> prashanth raghavan wrote:
> > Further, the only location of snmptrapd.conf is
> under
> > the /var/net-snmp subdirectory. Should I copy this
> > file to another location? 
> 
> Uh, definitely. This is the persistent file that's
> not meant
> to hold "traphandle" directives (as that file
> clearly says:
> don't edit it).
> 
> Run your snmptrapd with "-Dread_config" to see where
> it looks for
> config files, then copy your snmptrapd.conf to one
> of those locations.
> Or set SNMPCONFPATH. Or use "-c". Or^H^H Start
> reading documentation.
> 
> 
> +Thomas
> 
> -- 
> Thomas Anders (thomas.anders at blue-cable.de)
> 
> 
>
-------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide
> on ITManagersJournal
> Use IT products in your business? Tell us what you
> think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates!
> Click to find out more
>
http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> 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
> 



                
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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