agentxsocket command error

2008-03-03 Thread oknets10
Hello, I'm trying to create a subagent with the instructions in "TUT:Writing a Subagent" second part "Instrumenting your own code with agentx subagent support" and when I run my subagent I got the following error when it read the ".conf" file: "Warning: Unknown token: agentxsocket". why ? I'm abl

Net-SNMP (ASAP)

2008-03-03 Thread Umesh Kamath
Hi I am Using Net-SNMP suits of Internet Express( binaries file) package from HP UX. I want to know 1) How to disable the Agent while installing Net-SNMP binaries . 2) If we disable the snmp AGENT what happens to Mib. 3) How to delete/not to load Mib to SNMP Agent. <>---

cant delete with deletesec2group

2008-03-03 Thread Maciek
Hi, I am trying to delete a vacm group that has been configured in config file when the agent is running and it fails even after the corresponding user is deleted from usm table. When I try to delete group entry that was create using createsec2group everything works fine. Anybody knows what m

Re: How to design the agent for northbound interface

2008-03-03 Thread Dave Shield
On 01/03/2008, Sun Le <[EMAIL PROTECTED]> wrote: > How to develop the agent and mib to support?I need to make the platform > to collect the information from the devices first, No - the *first* thing you need to do is think about what sort of information is relevant for this particular device.

Re: Trap Handler for Net-snmp 5.3.1

2008-03-03 Thread Dave Shield
On 27/02/2008, Shreya Shah <[EMAIL PROTECTED]> wrote: > I am a newbie to net-snmp and Linux, I have configured snmptrapd.conf > net-snmp 5.3.1 and when I start the daemon I receive traps but its just not > invoking the trap handler. When I use the command snmptrapd -f -Le > -Dsnmptrapd -d it just g

Re: library location of snprint_objid

2008-03-03 Thread Dave Shield
On 27/02/2008, grant mills <[EMAIL PROTECTED]> wrote: > My implementation of net-snmp cannot find the function "snprint_objid" > which I assume would give me what I want > Does anyone know what library (or file) I must include in my build to > get this functionality. That routine should be

Re: Can't load mib file - I've read all the post I could find and tried everithink, but nothing worked.

2008-03-03 Thread Dave Shield
On 28/02/2008, vsaavedra <[EMAIL PROTECTED]> wrote: > Now I'm trying to run mib2c, and it cant find the mib file. What does your MIB file look like? Dave - This SF.net email is sponsored by: Microsoft Defy all challenges. M

Re: Max number of resend request

2008-03-03 Thread Dave Shield
On 29/02/2008, Vishal Nandanwar <[EMAIL PROTECTED]> wrote: > Can anybody tell me, where is the code written to handle the max number of > resend request completed for trapsess? The code for processing the "-r" flag (for command-line tools or the "trapsess" directive) is in the file snmplib/snmp_pa

Re: periodic TRAP watcher!

2008-03-03 Thread Dave Shield
On 28/02/2008, Raghavendra Prasad <[EMAIL PROTECTED]> wrote: > My questions is the above function call is implemented in an infinite > loop with periodic calls to function "send_example_notification". ... > [I] believe that the program > execution will never come out of "continous watch

Re: Net-SNMP-Tutorial-MIB Whys

2008-03-03 Thread Dave Shield
On 03/03/2008, Rashid Noor <[EMAIL PROTECTED]> wrote: > In example-demon.c Why cant I send notification once? or this is not the > right place? > while(keep_running){ > send_nsTutorialNotifyStart_trap(); > agent_check_and_process(1); > } Think about what that code is actually doing. It will

Re: cant delete with deletesec2group

2008-03-03 Thread Dave Shield
On 27/02/2008, Maciek <[EMAIL PROTECTED]> wrote: > I am trying to delete a vacm group that has been configured in config file > when the agent is running If the VACM group has been configured via the snmpd.conf file, then it is read-only, and cannot be deleted using SNMP SET commands. You would ne

Re: Net-SNMP-Tutorial-MIB Whys

2008-03-03 Thread Dave Shield
On 03/03/2008, Rashid Noor <[EMAIL PROTECTED]> wrote: > As I mentioned earlier that I am seeking help regarding Notifications on > change of value for example OID nstAgentModuleObject. In which case, I suggest you look at the snmpd.conf directive "monitor", which is designed for exactly this pur

Re: Net-SNMP (ASAP)

2008-03-03 Thread Wes Hardaker
> "UK" == Umesh Kamath <[EMAIL PROTECTED]> writes: UK> 1) How to disable the Agent while installing Net-SNMP binaries . kill the agent before you do a make install if you're worried about that. In theory the libtool application should actually do a successful install of files even though

