Guenther.Lukas | 17 Oct 13:48 2014

Build error, crypto library linking problem?

Hi!
 
I want to use NET-SNMP for setting up SNMP access eith DTLS. Since several days I’m trying to compile NET-SNMP. It seemed to be so easy following the manuals…
 
Following options where (last) used for configuring…
 
sudo ./configure --with-security-modules=tsm --with-transports=DTLSUDP --with-default-snmp-version="3" --with-sys-contact=" <at> <at> no.where" --with-sys-location="Unknown" --with-logfile="/var/log/snmpd.log" --with-persistent-directory="/var/net-snmp" --with-openssl="/usr/local/ssl/bin" --disable-snmpv1 --disable-snmpv2c
 
which lead to…
 
---------------------------------------------------------
            Net-SNMP configuration summary:
---------------------------------------------------------
 
  SNMP Versions Supported:    3
  Building for:               linux
  Net-SNMP Version:           5.7.2
  Network transport support:  Callback Unix Alias TCP UDP DTLSUDP IPv4Base SocketBase TCPBase UDPIPv4Base UDPBase TLSBase
  SNMPv3 Security Modules:     tsm usm
  Agent MIB code:             default_modules =>  snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities host
  MYSQL Trap Logging:         unavailable
  Embedded Perl support:      enabled
  SNMP Perl modules:          building -- embeddable
  SNMP Python modules:        disabled
  Crypto support from:        crypto
  Authentication support:     MD5 SHA1
  Encryption support:         DES AES
  Local DNSSEC validation:    disabled
 
---------------------------------------------------------
 
 
During the build some errors appear which might be dependant to the crypto library…
 
