Re:Help!"No Such Object available on this agent at this OID" about NET-SNMP

2007-06-16 Thread Goodshirly
Hi,Dave: Thanks a million for your help.I've fixed the problem already. >Did you actually *run* the snmpd agent that you compiled? >/etc/snmp/snmpd.conf will typically apply to the vendor-supplied agent.>/usr/local/share/snmp/snmpd.conf will apply to the version you compiled.>You need to make

Re: Gracefully restart an agent

2007-06-16 Thread Peter Marinec
Is there any reason that "restart_hook" uses the signal function, rather than snmp_alarm_register? Using the later would make it not dependant on having SIGALRM (win32 doesn't support this in its signaling)... the only other change would be to #include and #if WIN32 run _execv rather than execv

net-snmp-lvs-module: 64-bit / 32-bit counters

2007-06-16 Thread Alex Davies
Hi, I have found the net-snmp-lvs module at http://homes.tiscover.com/jrief/net-snmp-lvs-module/. This seems to work fine, but I have a odd problem which I am sure can be fixed easily. I've hit a problem using it: after much investigation my numbers appear to be getting padded out with 32 bits of

Re: Gracefully restart an agent

2007-06-16 Thread Thomas Anders
Peter Marinec wrote: > I looked further into the versionRestartAgent, and found that the hook > it uses to do the restart isn't run on a Win32 platform (without > cygwin)... If you can you propose a mechanism that works on Win32, please submit it to http://www.net-snmp.org/patches . +Thomas ---

Re:

2007-06-16 Thread Dave Shield
On 15/06/07, shliu <[EMAIL PROTECTED]> wrote: > I download net-snmp-5.0.9 from www.sourceforge.net or > www.net-snmp.org. Please note that this version is very old, and the 5.0.x line is no longer being maintained. You would be better off looking at one of the more recent releases - e.g. 5

Problem with building Netsnmp package for mips64.

2007-06-16 Thread mushtaq khan
Hi, Iam building Net-snmp package for mips64 processor. In compilation i didn't get any errors but none of .so files are getting generated. I have enabled --enable-shared option while configuring. Please help me to get out of this problem. I ran the configure with following options. RANLIB=mi

RE: Gracefully restart an agent

2007-06-16 Thread Peter Marinec
I don't think it matters what I'm SETting - I looked further into the versionRestartAgent, and found that the hook it uses to do the restart isn't run on a Win32 platform (without cygwin)... in "agent\mibgroup\util_funcs.c" - restart_hook() only does actual work if SIGALRM is defined (not so on

[no subject]

2007-06-16 Thread shliu
hello: I download net-snmp-5.0.9 from www.sourceforge.net or www.net-snmp.org. try to install the snmp from the source according to "INSTALL" file in the package. 1. ./configure --prefix sliu --exec-prefix sliu 2. make 3. uname 022 4. make install. it 's ok now, we can get the snmpd, snm

Web-site faults

2007-06-16 Thread Bernd Krueger-Knauber
Hi net-snmp, thank you for the fast responce and the correction of the links. But... on the page http://www.net-snmp.org/support/mailinglists.html the links behind 'Browse and search archive' are also wrong. Please check them. Best regards, Bernd -

bug in NetSNMP::agent

2007-06-16 Thread Steven Jenkins
net-snmp version 5.4; platform Ubuntu Linux, Feisty Fawn. I followed the sample Perl code for setting up an agent (in agent.pm), but kept getting this error message: Argument "ASN_OCTET_STR" isn't numeric in subroutine entry at ./simple- sub-agent-example.pl line 21. Some poking around made me

Re: Adding new OIDs in existing MIB files

2007-06-16 Thread Dave Shield
On 16/06/07, Syed Mujtaba Ahmed Razvi <[EMAIL PROTECTED]> wrote: >I am working on SNMP in windows xp. After i have created the mib, do i > need to compile it using some tool or not like mibcc.exe etc ? How the new > mib file created will get integrated with the old existing mib? Please see the

Re: HOST-RESOURCES-MIB::hrDeviceStatus

2007-06-16 Thread Dave Shield
On 16/06/07, Jimbo Cham <[EMAIL PROTECTED]> wrote: > Before I mess with teh configure.in file I have to get it to compile and > link. I modified the makefile and all compiles but I just cant get the thing > to link. This is the snippet .. > gcc -g snmpd.o -lsmartctl -lstdc++ > ./.libs/libnetsn

Re: Adding new OIDs in existing MIB files

2007-06-16 Thread Syed Mujtaba Ahmed Razvi
Thanks! I am working on SNMP in windows xp. After i have created the mib, do i need to compile it using some tool or not like mibcc.exe etc ? How the new mib file created will get integrated with the old existing mib? I have an existing MIB with tree like + iso + org + dod + inte