Re: traptoemail does not contain any information

This is a discussion on Re: traptoemail does not contain any information within the SNMP Users forums, part of the Networking and Network Related category; On Thu, 17 Feb 2005 9:23:27 -0000 David wrote: D> The machine having the problem (machine 2) ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-17-2005
Robert Story
 
Posts: n/a
Default Re: traptoemail does not contain any information

On Thu, 17 Feb 2005 9:23:27 -0000 David wrote:
D> The machine having the problem (machine 2) can
D> resolve the hostname / IP of example device above. My bigger concern is why
D> doesn't the email sent by traptoemail contain the trap information.

Ok, your previous email didn't metion that - only that the IP was used instead
of the host name.

D> If I send a test trap to machine 1, everything works. If I send the same
D> test trap to machine 2, I see the problem described. The email that
D> gets sent only contains the first line of the trap.
D>
D> As I mentioned before, while sending the test traps to each machine, I am
D> also tailing the trap log (snmptrap.log). The test traps are being
D> correctly written to the appropriate trap machine.

So the log information is the same on both machines? With the correctly
resolved host name? If that's the case, then I can only think of three possilbe
explanations:

1) difference in snmptrapd.conf configuration
2) difference in traptoemail script
3) some problem with the mail server on machine 2

You say you are running on red-hat. how did you install? RedHat rpm, our rpm,
or from source? Any change you have two versions installed? Check by running

ls /usr/lib/*snmp* /usr/local/lib/*snmp*

--
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:52 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0