libtool: compile:  gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.18/CORE -c snmpd.c -o snmpd.o >/dev/null 2>&1
/bin/bash ../libtool  --mode=link gcc -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux  -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.18/CORE   -o snmpd snmpd.lo   libnetsnmpagent.la libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lm  -Wl,-E
libtool: link: gcc -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.18/CORE -o .libs/snmpd .libs/snmpd.o -Wl,-E  ./.libs/libnetsnmpagent.so -L/usr/local/lib -L/usr/lib/perl/5.18/CORE ./.libs/libnetsnmpmibs.so /home/update/net-snmp-5.7.2~dfsg/agent/.libs/libnetsnmpagent.so /home/update/net-snmp-5.7.2~dfsg/snmplib/.libs/libnetsnmp.so -lperl -ldl -lpthread -lc -lcrypt ../snmplib/.libs/libnetsnmp.so -lssl -lcrypto -lm
./.libs/libnetsnmpagent.so: undefined reference to `netsnmp_unix_parse_security'
./.libs/libnetsnmpagent.so: undefined reference to `netsnmp_udp_parse_security'
./.libs/libnetsnmpagent.so: undefined reference to `netsnmp_udp_getSecName'
./.libs/libnetsnmpagent.so: undefined reference to `netsnmp_unix_getSecName'
collect2: error: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory `/home/update/net-snmp-5.7.2~dfsg/agent'
make: *** [subdirs] Error 1
 
How can this be resolved?
 
OS: Ubuntu 14.04 (tried on version: 64 bit server, 32 bit server, 32 bit desktop)
 
Regards,
Guenther
 
 
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Jono Poff | 17 Oct 03:48 2014

netsnmp_large_fd_set_resize() sucking cycles


Hi,

I'm investigating excessive cpu usage in some server software on Solaris 10.

By prstat, the server process is using 13% (out of 25%, since it is a 
single thread on 4 cores).

By Brendan Gregg's hotuser script (see 
http://www.brendangregg.com/DTrace/hotuser) the function 
netsnmp_large_fd_set_resize() is using up to 80% of that.

By the same script, libnetsnmp.so is using over 80%.

The context of the call is that I'm using snmp_select_info() to 
integrate SNMP into my own event loop which uses select().  (This is 
pretty much as described under "Own custom event loop" at 
http://vincent.bernat.im/en/blog/2012-snmp-event-loop.html)

netsnmp_large_fd_set_resize() is called from snmp_read() and run_alarms().

The app is using net-snmp-5.6.1.1.  Would upgrading the library (not a 
trivial task) improve the situation?

Can anyone suggest what can be done to alleviate this.  64 bit Solaris 
has a fixed FD_SETSIZE of 64k, so what does 
netsnmp_large_fd_set_resize() need to resize that for?  Why does it 
require space for more than 65535 handles?

Also, how might the number of traps, and/or the configuration of the 
snmpd daemon affect this?  I don't have in depth knowledge of this 
protocol so I hope this is enough info.

Thanks in advance!
Jono Poff.

Senior Design Engineer
Tait Communications
Email: jonathan.poff <at> taitradio.com
www.taitradio.com

-- 

------------------------------
This email, including any attachments, is only for the intended recipient. 
It is subject to copyright, is confidential and may be the subject of legal 
or other privilege, none of which is waived or lost by reason of this 
transmission.
If you are not an intended recipient, you may not use, disseminate, 
distribute or reproduce such email, any attachments, or any part thereof. 
If you have received a message in error, please notify the sender 
immediately and erase all copies of the message and any attachments.
Unfortunately, we cannot warrant that the email has not been altered or 
corrupted during transmission nor can we guarantee that any email or any 
attachments are free from computer viruses or other conditions which may 
damage or interfere with recipient data, hardware or software. The 
recipient relies upon its own procedures and assumes all risk of use and of 
opening any attachments.
------------------------------

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Eric Ewanco | 16 Oct 17:01 2014

Suppressing rows (specific interfaces) in ifTable

I need advice for coding an AgentX subagent.

 

GOAL: To suppress/delete/eliminate/override certain interfaces in the ifTable/ifXTable according to name.

 

WHY: Interfaces which change ifIndex confuse the EMS and its user, and aren’t required anyway.  One set of interfaces is internal and should not be exposed anyway.

 

CONSTRAINTS: We want to do this in such a way that we can upgrade net-snmp with minimal hassle.  This implies not patching net-snmp itself.  The desire is to use an AgentX subagent.  Also, because these interfaces are dynamic, they can’t be configured statically to be hidden using the run-time feature provided for this in snmpd.conf.

 

DILEMMA: This would be a two-line patch if we patched net-snmp, but this approach is not considered optimal. If we wrote our own ifTable/ifXTable handlers from scratch, that would be a project and they would be bug-prone.  If we copied the existing handlers and tweaked them, that would involve a lot of work to shoehorn it in, and we still would risk breakage and/or missing fixes on net-snmp updates.

 

PROPOSAL: What I want to do is edit an existing AgentX subagent that has successfully extended ifTable/ifXTable to handle proprietary hardware, to handle all ifTable/ifXTable requests, returning “No Such” for the rows I want to suppress, and passing the requests I approve up via netsnmp_call_next_handler or some other mechanism to be handled by existing net-snmp code.

 

IMPLEMENTATION: I coded a prototype where I register each column of each interface I find with netsnmp_handler_registration_create, and check each interface on callback to see if it should be suppressed, and return SNMP_NOSUCHOBJECT if it is.  Otherwise, I pass it up the handler chain.

 

RESULTS: It correctly returns NOSUCH for gets but doesn’t work for walks; I still see the original interface.  Oh, and small detail:  Some data is off; e.g. interface eth0 shows zero ifInOctets even though ifconfig shows a large number, ifPhysAddress is wrong on several interfaces, etc.

 

QUESTION: Before I spend too much time going down a rathole, I want to know if I have the right approach to the problem in the first place, and additional resources I can consult.  I know this topic has been discussed before but crafting a search query for it is a bit tricky.  I’ve done a lot of searching but haven’t come up with solid answers.

 

VERSION: We are using net-snmp-5.7.1-3.8.1 (OpenSuSE)

 

DISCLAIMER: I am very much a net-snmp newbie. I’ve dallied with snmp my whole career, and used net-snmp a fair amount, maybe touched on code here and there, but this is the most substantial project coding with net-snmp I’ve done.

 

Thanks to anyone who can shed light on this problem.

 

Eric

 

 

Attachment (Eric J Ewanco.vcf): text/x-vcard, 5156 bytes
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Pranesh Kulkarni | 16 Oct 12:04 2014
Picon

Re: agentx example gives compile errors

use CFLAGS=-I  `net-snmpf-config --cflags

or try with hardcoding directly 

-I /usr/local/include/net-snmp

On Wed, Oct 15, 2014 at 11:30 PM, Ali Azar <azaad2004 <at> gmail.com> wrote:
Hi Pranesh,

Thanks for your response! I noticed that my includes are also in /usr/local/include/net-snmp/ 

so should I modify my "make"? how can I include this path into where net-snmp looks for for my header files?

On 14 October 2014 22:30, Pranesh Kulkarni <praneshvk <at> gmail.com> wrote:
Hi,

the declarations for the above functions are in

#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-features.h>
#include <net-snmp/net-snmp-includes.h>
#include <net-snmp/agent/net-snmp-agent-includes.h>

which are not included properly ,

it should get automatically with

CFLAGS=-I  `net-snmpf-config --cflags`


check with this command   "net-snmp-config --cflags" on your terminal , and check the output path with header files


In my case
$net-snmp-config --cflags
-fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux -I. -I/usr/local/include



the header files are in current or in /usr/local/include(these header files were in /usr/local/include)


On Wed, Oct 15, 2014 at 5:01 AM, Ali Azar <azaad2004 <at> gmail.com> wrote:
Hi all,