Re: Trap Handler for Net-snmp 5.3.1

2008-03-03 Thread Shreya Shah
Thanks Dave for your help. Yes that is all that is displayed. I have already stopped firewall service in iptables. --Shreya. On Mon, Mar 3, 2008 at 4:03 AM, Dave Shield <[EMAIL PROTECTED]> wrote: > On 27/02/2008, Shreya Shah <[EMAIL PROTECTED]> wrote: > > I am a newbie to net-snmp and Linux,

RE: agentxsocket command error

2008-03-03 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of oknets10 > Sent: Monday, March 03, 2008 1:34 AM > I'm trying to create a subagent with the instructions in > "TUT:Writing a Subagent" second part "Instrumenting your own > code with agentx subagent support" and > when I run m

Re: agentxsocket command error

2008-03-03 Thread Thomas Anders
Mike Ayers wrote: > oknets10 wrote: >> I'm trying to create a subagent with the instructions in >> "TUT:Writing a Subagent" second part "Instrumenting your own >> code with agentx subagent support" and >> when I run my subagent I got the following error when it read >> the ".conf" file: "Warning

Re: Problem with SNMP traps and cisco 6509

2008-03-03 Thread Thomas Anders
Shreya Shah wrote: > I have net-snmp running on a system which logs snmp traps from cisco > 6509. I see the following trap being logged. > > DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1024199770) 118 days, >>> 12:59:57.70 SNMPv2-MIB::snmpTrapOID.0 = OID: >>> SNMPv2-SMI::enterprises.9.

Problem with SNMP traps and cisco 6509

2008-03-03 Thread Shreya Shah
Hi, I have net-snmp running on a system which logs snmp traps from cisco 6509. I see the following trap being logged. DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1024199770) 118 days, >> 12:59:57.70 SNMPv2-MIB::snmpTrapOID.0 = OID: >> SNMPv2-SMI::enterprises.9.9.91.2.0.1 >> SNMPv2-SMI::

Re: Trap Handler for Net-snmp 5.3.1

2008-03-03 Thread Dave Shield
On 03/03/2008, Shreya Shah <[EMAIL PROTECTED]> wrote: > Yes that is all that is displayed. I have already stopped firewall service > in iptables. How are you generating the traps? Dave - This SF.net email is sponsored by: Mi

Re: Net-SNMP-Tutorial-MIB Whys

2008-03-03 Thread Dave Shield
On 03/03/2008, Rashid Noor <[EMAIL PROTECTED]> wrote: > I have tried following configurations in snmpd.conf > > notificationEvent nsTutorialNotifyStart nstAgentPluginObject > monitor -u testrw -r 60 -e nsTutorialNotifyStart "Generate > nsTutorialNotifyStart" -i nstAgentPluginObject != 0

Re: Trap Handler for Net-snmp 5.3.1

2008-03-03 Thread Shreya Shah
I am using snmptrapd.conf to generate traps. I have the same snmp community string set in the snmptrapd.conf and the device I want to monitor and I have given a log and execute permission for logging the traps in the desired file. The traps are logging and I can see them in the file as well as when

HMAC-SHA1-96 is supported?

2008-03-03 Thread Qing
Hi, I'm trying to upgrade the system to SNMPv3, and one requirement is to use HMAC-SHA1-96 with 160 bit key length, to check the SNMP message (note: it is SHA1, not SHA. ). But I could not find the related document for Net-snmp. Anybody knows if this is support by version 5.0.9? and how to confi

snmp mib file question

2008-03-03 Thread Simon PBrown
Hi.. I have a snmp mib file from my supplier for network devices. And when I used mg-soft mib compiler to compile and get the mib tree. I saw the mib tree only have oid start from 1.3.6.1.4 and there is no other there is no OID start from 1.3.6.1.2... and 1.3.6.1.6... But from the snm

RE: snmp mib file question

2008-03-03 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Simon PBrown > Sent: Monday, March 03, 2008 6:45 PM > I saw the mib tree only have oid start from > 1.3.6.1.4 and there is no other Correct. Your vendor gave you only *their* MIB file, which is all under .1.3.

AES supported as Privacy encryption by 5.0.9?

2008-03-03 Thread Qing
Hi, One place is saying YES, http://www.net-snmp.org/wiki/index.php/TUT:SNMPv3_Options "Authentication is performed by using a user's privKey to encrypt the data portion the message being sent. The privProtocol can be either AES or DES." But on my 5.0.9 runtime man page, it says, "The only priva