Re: Installing NetSNMP::agent on Cygwin

2011-02-25 Thread Roche, Christian (EXT-Other - MA/Rabat)
Hi Dave, thanks a lot for your answer. >>> perl -M CPAN -e shell > >No - that probably won't work. >You need to ensure that you're using the SNMP modules that >match the version of the C library that you are using. >We tend to recommend that you retrieve the relevant source >tarball, and use th

Re: Installing NetSNMP::agent on Cygwin

2011-02-25 Thread Dave Shield
On 24 February 2011 09:49, Roche, Christian (EXT-Other - MA/Rabat) wrote: > I have written a small SNMP probe using NetSNMP::agent that's working fine > on CentOS 5.5. I installed the required Perl modules as RPM packages using > yum (net-snmp-perl-5.3.2.2-9.el5_5.1.x86_64.rpm). Now I would like t

Re: Net-SNMP caching?

2011-02-25 Thread Dave Shield
On 25 February 2011 17:06, Martin Townsend wrote: > Does the Net-SNMP library cache results of a SNMP Get Request? No. The only caching is within the SNMP agent (which depends on the individual MIB module implementation) But even there, the SET request ought to invalidate this caching. >   I

Re: Need the source to create my own SNMP Master Agent

2011-02-25 Thread Dave Shield
On 24 February 2011 11:25, Bart Van Assche wrote: >> Create and configure a Master SNMP Agent ... >> and must be able to include SMUX support. > It looks like a good idea to me to ask the person who asked you this why > SMUX support is required instead of AgentX support. My guess is that there i

Re: Restart Subagent after snmpd restart

2011-02-25 Thread Dave Shield
On 25 February 2011 15:35, Eldon Hiebert wrote: > So I have an SNMP sub-agnet that talkes to master agentx over the agentx > socket. > When the snmpd restart the socket fd which I watch for select is invalid. > I assume I need to restart the subagent. Not necessarily - the subagent should be abl

Re: Need the source to create my own SNMP Master Agent

2011-02-25 Thread valerie_nelson
Thank you, Bart !! I will take your advice. Kind Regards, Valerie Nelson IBM Certified System Administrator Domino Staff Software Engineer IBM Software Group / Domino for Unix & Linux on IBM System z 610.578.2825 (phone) | 873.2825 (TL) Please copy lotus_supp...@mainz.ibm.com on all e-mail S

Release 5.6.1. config script error if read_config.h is included

2011-02-25 Thread Chaim Geretz
Greetings, I coded an extension .h file the pulls in read_config.h. It falsely fails the following configure test (starting on line 28516) due to the presence of the netsnmp_config_error function signature. error=`$MODULECPP module_tmp_header.h | $GREP config_error | $SED 's/.*config_error(\(".*\

RE: Installing NetSNMP::agent on Cygwin

2011-02-25 Thread Roche, Christian (EXT-Other - MA/Rabat)
Hi again, doesn't anybody here have an answer regarding my problem? Isn't this the right place to ask this? Thanks for your help, Chris Original message: >I have written a small SNMP probe using NetSNMP::agent that's working fine on >CentOS 5.5. I installed the required Perl modules as RPM

Re: net-snmp error

2011-02-25 Thread Dave Shield
On 25 February 2011 08:34, Matty Ronald wrote: > We are facing problem with net-snmp. > Net-SNMP is not working fine on all the machines. > > The below command fails on some machines: > >snmpwalk -c public -v2c localhost   > > Can you please let us know how to proceed? and what might be causin

Net-SNMP caching?

2011-02-25 Thread Martin Townsend
Hi, Does the Net-SNMP library cache results of a SNMP Get Request? I have an application that performs an SNMP Get Request, checks to see if the value is different that what the application wants and if so send a Set Request to change it. This happens every second. The problem I'm seeing

Restart Subagent after snmpd restart

2011-02-25 Thread Eldon Hiebert
I've searched the archives for a solution to this, but haven't found it. So I have an SNMP sub-agnet that talkes to master agentx over the agentx socket. Also, cannot block on this process waiting for snmp requests. So I use select to timeout in order to kick a watchdog. When the snmpd restart t

Fwd: snmpset via TCP

2011-02-25 Thread Egor
Hello! I'm trying to use snmpset over TCP protocol, but can't find a way, is somewhere option for snmpset to use TCP protocol? snmpget -v2c -c private 192.168.0.10:171 is timeout, but I'm sure that snmpd on another station is running with 171 opened port. Best regards, Egor. --

net-snmp error

2011-02-25 Thread Matty Ronald
Hi all, We are facing problem with net-snmp. Net-SNMP is not working fine on all the machines. The below command fails on some machines: snmpwalk -c public -v2c localhost Can you please let us know how to proceed? and what might be causing the failure of this command. Please reply as soon a

Re: snmpset via TCP

2011-02-25 Thread Egor
I found solution by myself: snmpwalk -v2c -c private tcp:192.168.0.10:171 anyway thanks =) 2011/2/25 Egor > Hello! > > I'm trying to use snmpset over TCP protocol, but can't find a way, is > somewhere option for snmpset to use TCP protocol? > > snmpget -v2c -c private 192.168.0.10:171 > > is