I am trying to run the make on agentX example in this tutorial here:
http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subagent

but when I run make on example-demon, it gives me the following error messages and looks like it can't link the header files properly:

[root <at> localhost agent]# make example-demon
gcc -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux  -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib64/perl5/CORE   -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib     example-demon.c   -o example-demon
/tmp/ccAIXgYe.o: In function `main':
/root/net-snmp-5.7.2.1/agent/example-demon.c:25: undefined reference to `snmp_enable_stderrlog'
/root/net-snmp-5.7.2.1/agent/example-demon.c:30: undefined reference to `netsnmp_ds_set_boolean'
/root/net-snmp-5.7.2.1/agent/example-demon.c:41: undefined reference to `init_agent'
/root/net-snmp-5.7.2.1/agent/example-demon.c:46: undefined reference to `init_nstAgentSubagentObject'
/root/net-snmp-5.7.2.1/agent/example-demon.c:55: undefined reference to `init_snmp'
/root/net-snmp-5.7.2.1/agent/example-demon.c:66: undefined reference to `snmp_log'
/root/net-snmp-5.7.2.1/agent/example-demon.c:72: undefined reference to `agent_check_and_process'
/root/net-snmp-5.7.2.1/agent/example-demon.c:76: undefined reference to `snmp_shutdown'
collect2: error: ld returned 1 exit status
make: *** [example-demon] Error 1


I copy the files into the net-snmp directory under agent:
/net-snmp-5.7.2.1/agent

seems like I have all the libraries as well:
# net-snmp-config --libs
-L/usr/local/lib -lnetsnmp -lrt -lm

What is the probable cause of this?

Thanks,
Ali


--
Ali Eshragi
MEng electrical & computer engineering
University of Waterloo

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users




--
Thanks,
Pranesh



--
Ali Eshragi
MEng electrical & computer engineering
University of Waterloo



--
Thanks,
Pranesh
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Schiavo, Daniel G. | 15 Oct 15:26 2014
Picon

How can I make available and tweak the values of nsCacheTimeout?

Hi,
I need to speed up the refresh time (changing the cache time) of some OIDs (for example hrProcessorLoad
<.1.3.6.1.2.1.25.3.3.1.2> which is set in 60 seconds (empirically), hrSWRunPerfMem
<.1.3.6.1.2.1.25.5.1.1.2>  which is set in 120 seconds (empirically), etc).

I´m actually trying it on Windows XP Profesional (versión 2002, Service Pack3), but in the future I
should install it on Windows 7.

I´m running the net-snmp-5.6.1.1-1.win32.exe ( Build date: 2011-08-09), which was installed
selecting  “with Windows Extention” instead of standard agent, and unselecting “net-snmp trap
service” and “Perl SNMP modules”, in order to be able to load the Windows SNMP service extension
DLLs by the Net-SNMP agent, as it´s described in the following link:
http://honglus.blogspot.com.ar/2013/02/monitor-customized-application-in.html
And it worked because I was able to reach the HostResourcesMIB.

As far as I know it is possible to change the OIDs refresh time trough the nsCacheTimeout which is a branch of
the nsCacheTable, but they don´t even exist in my computer as I could confirm doing a walk starting in nsCache:

C:\>snmpwalk –v1 -c public localhost .1.3.6.1.4.1.8072.1.5
NET-SNMP-AGENT-MIB::nsCacheDefaultTimeout.0 = INTEGER: 5
NET-SNMP-AGENT-MIB::nsCacheEnabled.0 = INTEGER: false(2)

I have also tried setting NET-SNMP-AGENT-MIB::nsCacheEnabled.0 to true (1):

C:\>snmpset -v1 -c public localhost 1.3.6.1.4.1.8072.1.5.2.0 i 1
NET-SNMP-AGENT-MIB::nsCacheEnabled.0 = INTEGER: true(1)

But it didn´t appear to work because I am still not able to see the nsCacheTable:

C:\>snmpwalk -v1 -c public localhost 1.3.6.1.4.1.8072.1.5
NET-SNMP-AGENT-MIB::nsCacheDefaultTimeout.0 = INTEGER: 5
NET-SNMP-AGENT-MIB::nsCacheEnabled.0 = INTEGER: true(1)

How can I gain access to the nsCacheTable? May it be better to change these values in the source code or
through a configuration file?

Thanks beforehand!!!
Daniel

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Ali Azar | 15 Oct 01:31 2014
Picon

agentx example gives compile errors

Hi all,

I am trying to run the make on agentX example in this tutorial here:
http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subagent

but when I run make on example-demon, it gives me the following error messages and looks like it can't link the header files properly:

[root <at> localhost agent]# make example-demon
gcc -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux  -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib64/perl5/CORE   -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib     example-demon.c   -o example-demon
/tmp/ccAIXgYe.o: In function `main':
/root/net-snmp-5.7.2.1/agent/example-demon.c:25: undefined reference to `snmp_enable_stderrlog'
/root/net-snmp-5.7.2.1/agent/example-demon.c:30: undefined reference to `netsnmp_ds_set_boolean'
/root/net-snmp-5.7.2.1/agent/example-demon.c:41: undefined reference to `init_agent'
/root/net-snmp-5.7.2.1/agent/example-demon.c:46: undefined reference to `init_nstAgentSubagentObject'
/root/net-snmp-5.7.2.1/agent/example-demon.c:55: undefined reference to `init_snmp'
/root/net-snmp-5.7.2.1/agent/example-demon.c:66: undefined reference to `snmp_log'
/root/net-snmp-5.7.2.1/agent/example-demon.c:72: undefined reference to `agent_check_and_process'
/root/net-snmp-5.7.2.1/agent/example-demon.c:76: undefined reference to `snmp_shutdown'
collect2: error: ld returned 1 exit status
make: *** [example-demon] Error 1


