RE: Why is the community name not available with SNMPV3 traps.

2009-04-29 Thread Mike Ayers
> From: Alex Peeters [mailto:alex.peet...@citap.be] > Sent: Wednesday, April 29, 2009 2:10 AM > Now we used in the passed the community as an unique key to define a > weblogic domein. > > We have for each weblogic domein an other unique Agent id. > > How can i get the agent id from my trap ?

RE: snmp start on systemboot

2009-04-29 Thread Mike Ayers
> From: Remy Heuvink [mailto:remy.heuv...@am.nl] > Sent: Monday, April 27, 2009 2:02 AM > this is my snmptrapd.conf: > = > traphandle default /usr/bin/traptoemail -f i...@xxx.nl -s > localhost r...@xxx.nl > = That's all

Re: engineID's format

2009-04-29 Thread Wes Hardaker
> On Wed, 29 Apr 2009 11:14:11 -0700, "conniech" > said: c> Is it true that engineID is a 22 digit hex string? No, engineIDs can be variable in length depending on how they're defined. At a minimum I think they're 5 octets (10 hex), and likely much longer. And there is no one using a

engineID's format

2009-04-29 Thread conniech
Hi all, Is it true that engineID is a 22 digit hex string? Any particular format we should look for when we allow the user to input the trapdest engineID? Thanks Connie -- Register Now & Save for Velocity, the Web Perfo

Re: If it's possible to get the engine ID from traphandle

2009-04-29 Thread Wes Hardaker
> On Wed, 29 Apr 2009 17:48:45 +0200, "Alex Peeters" > said: AP> Do you have an example how to do this ? Actually, it turns out it's already available in the embedded perl support. If you have embedded perl working within your net-snmp installation, then you should be able to read and

Re: initiate a coldStart / warmStart trap

2009-04-29 Thread Wes Hardaker
> On Mon, 27 Apr 2009 14:02:17 +0300, Tanya Brudner > said: TB> I am attempting to write a subagent, and at the moment I'm a little TB> confused about how to initiate my own coldStart/WarmStart traps. You generally shouldn't do this. If you need to send a trap from your subagent to ind

Re: How to get remote snmp device engine boot and engine time (is there any specific oid to retrieve it)

2009-04-29 Thread Wes Hardaker
> On Wed, 29 Apr 2009 08:32:39 +0100, Dave Shield > said: >> We have a stub code which sends 10 requests using SNMPv3 to the target MFP. >> 1. After sending 5 requests, Restart the MFP(snmp device) and wait for >> MFP to reboot completely >>     2. Then send the request again >>    

Re: If it's possible to get the engine ID from traphandle

2009-04-29 Thread Wes Hardaker
> On Wed, 29 Apr 2009 07:45:18 +0200, Alex Peeters > said: AP> If it's possible to get the engine ID from traphandle. Right now traphandles don't pass any information into the called program so it would be a bit hard to add. It would be a lot easier to add it to the embedded perl suppo

Re: Lots of mib errors

2009-04-29 Thread Wes Hardaker
CE> I have recently installed a fair amount of MIBs (from Cisco an 3com) on CE> my snmptrapd server. There seems to be a fair amount of errors when CE> loading MIBs. See end of email for a list. You do have a lot of errors. Some of them are minor, some of them are more major. Most of them loo

Re: Why is the community name not available with SNMPV3 traps.

2009-04-29 Thread Alex Burger
I found the discussion. It was regarding SNMP v2, not 3: http://sourceforge.net/tracker/index.php?func=detail&aid=1605253&group_id=12694&atid=362694 Embedded Perl may be an option for the Engine ID: http://search.cpan.org/~hardaker/NetSNMP-TrapReceiver-5.0301/TrapReceiver.pm Alex Alex Peete

Re: Why is the community name not available with SNMPV3 traps.

2009-04-29 Thread Alex Peeters
Hi Dave, Oke. Now we used in the passed the community as an unique key to define a weblogic domein. We have for each weblogic domein an other unique Agent id. How can i get the agent id from my trap ? Other solution ? -- Alex Quoting Dave Shield : > 2009/4/29 Alex Peeters : >> Why is the

Re: Why is the community name not available with SNMPV3 traps.

2009-04-29 Thread Dave Shield
2009/4/29 Alex Peeters : > Why is the community name not available with SNMPV3 traps. Because it doesn't exist. There is no community name in an SNMPv3 request (be this trap, SET or GET*). It's simply not part of the SNMPv3 administrative framework. Dave ---

Why is the community name not available with SNMPV3 traps.

2009-04-29 Thread Alex Peeters
Why is the community name not available with SNMPV3 traps. One may argue that you shouldn't be using security 'passwords' for organizing your traps, but we allow it for SNMPV1/2. It's only for receiving traps anyways. Can i use the agent id from V3? If yes, how ? Details: SNMPv2 -- With

If it's possible to get the engine ID from traphandle

2009-04-29 Thread Alex Peeters
Hi, If it's possible to get the engine ID from traphandle. -- Alex Peeters [zxr...@users.sourceforge.net] - Hi Alex Peeters, If it's possible to get the engine ID from traphandle, then we would be able to add it to SNMPTT. Let's see what the response i

Re: MIB desgin problem.

2009-04-29 Thread Dave Shield
[ 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. ] 2009/4/

Re: How to get remote snmp device engine boot and engine time (is there any specific oid to retrieve it)

2009-04-29 Thread Dave Shield
2009/4/29 anand chandragandhi : > I need to know the snmp engine id and engine boot  and engine time of remote > device > > How to discover that . Send an SNMPv3 message, with null engine ID, boot and time values. You will receive a REPORT packet back, which includes this missing information. The

Re: pass / pass_persist not running my script

2009-04-29 Thread Dave Shield
2009/4/28 Michel Peterson : > Facts I know: >    - my script is chmoded +x >- the read permissions are ok What are the permissions on the file? >    - the directive is properly configured on snmpd.conf What is the snmpd.conf configuration? What command are you using to query the script? Wha