Re: how external applications can cause the agent send a notification?

2009-03-10 Thread Dave Shield
2009/3/9 Sajid, Mohammed mohammed.sa...@ipc.com: I like to send a signal to the agent causing a notification from inside the agent to be sent out. The simplest approach would probably for your application to register as an AgentX subagent, and send a suitable AgentX notification request to the

agentx/master: unexpected callback op 4

2009-03-10 Thread R. Diez
Hi all: I'm running the Net-SNMP 5.4.2.1 daemon on Windows XP as a console application, and I'm debugging my own AgentX subagent under Visual Studio 2005. When the subagent connects to the daemon, the first daemon log message reads agentx/master: unexpected callback op 4. I looked at the

Re: UCD-SNMP-MIB returns Empty

2009-03-10 Thread malar vizhi
Hi Dave, OS is linux...ucd-smp version is 4.2.4 .. Thanks in Advance Malar On Tue, Mar 10, 2009 at 1:54 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: 2009/3/10 malar vizhi malar...@gmail.com: This is how my conf file looks now.. rwcommunity public includeAllDisks 100% Yes -

Re: UCD-SNMP-MIB returns Empty

2009-03-10 Thread Dave Shield
2009/3/10 malar vizhi malar...@gmail.com:     OS is linux...ucd-smp version is 4.2.4 .. OK - that explains everything. The includeAllDisks directive was only introduced in early 2003 (with v5.1, I believe) Version 4.2.4 dates back to mid-2002 That line of code hasn't been supported for over

Re: UCD-SNMP-MIB returns Empty

2009-03-10 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. ]

problem while doing snmpwalk/snmpget

2009-03-10 Thread Rajesh Chatterjee
Hi , While doing snmpget/snmpwalk, it is observed that we are facing Timeout. After further looking into the problem it is found that netsnmp (snmpd) daemon is regularly hanging on a send() system call. We are using net-snmp.5.2.4 and even same problem is observed in net-snmp 5.2.5. pstack is

Re: UCD-SNMP-MIB returns Empty

2009-03-10 Thread malar vizhi
First Of all Sorry Dave...Bcoz by mistake I had sent to your personal Id.. Thanks For your useful informationWe are developing a monitoring tool...So I coudn't decide the upgradation..I have to discuss with my seniors... Malar.. On Tue, Mar 10, 2009 at 4:21 PM, Dave Shield

communication between-subagent and existing apps

2009-03-10 Thread Raghu Ramaraj
Hi I am having queries related to communication between-subagent and existing apps/driver. Assume my snmpd is running fine. The subagent (example) is also running and it is communicating with main agent 1) If I want information from existing application, what are the things need to do? The

Re: FW: Subagent OID

2009-03-10 Thread Dave Shield
2009/3/10 Samer Vazdekis sbazd...@hotmail.com: Would adding a new interface to specifically set the open-pdu subagent OID be a good idea?. It will overwrite the oid given to snmp_add_var() in agentx_open_session(), in ./agent/mibgroup/agentx/client.c That doesn't feel necessary. Just use the

RE: Subagent OID

2009-03-10 Thread Samer Vazdekis
Yes I did try the sysobjectid directive but didn't work. Looking at code, I see the open-pdu OID is always set to the sysObjectId. I have a multiple agentx subagents in the system and each should have it's own unique subagent OID. In /agent/mibgroup/agentx/client.c int

Thread Safety !!!

2009-03-10 Thread Harish(SapphireIMS Team)
Hi, I want to integrate C/C++ application with net-snmp library. So I was going through net-snmp README files in version net-snmp-5.4.rc1 and found two things - 1) netsnmp.dll can be only used with Perl module and data will not be persistent if this is used with any other application. -

RE: Subagent OID

2009-03-10 Thread Samer Vazdekis
One problem, keep getting this warning. Warning: Unknown token: sysObjectID So, sysObjectID keeps it's default value. Date: Tue, 10 Mar 2009 15:10:37 + Subject: Re: Subagent OID From: d.t.shi...@liverpool.ac.uk To: sbazd...@hotmail.com CC: net-snmp-cod...@lists.sourceforge.net