[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 16/01/07, Nedim Bicic <[EMAIL PROTECTED]> wrote:
> Ok I uploaded snmptt_1.2beta1 from
>
> http://sourceforge.net/project/showfiles.php?group_id=51473
Right - so we're talking about 'snmptt'.
That wasn't clear before.
> I did everything in terms following these directions
> Except I don't know what else to do from here on.
In general, it's best to state exactly what you've done, rather
than saying "I've followed the instructions". It may be that the
instructions are wrong, or you've misunderstood them, or you
have missing an apparently insignificant (but vital) step.
> Are there any commands
> I can check if this is working
I believe that 'snmptt' is built upon "snmptrapd".
So the first thing I'd suggest is to check that the basic
snmptrapd functionality is working.
Try running
snmptrapd -f -Le -d
and watch the output to see whether it's receiving the expected
traps.
> I have cacti as a monitoring syslog and
> now I want to monitor these snmp traps in that same log
Sorry - it's not clear exactly what you mean here.
>
> I have set my
> routers to enable snmp traps to be sent to my linux box but when I check
> linux I don't get any messages.
Can you get your router to expicitly send a trap "on-demand"?
If so, do so - what does the "snmptrapd -f -Le -d" command show?
> But Before even sending these traps is there anything else I initially
> suppose to have or I can test this version.
See above.
Dave
[ remainder of message retained for context ]
> Or do you have any links sites or direction you can point me to
> I don't want to use nagios just because its already complicating with
> cacti.
>
> thanks
>
> Installation - Unix
> 1. Read this entire file to understand how snmptt works
>
> 2. Copy snmptt to /usr/sbin/ and ensure it is executable (chmod +x
> snmptt)
>
> 3. Copy snmptthandler to /usr/sbin/ and ensure it is executable (chmod
> +x snmptthandler)
>
> 4. Copy snmptt.ini to /etc/snmp/ or /etc/ and edit the options inside
> the file.
>
> 5a. For standlone mode: Modify the Net-SNMP snmptrapd.conf file by
> adding the following line:
>
> traphandle default /usr/sbin/snmptt
> Note: It is possible to configure snmptrapd to execute snmptt based on
> the specific trap received, but using the default option is preferred
>
> 5b. For daemon mode: Modify the Net-SNMP snmptrapd.conf file by
> adding the following line:
> traphandle default /usr/sbin/snmptthandler
> Launch snmptt using:
>
> snmptt --daemon
>
> A startup script is included which can be used to start and stop snmptt
> on Mandrake, RedHat and other systems. Copy the script to the init.d
> directory (renaming the file during the copy):
> cp snmptt.init.d to /etc/rc.d/init.d/snmptt
>
> Add the service using chkconfig:
>
> chkconfig --add snmptt
>
> Configure the service to start at runlevel 2345:
>
> chkconfig --level 2345 snmptt on
>
> Snmptt will be started at the next reboot, or can be started immediately
> with:
>
> service snmptt start
>
> or
>
> /etc/rc.d/init.d/snmptt start
>
> 6. Start snmptrapd using the command line: snmptrapd -On.
> You should be able to edit the /etc/rc.d/init.d/snmptrapd script if
> you have one and change
> the OPTIONS to "-On".
>
>
> Note: The -On is recommended. This will make snmptrapd pass OIDs in
> numeric form and prevent SNMPTT from having to translate the symbolic
> name to numerical form. If the UCD-SNMP / Net-SNMP Perl module is not
> installed, then you MUST use the -On switch. Depending on the version
> of UCD-SNMP / Net-SNMP, some symbolic names may not translate correctly.
> See the FAQ for more info.
> As an alternative, you can edit your snmp.conf file to include the
> line: printNumericOids 1. This setting will take effect no matter what
> is used on the command line.
>
> 7. See the Securing SNMPTT section
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Dave Shield
> Sent: Tuesday, January 16, 2007 4:45 AM
> To: Nedim Bicic
> Cc: [email protected]
> Subject: Re: snmp installtion properly
>
> On 15/01/07, Nedim Bicic <[EMAIL PROTECTED]> wrote:
> > I installed snmpbetav1 on my server and trying to get the snmp traps
> working
>
> What is "snmpbetav1"?
> It's not a term/package that I've come across
> (and there are no matches on Google).
>
>
> > I did read the docs and followed the instructions on getting it up and
> > running.
>
> Assuming you're using some version of the Net-SNMP software, what
> exactly did you do to get things running? How have you configured the
> agent? Can you query it directly (e.g. using 'snmpwalk')?
>
>
> Dave
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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