RE: File Descriptor Event Management

2005-02-23 Thread Olsson, Sten
OS> This function previously existed for snmpd, but was OS> coded right in snmpd.c and agent_registry.c. This OS> change, moves these changes to a new unit called OS> fd_event_manager.c which can then be used in other OS> places (snmptrapd). RS> Good idea. I only see a few minor changes, but I

RE: Problem calling a shellscript via the pass command

2005-02-23 Thread Bruce Shaw
quick win: >lrwxrwxrwx 1 root root 17 Jan 27 12:47 /usr/lib/_x_libssasnmp.so -> ./libssasnmp.so.1 >-rwxr-xr-x 1 root bin 159792 Jun 18 2004 /usr/lib/_x_libssasnmp.so.1 >-rw-r--r-- 1 root bin 262 Apr 6 2002 /usr/lib/_x_llib-lssasnmp >-rw-r--r-- 1 root

Problem calling a shellscript via the pass command

2005-02-23 Thread Thomas Markus Stephan
Dear Sirs, I installed net-snmp 5.1.1 which I downloaded from sunfreeware for Solaris 9. The pass commandof the configuration file for the snmpd looks like: # grep pass /usr/local/share/snmp/snmpd.conf pass .1.3.6.1.4.1.13069.20.3.2 /usr/local/share/snmp/diveoBackup/robotTable.sh pass .1.3.6.1.4.

Re: how to return no such instance for delegated requests

2005-02-23 Thread madanagopal
hai, > M> If [the response] has not come, i set "SNMP_ERR_NOSUCHNAME" to > M> requests->status and unmark the request as delegated. But i get another > M> request for the next registered mib tree. > M> [...] > M> when i don't delegate the request but still set "SNMP_ERR_NOSUCHNAME", the > M> ag

Re: IPv6 on Windows [not Linux]

2005-02-23 Thread Robert Story
On Wed, 23 Feb 2005 08:36:25 -0500 Andy wrote: AS> > Uggh. How about a mini-installer that asks which they want, then AS> > downloads the appropriate file? (lots of installers are doing that these AS> > days). AS> AS> That would be prettier than mashing them all into one installer. Well, we've go

Re: how to return no such instance for delegated requests

2005-02-23 Thread Robert Story
On Wed, 23 Feb 2005 20:10:02 +0530 (IST) madanagopal wrote: M> If [the response] has not come, i set "SNMP_ERR_NOSUCHNAME" to M> requests->status and unmark the request as delegated. But i get another M> request for the next registered mib tree. M> [...] M> when i don't delegate the request but s

Re: File Descriptor Event Management

2005-02-23 Thread Robert Story
On Tue, 22 Feb 2005 17:38:16 -0500 Olsson, wrote: OS> This patch allows the user to register for activity on OS> external (non-SNMP) file descriptors and have callbacks OS> called in snmpd and snmptrapd applications. OS> OS> This function previously existed for snmpd, but was OS> coded right in

RE: Warnings

2005-02-23 Thread Ike Eisenschmidt
Thanks, I just followed the instructions. :) -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 5:54 AM To: Ike Eisenschmidt Cc: [email protected] Subject: Re: Warnings On Fri, 18 Feb 2005 16:54:58 -0800 Ike wrote: IE> S

Re: Probably Solution to the problem AgentX on Win32 (MinGW)

2005-02-23 Thread Robert Story
On Wed, 23 Feb 2005 10:33:10 +0100 Maurizio wrote: MR> I want tell you that I have find the probably solution to the problem of MR> AgentX on Win32 (MinGW). MR> MR> The main of subagent (client) needs SOCK_STARTUP macro, before the MR> init_agent function, MR> for socket's initialization. MR>

how to return no such instance for delegated requests

2005-02-23 Thread madanagopal
hai, I have extended the agent to support my own oids of a MIB. Since the source for these data is external, i mark these requests as delegated and communicate these requests to another process through sockets. Now when the responses come from that process, i am unmarking the request as dele

Re: AgentX problem on Win32 - MinGW

2005-02-23 Thread Andy Smith
Penz, Bernhard wrote: Hi, Have you tried to snmpwalk the net-snmp master agent to check if it is running? Have you tried to do a "ping localhost" to check if it works? Have you tried to do a "telnet localhost 705" to check if the master agent is listening on the socket? Because the error message be

Re: IPv6 on Windows [not Linux]

2005-02-23 Thread Andy Smith
Robert Story wrote: On Sun, 20 Feb 2005 18:42:26 -0500 Alex wrote: AB> Another option is to compile 2 (or 4 if SSL) ways and include them all AB> in the binary installer. The user can then pick what support they want AB> during installation. That would of course make the .exe 2 or 4 times AB>

Probably Solution to the problem AgentX on Win32 (MinGW)

2005-02-23 Thread Maurizio RUBINI
Hi, I want tell you that I have find the probably solution to the problem of AgentX on Win32 (MinGW). The main of subagent (client) needs SOCK_STARTUP macro, before the init_agent function, for socket's initialization. I have modified the net-snmp-config and the new file generated is : /*

RE: AgentX problem on Win32 - MinGW

2005-02-23 Thread Maurizio RUBINI
Thank Bernhard, BP>Have you tried to snmpwalk the net-snmp master agent to check if it is BP>running? Yes I have: Master Agent responds with MIBII but not with the MIB's extension in subagent. BP>Have you tried to do a "ping localhost" to check if it works? Yes, it works. BP>Have you tri