I copy the files into the net-snmp directory under agent:
/net-snmp-5.7.2.1/agent

seems like I have all the libraries as well:
# net-snmp-config --libs
-L/usr/local/lib -lnetsnmp -lrt -lm

What is the probable cause of this?

Thanks,
Ali


--
Ali Eshragi
MEng electrical & computer engineering
University of Waterloo
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
mike | 14 Oct 16:10 2014
Picon

SNMPv3 Traps and snmptrapd

Hello Everyone, 

I have a bunch of Cisco switches from which I'm collecting SNMPv3 traps.

The traps come in fine, but I have to manually add the EngineID to the /etc/snmp/snmptrapd.conf.  If I don't
add the EngineID, it will fail silently.

I can see the Engine IDs which are failing if I use -Dusm, but this gives me a lot of "no match on engineID"
chatter, even when I already *know* the engine ID.

The short question is:  Is there a better way to see the EngineID so that I can add it?

Or... is there a better way to handle this kind of snmptrap only arrangement?

Thanks,

Mike Kallies
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Hussinger, Tod | 8 Oct 18:40 2014

netsnmp.lib Could Not Be Found

I am running Windows7. I get the same error when using either

 

strawberry-perl-5.20.1.1-64bit.msi

strawberry-perl-5.20.1.1-32bit.msi

 

When trying to install a number of SNMP modules I get the following error during installation:

 

**********

Running make for O/OL/OLIVER/SNMP-Info-3.20.tar.gz

---- Unsatisfied dependencies detected during ----

----       OLIVER/SNMP-Info-3.20.tar.gz       ----

    SNMP [requires]

Running install for module 'SNMP'

Checksum for D:\STRAWB~1\cpan\sources\authors\id\H\HA\HARDAKER\SNMP-5.0404.tar.gz ok

Configuring H/HA/HARDAKER/SNMP-5.0404.tar.gz with Makefile.PL

Net-SNMP base directory:

The Net-SNMP library (netsnmp.lib) could not be found.

Please enter the directory where it is located:

 

**********

 

The Net::SNMP module installed error free. Can you assist in identifying the error for the netsnmp.lib file not being installed?

 

 

 

 

Thank you,

 

 

Tod Hussinger

Senior Network Engineer

VCPI

111 W. Michigan St

Milwaukee, WI 53203

414-865-2066 – Office

414-908-6968 – Fax

800-551-1236 – Help Desk

thussinger <at> vcpi.comwww.vcpi.com

 

We focus on technology so you can focus on care

 



This communication may contain confidential Protected Health Information. This information is intended only for the use of the individual or entity to which it is addressed. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled.

If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of these documents is strictly prohibited by federal law. If you have received this information in error, please notify the sender immediately and arrange for the return or destruction of these documents.
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Rhodora Mhae Zaragoza | 25 Sep 09:18 2014
Picon

Snmp v3 for iphone

Hi, can we use snmp v3 in iphone? I've tested v1 and v2 and they worked. However, I can't get v3 to work.

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Shane | 20 Sep 04:32 2014
Picon

Extracting index(es) from response OID


    I must be missing something - I've spent hours trying to figure out 
what API call I should use.  I am trying to extract indices out of a 
response OID from a table MIB.  Does an API call exist for this 
operation?  Maybe I should just convert the OID to ASCII and then using 
string methods to extract the indices.  I really figured that the API 
would have some support for this.

    Shane

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Surya R | 18 Sep 04:28 2014
Picon

net-snmp broadcast

Hi,
I want to discover the printers in my sub-net. Can I do that using net-snmp by sending a snmpget request to the broadcast address of the subnet?
Also how will I go about handling the responses? Could you explain me in context of this simple application-
I'm new to SNMP. Any help is much appreciated.
PS: I use net-snmp 5.7.2.1
Thanks,
RS
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Gmane