Re: about agentx support in windows

2006-12-04 Thread bhushan
Hello, Sir the code that i have given in last mail. I tried that code to run in linux it run properly in linux this is log of snmpd process running on linux after receiving trap from my code Received 80 bytes from 127.0.0.1 : 01 01 00 00 00 00 00 00 00 00 00 00 21 75 CC 67

Re: snmpget cannot find the mibs

2006-12-04 Thread Lakshmi
Hi all, Thanks a lot for your overwhelming response. After executing the command $export MIBS=ALL , i am not seeing the warning messges. Special Thanks Ramji & Narayana, Lakshmi On 12/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Try exporting the MIBDIRS and MIBS variables $ export M

Re: disman event - monitoring scalar values (net-snmp 5.4)

2006-12-04 Thread Pete Marinec
hey dave - i did a snmpwalk rather than a snmptable on disman... C:\usr\bin>snmpwalk -v 3 -u default -l noAuthNoPriv localhost disman DISMAN-EVENT-MIB::mteTriggerComment."snmpd.conf".'rTrap' = STRING:DISMAN-EVENT-MIB::mteTriggerTest."snmpd.conf".'rTrap' = BITS: 40 boolean(1) DISMAN-EVENT-MIB::mt

SNMPv2 trap and community strings

2006-12-04 Thread Mikael Göransson
Hello, I've been having trouble with community strings not beeing passed to traphandlers as it does with SNMPv1. For SNMPv1 trap it seems like the community string is added to the variable list when converting it to a v2 PDU (convert_v1_to_v2pdu()). I know that the community string is present

Re: snmpget cannot find the mibs

2006-12-04 Thread ML
Dnia poniedziałek, 4 grudnia 2006 15:27, Lakshmi napisał: > Hi all, > > snmpget cannot find the mibs and i am getting warning messages as follows. > Kindly let me know how to overcome this issue. export SNMPCONFPATH=/dir/where/you/have/snmp.conf with mibs directive. -- best regards, ML ---

Re: about agentx support in windows

2006-12-04 Thread bhushan
sorry sir By typing mistake i made that mistake in mail. both port numbers setting are same still main agent not getting packet of subagent(i.e. traps). what may be the problem? sorry for my typing mistake again Thanks Regards Bhushan. E . Sonawane On 12/4/06, Dave Shield <[EMAIL PROTECTED]> wro

snmpget cannot find the mibs

2006-12-04 Thread Lakshmi
Hi all, snmpget cannot find the mibs and i am getting warning messages as follows. Kindly let me know how to overcome this issue. testbed.com$ ./snmpget -t 0 -v 3 -u user1 -l authNoPriv -a MD5 192.168.0.12 1.3.6.1.2.1.1.3.0 Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-

Re: about agentx support in windows

2006-12-04 Thread Dave Shield
On 04/12/06, bhushan <[EMAIL PROTECTED]> wrote: > for agentx support enabling i putted following line in my snmpd.conf > master agentx >agentXSocket tcp:127.0.0.1:755 So the master agent is listening on port 755 > char *cptr= "tcp:localhost:705"; > netsnmp_ds_set_string(NETSNMP_DS_APPL

about agentx support in windows

2006-12-04 Thread bhushan
hello friends Greetings, I have installed netsnmp-5.4 using win32( MVC++), i am writing code for subagent which will send traps to AgentX master agent. Problem with the code is it execute all api of netsnmp correctly (put up code at end) but no trap received by main agent( even if no packet recei

Re: disman event - monitoring scalar values (net-snmp 5.4)

2006-12-04 Thread Dave Shield
On 04/12/06, Pete Marinec <[EMAIL PROTECTED]> wrote: > I ran it with "snmpd -f -Lf log.txt -Ddisman -d" > > the log file just had the Get/Set commands that I ran, nothing to do with > disman... H... That almost sounds as if the agent isn't supporting the DisMan stuff at all. Though in that

Re: disman event - monitoring scalar values (net-snmp 5.4)

2006-12-04 Thread Pete Marinec
http://pastebin.ca/266868 contains the log file.. i'm not sure what to look for - it seems like it parses fine From: "Dave Shield" <[EMAIL PROTECTED]> To: "Pete Marinec" <[EMAIL PROTECTED]> CC: [email protected] Subject: Re: disman event - monitoring scalar values (net-snmp

Re: disman event - monitoring scalar values (net-snmp 5.4)

2006-12-04 Thread Pete Marinec
I ran it with "snmpd -f -Lf log.txt -Ddisman -d" the log file just had the Get/Set commands that I ran, nothing to do with disman... >From: "Dave Shield" <[EMAIL PROTECTED]> >To: "Pete Marinec" <[EMAIL PROTECTED]> >CC: [email protected] >Subject: Re: disman event - monitorin

Re: disman event - monitoring scalar values (net-snmp 5.4)

2006-12-04 Thread Dave Shield
On 04/12/06, Pete Marinec <[EMAIL PROTECTED]> wrote: > >What is the exact command that you are using to start the agent? > >What do you see if you walk the DisMan Event tables? > > C:\usr\bin>snmpd -Ddisman -d Try snmpd -f -Le -Ddisman -d (I'm not sure where the agent logs output by default

Re: disman event - monitoring scalar values (net-snmp 5.4)

2006-12-04 Thread Pete Marinec
From: "Dave Shield" <[EMAIL PROTECTED]> To: "Pete Marinec" <[EMAIL PROTECTED]> CC: [email protected] Subject: Re: disman event - monitoring scalar values (net-snmp 5.4) Date: Mon, 4 Dec 2006 10:45:03 + On 04/12/06, Pete Marinec <[EMAIL PROTECTED]> wrote: >Try specifyi

Re: disman event - monitoring scalar values (net-snmp 5.4)

2006-12-04 Thread Dave Shield
On 04/12/06, Pete Marinec <[EMAIL PROTECTED]> wrote: > >Try specifying the monitor command using the "-I" (capital i) flag, > >and giving the exact OID (i.e. including the .0 instance subidentifier) > > > >If that still doesn't work, try running the agent with the option -Ddisman, > >too give some

RE: disman event - monitoring scalar values (net-snmp 5.4)

2006-12-04 Thread Pete Marinec
>From: "Dave Shield" <[EMAIL PROTECTED]> >To: "Pete Marinec" <[EMAIL PROTECTED]> >CC: [email protected] >Subject: Re: disman event - monitoring scalar values (net-snmp 5.4) >Date: Mon, 4 Dec 2006 09:13:20 + > >On 28/11/06, Pete Marinec <[EMAIL PROTECTED]> wrote: >>For exampl

how to INFORM with responses?

2006-12-04 Thread Harold J. Ship
I have an agent built with net-snmp version 5.3.0.1. This agent sends v2 TRAPs using the send_v2trap() call. My customer wants to move to INFORM messages. I manually create the sessions using create_trap_session(). What I've found is, if the receiver doesn't respond to the first try, the INFORM is

Re: disman event - monitoring scalar values (net-snmp 5.4)

2006-12-04 Thread Dave Shield
On 28/11/06, Pete Marinec <[EMAIL PROTECTED]> wrote: > For example > manager does a SET request for a BIT saying execute (an INT 1), the agent > receives the set, then notifies saying the BIT has completed, That is presumably in addition to the RESPONSE, sent back to say that the SET succeeded?