Re: Net-snmp-users Digest, Vol 36, Issue 5

Sridhar S <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,
1)  I need to install net-snmp on windows vista,
     Pls. tell me where to get the binaries of net-snmp,so that I can
install it on windows vista os.Does windows vista send/recieve nst-snmp
traps?

2) How to find the type of the trap received (with out handling it). I mean
do we have any command which tells what type of trap is received?

Thanks in advance.



On Mon, May 25, 2009 at 8:45 PM, <
[email protected]> wrote:

> Send Net-snmp-users mailing list submissions to
> [email protected] To subscribe or unsubscribe via the
> World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users or, via email,
> send a message with subject or body 'help' to
> [email protected] You can reach the person
> managing the list at [email protected] When
> replying, please edit your Subject line so it is more specific than "Re:
> Contents of Net-snmp-users digest..." Today's Topics: 1. [Python bindings] [
> <= 5.5.pre2 ] malformed Varbind returned by sess.walk() (Diego Billi) 2.
> problem using snmp_parse_args (Vinod Nanjaiah) 3. RE: ActivePerl 5.10 -
> Cannot locate module in @INC ([email protected]) 4. solaris
> 9: make: Fatal error: Command failed for target `subdirs' (
> [email protected]) 5. net-snmp-5.4.1 compiles but net-snmp-5.5.pre2,
> onto the same solaris 9 & 10 system ([email protected]) 6.
> net-snmp-5.4.1 compiles but net-snmp-5.5.pre2, onto the same solaris 9 & 10
> system ([email protected]) 7. Re: snmpd - configuration (pch0317) 8.
> hrSWRunParameters length changed? (Riku Nyk?nen) 9. RE: snmpd -
> configuration (Mike Ayers) 10. RE: problem using snmp_parse_args (Mike
> Ayers) 11. Re: problem using snmp_parse_args (Dave Shield) 12. subagent and
> EndOfSubtree event (Sergey Matveychuk) 13. Re: subagent and EndOfSubtree
> event (Dave Shield) 14. Re: subagent and EndOfSubtree event (Sergey
> Matveychuk) 15. Re: subagent and EndOfSubtree event (Dave Shield) 16. RE:
> problem using snmp_parse_args (Vinod Nanjaiah) 17. 5.3.3.rc2 available
> (Robert Story) 18. snmptrapd catch and forward? (Lee Standen) 19. Create
> VLAN using Q-BRIDGE-MIB (m. kh ) 20. compilation on MIPS platform
> (sanjaykumar) 21. Re: Create VLAN using Q-BRIDGE-MIB (Vincent Bernat) 22.
> Re: compilation on MIPS platform (Thomas Anders) 23. Re: compilation on MIPS
> platform (sanjaykumar) 24. Re: compilation on MIPS platform (Sergey Nikulov)
> 25. Multi-Agent doubt (Sergio Caba?o) 26. Re: Multi-Agent doubt (Glenn
> McAllister) 27. RE: Multi-Agent doubt (Sergio Caba?o) 28. Enable / Disable
> MIB through snmp.conf (Amar Mudrankit) 29. RE: Enable / Disable MIB through
> snmp.conf (Mike Ayers) 30. issue with snmpget (Tanisha Kashyap) 31. Re:
> Enable / Disable MIB through snmp.conf (Amar Mudrankit) 32. Re: Enable /
> Disable MIB through snmp.conf (Amar Mudrankit) 33. Fwd: snmpd not getting to
> start (ravi singh) 34. snmpd problem (ravi singh) 35. snmpget question (May
> The Dog) 36. RE: snmpget question (Mike Ayers) 37. Net-snmp brings subagent
> down (Joan Landry) 38. MIB file creation - table of groups (Radhika
> Srivatsa) 39. Re: Create VLAN using Q-BRIDGE-MIB (m. kh ) 40. Re: Create
> VLAN using Q-BRIDGE-MIB (Vincent Bernat) 41. syslog / debug log issue (Joan
> Landry) 42. snmpset operation (chandan) 43. snmpd.conf: VACM configuration
> (chandan) 44. Subagent timeout (Joan Landry) 45. how to compile subagent
> (???) ----------------------------------------------------------------------
> Message: 1 Date: Tue, 19 May 2009 12:33:41 +0200 From: Diego Billi Subject:
> [Python bindings] [ <= 5.5.pre2 ] malformed Varbind returned by sess.walk()
> To: [email protected] Message-ID: <
> [email protected]> Content-Type: text/plain; charset=ISO-8859-15;
> format=flowed NET-SNMP version: 5.5.pre2 (and 5.4.2.1 i think) I'm using the
> NET-SNMP python bindings to perform a walk on the OID
> '1.3.6.1.2.1.25.3.3.1.2'. I'm in a multi-thread environment. The thread
> doing the walk is not the main thread. It's one of several thread of a
> thread-pool object. All works fine, but *SOMETIMES* (not very often) the
> walk returns a strange result. The input parameter VarList contains a set of
> "malformed" Varbind objects. Some fields are None! You can see the same
> output in two different tentatives (OUTPUT 1 and OUTPUT 2): I don't know if
> it's a problem of my multi-threading environment or not. I have problems in
> reproducing the bug. Thank you. SOURCE CODE ----------- def
> __my_snmpwalk(*args, **kargs): """ Just a modified version of
> netsnmp.snmpget """ sess = netsnmp.Session(**kargs) if not sess.sess_ptr:
> raise SnmpWrapperInvalidHost("Unable to open snmp session with: %s" %
> kargs['DestHost']) if isinstance(args[0], netsnmp.client.VarList): var_list
> = args[0] else: var_list = netsnmp.VarList() for arg in args: if
> isinstance(arg, netsnmp.client.Varbind): var_list.append(arg) else:
> var_list.append(netsnmp.Varbind(arg)) res = sess.walk(var_list) return res
> def varstr(vl): """ strings a VarList object """ s = '' sep='' for v in vl:
> s += sep + str( (v.tag, str(v.iid), v.val) ) sep = ',' return s def
> __do_walk(oid, host, port, community, timeout, retries,**options): res =
> None options['DestHost'] = host options['RemotePort'] = port
> options['Community'] = community options['Timeout'] = int(timeout *
> SNMP_ONE_SECOND) options['Retries'] = retries if not
> options.has_key('Version'): options['Version'] = SNMP_DEFAULT_VERSION
> options['UseNumeric'] = 1 # don not translate oids in return values! #
> netsnmp wants fully qualified, dotted-decimal, numeric OID if
> oid[0].isdigit(): oid2 = '.' + oid else: oid2 = oid varlist =
> netsnmp.VarList( netsnmp.Varbind(oid2) ) values = __my_snmpwalk(varlist,
> **options) print "_do_walk() = (" print "%s [len=%s]" % (varstr(varlist),
> len(varlist)) print "," print "%s [len=%s]" % (values, len(values)) print
> ")" return (varlist, values) -------- OUTPUT 1 -------- _do_walk() = (
> (None, 'None', '1') [len=1] , ('1',) [len=1] ) -------- OUTPUT 2 --------
> _do_walk() = ( ('.1.3.6.1.2.1.25.3.3.1.2', '768', '1') [len=1] , ('1',)
> [len=1] ) SNMPWALK COMMAND TEST --------------------- This is what i get
> with the command line program: $ snmpwalk -On -v 1 -c public $HOST
> 1.3.6.1.2.1.25.3.3.1.2 .1.3.6.1.2.1.25.3.3.1.2.768 = INTEGER: 1
> ------------------------------ Message: 2 Date: Tue, 19 May 2009 16:19:16
> +0530 From: Vinod Nanjaiah Subject: problem using snmp_parse_args To: "
> [email protected]" Message-ID: <
> 174230991E95D743B0C91DF471EF44E8436DD2EC61@MTW02MSG02.mindtree.com>
> Content-Type: text/plain; charset="us-ascii" Hi, Has anyone faced any
> problems in using snmp_parse_args? This is used in the snmptrap.c file. I am
> trying to send trap from an ARM board to a host pc. When control comes to
> snmp_parse_args, it messes up the argc and argv parameters and the program
> seg faults at a later point when the argv is referenced. Is this a bug in
> netsnmp or a problem with the arguments that I am passing? This is the argv
> that I am using char com[] = "public"; char *argv[] = {"", "-v", "1", "-c",
> com, "172.22.92.10", "", "", "2", "", ""}; (argc=11) Thank you! Vinod
> ________________________________
> http://www.mindtree.com/email/disclaimer.html -------------- next part
> -------------- An HTML attachment was scrubbed...
> ------------------------------ Message: 3 Date: Tue, 19 May 2009 11:43:26
> +0100 From: Subject: RE: ActivePerl 5.10 - Cannot locate module in @INC To:
> Cc: [email protected] Message-ID: Content-Type: text/plain;
> charset="us-ascii" -----Original Message----- From: Alex Burger [mailto:
> [email protected]] Sent: 19 May 2009 02:39 To: Brown, James :
> Barclays Wealth Cc: [email protected];
> [email protected] Subject: Re: ActivePerl 5.10 - Cannot
> locate module in @INC > Net-SNMP 5.4.2.1 for Windows was compiled with
> Activestate Perl v5.8. > 5.5 will be compiled using v5.10. There's a binary
> for 5.5.pre2 available on the SF site that uses 5.10: > >
> http://sourceforge.net/project/showfiles.php?group_id=12694&package_id=11571&release_id=672929> > I have never tried using a module compiled under Perl 5.8 with Perl 5.10
> but I wouldn't be surprised if it didn't work. If it does, please let me
> know. > Alex Mike/Alex, Thanks very much for your help so far. Just to let
> you know, a "use SNMP;" with ActivePerl 5.10 and Net-SNMP 5.4.2.1 returns...
> Can't load 'C:/Perl/site/lib/auto/NetSNMP/default_store/default_store.dll'
> for module NetSNMP::default_store: load_file:The specified module could not
> be found at C:/Perl/lib/DynaLoader.pm line 202. at C:/Perl/site/lib/SNMP.pm
> line 16 The dll is present at the stated location, but for some reason
> doesn't work. It's not a dll registration issue as that dll doesn't appear
> to be registerable. I've downloaded the binary for 5.5-pre2 and installed
> using PPM. Unfortunately, I get the same error. I'm using Windows 2003
> server and installed to the standard path c:\usr. Regards James. Barclays
> Wealth is the wealth management division of Barclays Bank PLC. This email
> may relate to or be sent from other members of the Barclays Group. The
> availability of products and services may be limited by the applicable laws
> and regulations in certain jurisdictions. The Barclays Group does not
> normally accept or offer business instructions via internet email. Any
> action that you might take upon this message might be at your own risk. This
> email and any attachments are confidential and intended solely for the
> addressee and may also be privileged or exempt from disclosure under
> applicable law. If you are not the addressee, or have received this email in
> error, please notify the sender immediately, delete it from your system and
> do not copy, disclose or otherwise act upon any part of this email or its
> attachments. Internet communications are not guaranteed to be secure or
> without viruses. The Barclays Group does not accept responsibility for any
> loss arising from unauthorised access to, or interference with, any Internet
> communications by any third party, or from the transmission of any viruses.
> Replies to this email may be monitored by the Barclays Group for operational
> or business reasons. Any opinion or other information in this email or its
> attachments that does not relate to the business of the Barclays Group is
> personal to the sender and is not given or endorsed by the Barclays Group.
> Barclays Bank PLC. Registered in England and Wales (registered no. 1026167).
> Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom.
> Barclays Bank PLC is authorised and regulated by the Financial Services
> Authority. ------------------------------ Message: 4 Date: Tue, 19 May 2009
> 15:19:55 +0200 From: [email protected] Subject: solaris 9: make: Fatal
> error: Command failed for target `subdirs' To:
> [email protected] Message-ID: Content-Type: text/plain;
> charset="us-ascii" env PERLPROG=/export/home/nagios/ape/net-snmp/bin/perl
> ./configure --prefix=/export/home/nagios/ape/net-snmp
> --with-perl-modules=INSTALL_BASE=/opt/supervision/cpan-shared/
> --with-mibdirs=/export/home/nagios/ape/net-snmp/share/snmp/mibs
> --with-default-snmp-version=2
> --with-logfile=/export/home/nagios/ape/var/log/snmpd.log
> --with-persistent-directory=/export/home/nagios/ape/var/net-snmp
> --with-sys-location=HomeSweetHome --enable-as-needed --enable-em make ...
> more details further into the mail ... making all in
> /export/home/nagios/net-snmp-5.5.pre2/agent make: Fatal error in reader:
> Makefile, line 335: Unexpected end of line seen Current working directory
> /export/home/nagios/net-snmp-5.5.pre2/agent *** Error code 1 make: Fatal
> error: Command failed for target `subdirs' ...pe -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> strtol.lo strtol.c libtool: compile: gcc -I../include -I. -I../snmplib
> -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> strtol.c -fPIC -DPIC -o .libs/strtol.o libtool: compile: gcc -I../include
> -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> strtol.c -o strtol.o >/dev/null 2>&1 /bin/bash ../libtool --mode=compile gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> strtoul.lo strtoul.c libtool: compile: gcc -I../include -I. -I../snmplib
> -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> strtoul.c -fPIC -DPIC -o .libs/strtoul.o libtool: compile: gcc -I../include
> -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> strtoul.c -o strtoul.o >/dev/null 2>&1 /bin/bash ../libtool --mode=compile
> gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> strtok_r.lo strtok_r.c libtool: compile: gcc -I../include -I. -I../snmplib
> -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> strtok_r.c -fPIC -DPIC -o .libs/strtok_r.o libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> strtok_r.c -o strtok_r.o >/dev/null 2>&1 /bin/bash ../libtool --mode=compile
> gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> snmp_transport.lo snmp_transport.c libtool: compile: gcc -I../include -I.
> -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmp_transport.c -fPIC -DPIC -o .libs/snmp_transport.o libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmp_transport.c -o snmp_transport.o >/dev/null 2>&1 /bin/bash ../libtool
> --mode=compile gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> snmpUDPDomain.lo snmpUDPDomain.c libtool: compile: gcc -I../include -I.
> -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmpUDPDomain.c -fPIC -DPIC -o .libs/snmpUDPDomain.o libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmpUDPDomain.c -o snmpUDPDomain.o >/dev/null 2>&1 /bin/bash ../libtool
> --mode=compile gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> snmpTCPDomain.lo snmpTCPDomain.c libtool: compile: gcc -I../include -I.
> -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmpTCPDomain.c -fPIC -DPIC -o .libs/snmpTCPDomain.o libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmpTCPDomain.c -o snmpTCPDomain.o >/dev/null 2>&1 /bin/bash ../libtool
> --mode=compile gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> snmpAliasDomain.lo snmpAliasDomain.c libtool: compile: gcc -I../include -I.
> -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmpAliasDomain.c -fPIC -DPIC -o .libs/snmpAliasDomain.o libtool: compile:
> gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmpAliasDomain.c -o snmpAliasDomain.o >/dev/null 2>&1 /bin/bash ../libtool
> --mode=compile gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> snmpUnixDomain.lo snmpUnixDomain.c libtool: compile: gcc -I../include -I.
> -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmpUnixDomain.c -fPIC -DPIC -o .libs/snmpUnixDomain.o libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmpUnixDomain.c -o snmpUnixDomain.o >/dev/null 2>&1 /bin/bash ../libtool
> --mode=compile gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> snmpCallbackDomain.lo snmpCallbackDomain.c libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmpCallbackDomain.c -fPIC -DPIC -o .libs/snmpCallbackDomain.o libtool:
> compile: gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmpCallbackDomain.c -o snmpCallbackDomain.o >/dev/null 2>&1 /bin/bash
> ../libtool --mode=compile gcc -I../include -I. -I../snmplib
> -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> snmp_secmod.lo snmp_secmod.c libtool: compile: gcc -I../include -I.
> -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmp_secmod.c -fPIC -DPIC -o .libs/snmp_secmod.o libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmp_secmod.c -o snmp_secmod.o >/dev/null 2>&1 /bin/bash ../libtool
> --mode=compile gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> snmpusm.lo snmpusm.c libtool: compile: gcc -I../include -I. -I../snmplib
> -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmpusm.c -fPIC -DPIC -o .libs/snmpusm.o libtool: compile: gcc -I../include
> -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmpusm.c -o snmpusm.o >/dev/null 2>&1 /bin/bash ../libtool --mode=compile
> gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> snmp_version.lo snmp_version.c libtool: compile: gcc -I../include -I.
> -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmp_version.c -fPIC -DPIC -o .libs/snmp_version.o libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmp_version.c -o snmp_version.o >/dev/null 2>&1 /bin/bash ../libtool
> --mode=compile gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> check_varbind.lo check_varbind.c libtool: compile: gcc -I../include -I.
> -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> check_varbind.c -fPIC -DPIC -o .libs/check_varbind.o libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> check_varbind.c -o check_varbind.o >/dev/null 2>&1 /bin/bash ../libtool
> --mode=compile gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> container.lo container.c libtool: compile: gcc -I../include -I. -I../snmplib
> -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> container.c -fPIC -DPIC -o .libs/container.o libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> container.c -o container.o >/dev/null 2>&1 /bin/bash ../libtool
> --mode=compile gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> container_binary_array.lo container_binary_array.c libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> container_binary_array.c -fPIC -DPIC -o .libs/container_binary_array.o
> libtool: compile: gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> container_binary_array.c -o container_binary_array.o >/dev/null 2>&1
> /bin/bash ../libtool --mode=compile gcc -I../include -I. -I../snmplib
> -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> container_null.lo container_null.c libtool: compile: gcc -I../include -I.
> -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> container_null.c -fPIC -DPIC -o .libs/container_null.o libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> container_null.c -o container_null.o >/dev/null 2>&1 /bin/bash ../libtool
> --mode=compile gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> container_list_ssll.lo container_list_ssll.c libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> container_list_ssll.c -fPIC -DPIC -o .libs/container_list_ssll.o libtool:
> compile: gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> container_list_ssll.c -o container_list_ssll.o >/dev/null 2>&1 /bin/bash
> ../libtool --mode=compile gcc -I../include -I. -I../snmplib
> -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> container_iterator.lo container_iterator.c libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> container_iterator.c -fPIC -DPIC -o .libs/container_iterator.o libtool:
> compile: gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> container_iterator.c -o container_iterator.o >/dev/null 2>&1 /bin/bash
> ../libtool --mode=compile gcc -I../include -I. -I../snmplib
> -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> cmu_compat.lo cmu_compat.c libtool: compile: gcc -I../include -I.
> -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> cmu_compat.c -fPIC -DPIC -o .libs/cmu_compat.o libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> cmu_compat.c -o cmu_compat.o >/dev/null 2>&1 /bin/bash ../libtool
> --mode=compile gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> ucd_compat.lo ucd_compat.c libtool: compile: gcc -I../include -I.
> -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> ucd_compat.c -fPIC -DPIC -o .libs/ucd_compat.o libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> ucd_compat.c -o ucd_compat.o >/dev/null 2>&1 /bin/bash ../libtool
> --mode=compile gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c -o
> snmp_openssl.lo snmp_openssl.c libtool: compile: gcc -I../include -I.
> -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmp_openssl.c -fPIC -DPIC -o .libs/snmp_openssl.o libtool: compile: gcc
> -I../include -I. -I../snmplib -I/usr/local/ssl/include
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -c
> snmp_openssl.c -o snmp_openssl.o >/dev/null 2>&1 /bin/bash ../libtool
> --mode=link gcc
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe
> -I/usr/local/include
> -I/export/home/nagios/ape/net-snmp/lib/perl5/5.8.7/sun4-solaris/CORE -rpath
> /export/home/nagios/ape/net-snmp/lib -version-info 20:0:0 -o libnetsnmp.lasnmp_client.lo mib.lo parse.lo snmp_api.lo snmp.lo large_fd_set.lo
> snmp_auth.lo asn1.lo md5.lo snmp_parse_args.lo system.lo vacm.lo int64.lo
> read_config.lo pkcs.lo snmp_debug.lo tools.lo snmp_logging.lo text_utils.lo
> snmpv3.lo lcd_time.lo keytools.lo file_utils.lo dir_utils.lo scapi.lo
> callback.lo default_store.lo snmp_alarm.lo data_list.lo oid_stash.lo
> fd_event_manager.lo mt_support.lo snmp_enum.lo snmp-tc.lo snmp_service.lo
> snprintf.lo strlcpy.lo strtol.lo strtoul.lo strtok_r.lo snmp_transport.lo
> snmpUDPDomain.lo snmpTCPDomain.lo snmpAliasDomain.lo snmpUnixDomain.lo
> snmpCallbackDomain.lo snmp_secmod.lo snmpusm.lo snmp_version.lo
> check_varbind.lo container.lo container_binary_array.lo container_null.lo
> container_list_ssll.lo container_iterator.lo cmu_compat.lo ucd_compat.lo
> snmp_openssl.lo -L/usr/local/ssl/lib
> -L/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -lkstat -lcrypto libtool: link: gcc -shared -Wl,-z -Wl,text -Wl,-h
> -Wl,libnetsnmp.so.20 -o .libs/libnetsnmp.so.20.0.0 .libs/snmp_client.o
> .libs/mib.o .libs/parse.o .libs/snmp_api.o .libs/snmp.o .libs/large_fd_set.o
> .libs/snmp_auth.o .libs/asn1.o .libs/md5.o .libs/snmp_parse_args.o
> .libs/system.o .libs/vacm.o .libs/int64.o .libs/read_config.o .libs/pkcs.o
> .libs/snmp_debug.o .libs/tools.o .libs/snmp_logging.o .libs/text_utils.o
> .libs/snmpv3.o .libs/lcd_time.o .libs/keytools.o .libs/file_utils.o
> .libs/dir_utils.o .libs/scapi.o .libs/callback.o .libs/default_store.o
> .libs/snmp_alarm.o .libs/data_list.o .libs/oid_stash.o
> .libs/fd_event_manager.o .libs/mt_support.o .libs/snmp_enum.o
> .libs/snmp-tc.o .libs/snmp_service.o .libs/snprintf.o .libs/strlcpy.o
> .libs/strtol.o .libs/strtoul.o .libs/strtok_r.o .libs/snmp_transport.o
> .libs/snmpUDPDomain.o .libs/snmpTCPDomain.o .libs/snmpAliasDomain.o
> .libs/snmpUnixDomain.o .libs/snmpCallbackDomain.o .libs/snmp_secmod.o
> .libs/snmpusm.o .libs/snmp_version.o .libs/check_varbind.o .libs/container.o
> .libs/container_binary_array.o .libs/container_null.o
> .libs/container_list_ssll.o .libs/container_iterator.o .libs/cmu_compat.o
> .libs/ucd_compat.o .libs/snmp_openssl.o
> -R/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -L/usr/local/ssl/lib
> -L/export/home/nagios/ape/net-snmp/lib:/opt/csw/lib:usr/local/lib:/usr/lib
> -lkstat -lcrypto -lc libtool: link: (cd ".libs" && rm -f "libnetsnmp.so.20"
> && ln -s "libnetsnmp.so.20.0.0" "libnetsnmp.so.20") libtool: link: (cd
> ".libs" && rm -f "libnetsnmp.so" && ln -s "libnetsnmp.so.20.0.0"
> "libnetsnmp.so") libtool: link: ar cru .libs/libnetsnmp.a snmp_client.o
> mib.o parse.o snmp_api.o snmp.o large_fd_set.o snmp_auth.o asn1.o md5.o
> snmp_parse_args.o system.o vacm.o int64.o read_config.o pkcs.o snmp_debug.o
> tools.o snmp_logging.o text_utils.o snmpv3.o lcd_time.o keytools.o
> file_utils.o dir_utils.o scapi.o callback.o default_store.o snmp_alarm.o
> data_list.o oid_stash.o fd_event_manager.o mt_support.o snmp_enum.o
> snmp-tc.o snmp_service.o snprintf.o strlcpy.o strtol.o strtoul.o strtok_r.o
> snmp_transport.o snmpUDPDomain.o snmpTCPDomain.o snmpAliasDomain.o
> snmpUnixDomain.o snmpCallbackDomain.o snmp_secmod.o snmpusm.o snmp_version.o
> check_varbind.o container.o container_binary_array.o container_null.o
> container_list_ssll.o container_iterator.o cmu_compat.o ucd_compat.o
> snmp_openssl.o libtool: link: ranlib .libs/libnetsnmp.a libtool: link: ( cd
> ".libs" && rm -f "libnetsnmp.la" && ln -s "../libnetsnmp.la" "
> libnetsnmp.la" ) : libnetsnmp.la making all in
> /export/home/nagios/net-snmp-5.5.pre2/agent make: Fatal error in reader:
> Makefile, line 335: Unexpected end of line seen Current working directory
> /export/home/nagios/net-snmp-5.5.pre2/agent *** Error code 1 make: Fatal
> error: Command failed for target `subdirs' -------------- next part
> -------------- An HTML attachment was scrubbed...
> ------------------------------ Message: 5 Date: Tue, 19 May 2009 15:43:31
> +0200 From: [email protected] Subject: net-snmp-5.4.1 compiles but
> net-snmp-5.5.pre2, onto the same solaris 9 & 10 system To:
> [email protected] Message-ID: Content-Type: text/plain;
> charset="us-ascii" net-snmp-5.4.1 compiles but net-snmp-5.5.pre2, onto the
> same solaris 9 & 10 system ... g.o .libs/text_utils.o .libs/snmpv3.o
> .libs/lcd_time.o .libs/keytools.o .libs/file_utils.o .libs/dir_utils.o
> .libs/scapi.o .libs/callback.o .libs/default_store.o .libs/snmp_alarm.o
> .libs/data_list.o .libs/oid_stash.o .libs/fd_event_manager.o
> .libs/mt_support.o .libs/snmp_enum.o .libs/snmp-tc.o .libs/snmp_service.o
> .libs/snprintf.o .libs/strlcpy.o .libs/strtol.o .libs/strtoul.o
> .libs/strtok_r.o .libs/snmp_transport.o .libs/snmpUDPDomain.o
> .libs/snmpTCPDomain.o .libs/snmpAliasDomain.o .libs/snmpUnixDomain.o
> .libs/snmpCallbackDomain.o .libs/snmp_secmod.o .libs/snmpusm.o
> .libs/snmp_version.o .libs/check_varbind.o .libs/container.o
> .libs/container_binary_array.o .libs/container_null.o
> .libs/container_list_ssll.o .libs/container_iterator.o .libs/cmu_compat.o
> .libs/ucd_compat.o .libs/snmp_openssl.o -L/usr/local/ssl/lib -lkstat
> -lcrypto -lc -Wl,-soname -Wl,libnetsnmp.so.20 -o .libs/libnetsnmp.so.20.0.0
> ld: fatal: file libnetsnmp.so.20: open failed: No such file or directory
> make[1]: *** [libnetsnmp.la] Error 1 make[1]: Leaving directory
> `/export/home/nagios/net-snmp-5.5.pre2/snmplib' make: *** [subdirs] Error 1
> -- Alex -------------- next part -------------- An HTML attachment was
> scrubbed... ------------------------------ Message: 6 Date: Tue, 19 May 2009
> 16:18:28 +0200 From: [email protected] Subject: net-snmp-5.4.1
> compiles but net-snmp-5.5.pre2, onto the same solaris 9 & 10 system To:
> [email protected] Cc: [email protected] Message-ID:
> Content-Type: text/plain; charset="us-ascii" vervolg) agent\Makefile
> .../snmpNotifyFilterTable_data_access.lo must be
> .../snmpNotifyFilterTable_data_access.lo \
> .../snmpNotifyFilterTable_data_access.o must be
> .../snmpNotifyFilterTable_data_access.o \ .../agentx_config.o must be
> .../agentx_config.o \ and a few other After manually adding \, it compiles.
> Bug found :) -------------- next part -------------- An HTML attachment was
> scrubbed... ------------------------------ Message: 7 Date: Tue, 19 May 2009
> 18:43:01 +0200 From: pch0317 Subject: Re: snmpd - configuration To:
> [email protected] Message-ID: <
> [email protected]> Content-Type: text/plain; charset=ISO-8859-1;
> format=flowed I haven't got any other snmpd.conf (I use: find / -name
> snmpd.conf) In /usr/local/share/snmp I only have:
> mib2c.access_functions.conf mib2c.array-user.conf mib2c.check_values.conf
> mib2c.check_values_local.conf mib2c.column_defines.conf
> mib2c.column_enums.conf mib2c.column_storage.conf mib2c.conf
> mib2c.container.conf mib2c.create-dataset.conf mib2c-data mib2c.genhtml.conf
> mib2c.int_watch.conf mib2c.iterate_access.conf mib2c.iterate.conf
> mib2c.mfd.conf mib2c.notify.conf mib2c.old-api.conf mib2c.perl.conf
> mib2c.scalar.conf mib2c.table_data.conf mibs snmpconf-data
> snmp_perl_trapd.pl I type hostname instead localhost but it make this same
> result. Dave Shield wrote: > 2009/5/18 pch0317 : > >> In
> /var/net-snmp/snmpd.conf >> > > No - not that file - that's essentially
> private to the agent. > You need another snmpd.conf file - probably in
> either > /etc/snmp (if the agent is vendor-supplied) or >
> /usr/local/share/snmp (if you compiled it yourself). > > Please see the FAQ
> entries about access control. > These discuss exactly the problems you are
> seeing. > > Dave > > ------------------------------ Message: 8 Date: Tue, 19
> May 2009 20:27:40 +0300 From: Riku Nyk?nen Subject: hrSWRunParameters length
> changed? To: [email protected] Message-ID:
> Content-Type: text/plain; charset=ISO-8859-1 Hi, I have used
> HOST-RESOURCES-MIB to get process parameters to monitor some processes
> remotely. I recently updated host to openSuSE 11.1, which includes Net-SNMP
> version 5.4.2.1 (previous had openSuSE with Net-SNMP version 5.3.0.1). Now
> it seems that hrSWRunParameters returns only first 128 characters of
> parameters, when previous version returned complete string regardless of its
> length. Ok, MIB has been defining for years that length of the string is
> 0..128, so obviously some fixed the bug (I didn't find any mark of that from
> change log). Now problem is that I need to get full list of parameters, 128
> characters is just not enough. Can some one give me a hint what is the
> easiest way to get all characters? Downgrading back to 5.3.0.1 is not an
> option. :-( Is there some well hidden configuration option or should I write
> a patch for current module? Cheers, Riku ------------------------------
> Message: 9 Date: Tue, 19 May 2009 12:50:16 -0700 From: "Mike Ayers" Subject:
> RE: snmpd - configuration To: "pch0317" , Message-ID: <
> 83E753BE7B6A324ABB336245BAF1DAAC0C3A6E2F@mailserver.metatv-ds.metatv.com>
> Content-Type: text/plain; charset="iso-8859-1" > From: pch0317 [mailto:
> [email protected]] > Sent: Tuesday, May 19, 2009 9:43 AM > I haven't got
> any other snmpd.conf (I use: find / -name snmpd.conf) That's your problem,
> then. You need to configure the agent. Then you need to start it. Apparently
> your distributioon does not run "out of the box". > Dave Shield wrote: > >
> 2009/5/18 pch0317 : > > > >> In /var/net-snmp/snmpd.conf > >> > > > > No -
> not that file - that's essentially private to the agent. > > You need
> another snmpd.conf file - probably in either > > /etc/snmp (if the agent is
> vendor-supplied) or > > /usr/local/share/snmp (if you compiled it yourself).
> > > > > Please see the FAQ entries about access control. > > These discuss
> exactly the problems you are seeing. HTH, Mike
> ------------------------------ Message: 10 Date: Tue, 19 May 2009 15:36:53
> -0700 From: "Mike Ayers" Subject: RE: problem using snmp_parse_args To:
> "Vinod Nanjaiah" , Message-ID: <
> 83E753BE7B6A324ABB336245BAF1DAAC0C3A6F28@mailserver.metatv-ds.metatv.com>
> Content-Type: text/plain; charset="iso-8859-1" > From: Vinod Nanjaiah
> [mailto:[email protected]] > Sent: Tuesday, May 19, 2009 3:49 AM
> > When control comes to snmp_parse_args, it messes up the argc > and argv
> parameters and the > > program seg faults at a later point when the argv is
> referenced. I'm not sure, but I think snmp_parse_args eats the arguments.
> You may want to repost this question to the coders list. HTH, Mike
> ------------------------------ Message: 11 Date: Wed, 20 May 2009 08:16:14
> +0100 From: Dave Shield Subject: Re: problem using snmp_parse_args To: Vinod
> Nanjaiah Cc: "[email protected]" Message-ID:
> Content-Type: text/plain; charset=windows-1252 2009/5/19 Vinod Nanjaiah : >
> When control comes to snmp_parse_args, it messes up the argc and argv >
> parameters and the > program seg faults at a later point when the argv is
> referenced. > This is the argv that I am using > > char com[] = ?public?; >
> char *argv[] = {"", "-v", "1", ?"-c", com, "172.22.92.10", "", "", "2", "",
> ""}; I've had a quick look at the code for snmp_parse_args. The most likely
> issue here is that this routine attempts to zero out "sensitive" parameters
> (such as the community string, security name or the two pass phrases). This
> is to avoid them being visible in the output of "ps" or in core dumps.
> Untested, but you might want to try setting the first parameter to be
> "snmpd-proxy". This will suppress the clearing of these sensitive
> parameters. (We could perhaps do with a better way to handle this!) Dave
> ------------------------------ Message: 12 Date: Wed, 20 May 2009 11:01:01
> +0400 From: Sergey Matveychuk Subject: subagent and EndOfSubtree event To:
> [email protected] Message-ID: <[email protected]>
> Content-Type: text/plain; charset=UTF-8; format=flowed Hi! What is a correct
> way to say we're reached End Of Subtree by subagent for GETNEXT request?
> Most natural way I see - to return error. But it does not look good by
> snmpwalk: NET-SNMP-MIB::netSnmp.2.1.2.0.5.98 = INTEGER: 0
> NET-SNMP-MIB::netSnmp.2.1.2.0.5.99 = INTEGER: 0
> NET-SNMP-MIB::netSnmp.2.1.2.0.5.99 = No Such Instance currently exists at
> this OID OK. I opened snmpwalk sources and made a hack - decremented BaseOID
> length (with snmp_set_var_objid()). snmpwalk looks good with it:
> NET-SNMP-MIB::netSnmp.2.1.2.0.5.98 = INTEGER: 0
> NET-SNMP-MIB::netSnmp.2.1.2.0.5.99 = INTEGER: 0 But php-snmp's
> snmprealwalk() drives crazy - loops forever. What is a correct way to say
> we're out of band? ------------------------------ Message: 13 Date: Wed, 20
> May 2009 08:56:44 +0100 From: Dave Shield Subject: Re: subagent and
> EndOfSubtree event To: Sergey Matveychuk Cc:
> [email protected] Message-ID: Content-Type: text/plain;
> charset=ISO-8859-1 2009/5/20 Sergey Matveychuk : > What is a correct way to
> say we're reached End Of Subtree by subagent > for GETNEXT request? Return
> the 'endOfMibView' exception - see RFC 2741, section 7.3.2.2. This should be
> handled automatically by the subagent framework. All your MIB module handler
> typically needs to do is return without setting a value. Dave
> ------------------------------ Message: 14 Date: Wed, 20 May 2009 13:16:31
> +0400 From: Sergey Matveychuk Subject: Re: subagent and EndOfSubtree event
> To: Dave Shield Cc: Sergey Matveychuk ,
> [email protected] Message-ID: <
> [email protected]> Content-Type: text/plain;
> charset=ISO-8859-1; format=flowed Dave Shield wrote: > 2009/5/20 Sergey
> Matveychuk : >> What is a correct way to say we're reached End Of Subtree by
> subagent >> for GETNEXT request? > > Return the 'endOfMibView' exception -
> see RFC 2741, section 7.3.2.2. > > This should be handled automatically by
> the subagent framework. > All your MIB module handler typically needs to do
> is return without > setting a value. I've tried it, but snmpwalk got a
> timeout: NET-SNMP-MIB::netSnmp.2.1.2.0.5.98 = INTEGER: 0
> NET-SNMP-MIB::netSnmp.2.1.2.0.5.99 = INTEGER: 0 Timeout: No Response from
> localhost Waiting is even worse than immediately returns with an error.
> ------------------------------ Message: 15 Date: Wed, 20 May 2009 10:50:30
> +0100 From: Dave Shield Subject: Re: subagent and EndOfSubtree event To:
> Sergey Matveychuk Cc: Sergey Matveychuk ,
> [email protected] Message-ID: Content-Type: text/plain;
> charset=ISO-8859-1 2009/5/20 Sergey Matveychuk : >> This should be handled
> automatically by the subagent framework. >> All your MIB module handler
> typically needs to do is return without >> setting a value. > > I've tried
> it, but snmpwalk got a timeout: > > NET-SNMP-MIB::netSnmp.2.1.2.0.5.98 =
> INTEGER: 0 > NET-SNMP-MIB::netSnmp.2.1.2.0.5.99 = INTEGER: 0 > Timeout: No
> Response from localhost Hmmm.... What range of OIDs is your subagent
> registering for? What comes next in the MIB tree? I've also checked the
> NET-SNMP-EXAMPLES-MIB, and netSnmp.2.1.2 is a scalar object
> (netSnmpExampleSleeper) So the output above doesn't really make sense. You
> should be seeing netSnmp.2.1.1.0 netSnmp.2.1.2.0 netSnmp.2.1.3.0
> netSnmp.2.2.1.1.2."name" etc or something similar. Anyway, what happens if
> you do "snmpgetnext" on netSnmp.2.1.2.1 ? (both with and without your
> subagent running) Dave ------------------------------ Message: 16 Date: Wed,
> 20 May 2009 15:31:59 +0530 From: Vinod Nanjaiah Subject: RE: problem using
> snmp_parse_args To: Dave Shield Cc: "[email protected]"
> Message-ID: <
> 174230991E95D743B0C91DF471EF44E8436DD8DD2F@MTW02MSG02.mindtree.com>
> Content-Type: text/plain; charset="us-ascii" string, security name or the
> two pass phrases). This is to avoid them being visible in the output of "ps"
> or in core dumps. Untested, but you might want to try setting the first
> parameter to be "snmpd-proxy". This will suppress the clearing of these
> sensitive parameters. (We could perhaps do with a better way to handle
> this!) char com[] = "public"; char *argv[] = {"snmpd-proxy", "-v", "1",
> "-c", com, "172.22.92.10", "", "6", "17", "", "", "MY-TEST-GRP::myLocation",
> "s", "HERE", "MY-TEST-GRP::myId", "i", "1000"}; // 17 args After the call to
> snmp_parse_args, I observed that the stack frame gets corrupted. I tried
> passing "snmpd-proxy" as the first parameter. But that didn't help either.
> As a workaround, I am saving the argv pointer and using that later. But now
> I am not able to send an enterprise specific trap with arguments as shown in
> argv above. It fails to resolve the MY-TEST-GRP::myLocation and I get the
> following error: MY-TEST-GRP::myLocation: Unknown Object Identifier
> (MY-TEST-GRP::myLocation) I even tried adding the MIB file to snmp.conf. Am
> I missing out something in the request or am I not giving it correctly?
> Regards, Vinod http://www.mindtree.com/email/disclaimer.html------------------------------ Message: 17 Date: Wed, 20 May 2009 18:28:54
> -0400 From: Robert Story Subject: 5.3.3.rc2 available To: net-snmp-users ,
> net-snmp-coders Message-ID: <[email protected]>
> Content-Type: text/plain; charset=US-ASCII This ia a list of specific bugs
> that have been fixed, and patches that have been applied in released
> versions. Please see the NEWS file for a summary of the major changes, and
> the ChangeLog file for a comprehensive listing of all changes made to the
> code. *5.3.3.rc2* snmplib: - [PATCH 2505488]: to fix alarms not being
> triggered at the right times due to large clock skews. build: - [BUG
> 2782700]: build failure when using --with-pkcs on Solaris - [PATCH 2184039]:
> misc fixes for freeing memory during error conditions. mib2c: - [PATCH
> 2136437]: make FLAG defines more 64bit friendly when huge tables are
> encountered perl: - [PATCH 2361712]: to fix getbulk optimization during
> walks where end conditionns are met on middle OIDs first. ports: - [PATCH
> 2688342]: to fix various compiler warnings solaris: - [PATCH 2012404]: deal
> with more than 10 interfaces. New hardcoded limit is 50. A better scaling
> patch would be appreciated :-) AIX: - [BUG 2712670]: Agent crashes on AIX
> with hrStorage HP: - UX: BUG: 2779472: Filesystems missing in hrStorage
> table on HP-UX 11.31 (allow for mnttab that is a character special device)
> Solaris: - [PATCH 2751588]: Inconsistent data (e.g. UDP/TCP MIB scalar
> values of zero) can be reported on Solaris 10U4+ Patch provided by Anders
> Persson ------------------------------ Message: 18 Date: Thu, 21 May 2009
> 13:52:36 +0800 From: Lee Standen Subject: snmptrapd catch and forward? To: "
> [email protected]" Message-ID: <
> 9655826F34C1A249A3AFFA8576351743AB2042F65C@isp-per-exc01.win2k.iinet.net.au>
> Content-Type: text/plain; charset="us-ascii" Hi All, I've got a pair of
> servers behind a load balancer which I'm using to process a very large
> volume of traps... in the order of 1.5 million per day. I want to also
> forward a subset of these back to a third party vendor black box, which does
> some additional processing, but it seems that my configuration in snmptrapd
> isn't working for this. My configuration looks like this... note the line
> commented out - this is what I don't want to go to the black box. traphandle
> 1.3.6.1.4.1.193.72.* /some/custom/script traphandle 1.3.6.1.4.1.193.109.*
> /some/custom/script forward 1.3.6.1.4.1.193.72.300.1.* vendor-black-box
> forward 1.3.6.1.4.1.193.72.300.10.2.1.* vendor-black-box forward
> 1.3.6.1.4.1.193.72.300.10.2.2.* vendor-black-box forward
> 1.3.6.1.4.1.193.72.300.10.2.3.* vendor-black-box forward
> 1.3.6.1.4.1.193.72.300.20.* vendor-black-box forward
> 1.3.6.1.4.1.193.72.300.35.* vendor-black-box #forward
> 1.3.6.1.4.1.193.72.300.50.* vendor-black-box forward
> 1.3.6.1.4.1.193.72.400.* vendor-black-box forward 1.3.6.1.4.1.193.72.600.*
> vendor-black-box forward 1.3.6.1.4.1.193.72.602.* vendor-black-box forward
> 1.3.6.1.4.1.193.72.700.* vendor-black-box forward 1.3.6.1.4.1.193.72.800.*
> vendor-black-box forward 1.3.6.1.4.1.193.72.850.* vendor-black-box forward
> 1.3.6.1.4.1.193.72.900.* vendor-black-box forward 1.3.6.1.4.1.193.72.1000.*
> vendor-black-box forward 1.3.6.1.4.1.193.72.1200.* vendor-black-box forward
> 1.3.6.1.4.1.193.72.1400.* vendor-black-box forward 1.3.6.1.4.1.193.109.*
> vendor-black-box Are there any options in snmptrapd that will allow the
> above traps to forward correctly? Additionally, if there was some way to
> specify everything *but* the OID commented above is to be forwarded, that
> would help significantly. Thanks -------------- next part -------------- An
> HTML attachment was scrubbed... ------------------------------ Message: 19
> Date: Thu, 21 May 2009 12:37:46 +0200 From: "m. kh " Subject: Create VLAN
> using Q-BRIDGE-MIB To: [email protected] Message-ID:
> Content-Type: text/plain; charset="iso-8859-1" Hi , i use Q-BRIDGE-MIB to
> create vlan in switch ,the request to create vlan is : # snmpset -v2c -c
> private 192.168.2.241 1.3.6.1.2.1.17.7.1.4.3.1.1.6 s vlan6 but the result is
> : *Error in packet. Reason: inconsistentValue (The set value is illegal or
> unsupported in some way) Failed object: SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.6*
> Where is the problem with my request ? private : Read /Write help!
> -------------- next part -------------- An HTML attachment was scrubbed...
> ------------------------------ Message: 20 Date: Thu, 21 May 2009 16:27:20
> +0530 From: sanjaykumar Subject: compilation on MIPS platform To:
> [email protected] Message-ID: <
> [email protected]> Content-Type: text/plain;
> charset="us-ascii" An HTML attachment was scrubbed...
> ------------------------------ Message: 21 Date: Thu, 21 May 2009 14:00:43
> +0200 From: Vincent Bernat Subject: Re: Create VLAN using Q-BRIDGE-MIB To:
> "m. kh " Cc: [email protected] Message-ID:
> Content-Type: text/plain; charset=utf-8 OoO Pendant le temps de midi du
> jeudi 21 mai 2009, vers 12:37, "m. kh " disait?: > i use Q-BRIDGE-MIB to
> create vlan in switch ,the request to create vlan is : > # snmpset -v2c -c
> private 192.168.2.241 1.3.6.1.2.1.17.7.1.4.3.1.1.6 s vlan6 > but the result
> is : > Error in packet. > Reason: inconsistentValue (The set value is
> illegal or unsupported in some way) > Failed object:
> SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.6 This is not the way to create a new row
> in a table. You should try: snmpset -v 2c -c private 192.168.2.241 \
> Q-BRIDGE-MIB::dot1qVlanStaticRowStatus = createAndGo \
> Q-BRIDGE-MIB::dot1qVlanStaticName = vlan6 Or : snmpset -v 2c -c private
> 192.168.2.241 \ Q-BRIDGE-MIB::dot1qVlanStaticRowStatus = createAndWait
> snmpset -v 2c -c private 192.168.2.241 \ Q-BRIDGE-MIB::dot1qVlanStaticName =
> vlan6 snmpset -v 2c -c private 192.168.2.241 \
> Q-BRIDGE-MIB::dot1qVlanStaticRowStatus = createAndGo The first last is less
> eager to work but if it works, it will give you more tips on what can go
> wrong at each step. All this depends on the implementation on the switch.
> Some does not even accept to create VLAN this way. The failures can be
> logged with some useful tips. -- I WAS NOT TOLD TO DO THIS I WAS NOT TOLD TO
> DO THIS I WAS NOT TOLD TO DO THIS -+- Bart Simpson on chalkboard in episode
> 5F13 ------------------------------ Message: 22 Date: Thu, 21 May 2009
> 14:56:18 +0200 From: Thomas Anders Subject: Re: compilation on MIPS platform
> To: sanjaykumar Cc: [email protected] Message-ID: <
> [email protected]> Content-Type: text/plain;
> charset=ISO-8859-1 sanjaykumar wrote: >> Does we need to PROVIDE any option
> to enable the "Encryption" at >> time of cross compilation ?? You need
> OpenSSL (at compile time) to enable privacy (encryption) support. +Thomas
> ------------------------------ Message: 23 Date: Thu, 21 May 2009 18:38:26
> +0530 From: sanjaykumar Subject: Re: compilation on MIPS platform To:
> [email protected] Message-ID: <
> [email protected]> Content-Type: text/plain;
> charset="us-ascii" An HTML attachment was scrubbed...
> ------------------------------ Message: 24 Date: Thu, 21 May 2009 07:28:56
> -0700 From: Sergey Nikulov Subject: Re: compilation on MIPS platform To:
> sanjaykumar Cc: [email protected] Message-ID:
> Content-Type: text/plain; charset=ISO-8859-1 At configure time ./configure
> ----with-openssl=[here path to your openssl development installation]
> Regards, Sergey 2009/5/21 sanjaykumar : > Thanks a lot > But could you help
> me out? How to enable the "OPENSSL" option > As there is openssl lib is
> present in "/usr/lib/..." > > Rgds, > Sanjay Kumar > > > Thomas Anders
> wrote: > > sanjaykumar wrote: > > > Does we need to PROVIDE any option to
> enable the "Encryption" at > time of cross compilation ?? > > > You need
> OpenSSL (at compile time) to enable privacy (encryption) support. > > >
> +Thomas > > > >
> ------------------------------------------------------------------------------
> > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is
> a gathering of tech-side developers & brand creativity professionals. > Meet
> > the minds behind Google Creative Lab, Visual Complexity, Processing, & >
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian >
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com >
> _______________________________________________ > Net-snmp-users mailing
> list > [email protected] > Please see the following
> page to unsubscribe or change other options: >
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > -- Best
> Regards, Sergey Nikulov ------------------------------ Message: 25 Date:
> Thu, 21 May 2009 15:32:59 +0100 From: Sergio Caba?o Subject: Multi-Agent
> doubt To: "Dave Shield" Cc: [email protected],
> [email protected] Message-ID: Content-Type: text/plain;
> charset="iso-8859-1" Hello you all, I'm have encountered a problem to what a
> still don't have a clue how to solve or if it is possible to do so. It is a
> simple situation but a complicated jigsaw till the moment. The objective is
> to have different ip addresses or different ports that can receive snmp
> requests. The data is shared to this two ips so when a request comes into an
> ip, it gets the same answer that it would get if it was made to the other
> IP. The thought solution was to run 2 snmp agents, one in each port/ip, that
> share the resources to the mib. This works if we define the persistent
> directory different from each other. I don't know if this is the best way to
> do this but it is working. The problem is that the two agents don't share
> the usm table so a admin_client that connects to one of them cannot change
> the password of some client in the other agent. Can anyone clarify me of
> what is the best approach to fulfil the objective and if there is a simpler
> way of achieving this objective? Thank you very much. Best Regards /
> Cumprimentos, S?rgio Caba?o ------------------------------ Message: 26 Date:
> Thu, 21 May 2009 11:08:35 -0400 From: Glenn McAllister Subject: Re:
> Multi-Agent doubt To: Sergio Caba?o Cc:
> [email protected], [email protected]: <
> [email protected]> Content-Type: text/plain;
> charset=ISO-8859-1; format=flowed Sergio Caba?o wrote: > Hello you all, > >
> > I'm have encountered a problem to what a still don't have a clue how to
> solve or if it is possible to do so. > > It is a simple situation but a
> complicated jigsaw till the moment. The objective is to have different ip
> addresses or different ports that can receive snmp requests. The data is
> shared to this two ips so when a request comes into an ip, it gets the same
> answer that it would get if it was made to the other IP. > > The thought
> solution was to run 2 snmp agents, one in each port/ip, that share the
> resources to the mib. This works if we define the persistent directory
> different from each other. I don't know if this is the best way to do this
> but it is working. > The problem is that the two agents don't share the usm
> table so a admin_client that connects to one of them cannot change the
> password of some client in the other agent. > > Can anyone clarify me of
> what is the best approach to fulfil the objective and if there is a simpler
> way of achieving this objective? Why don't you just bind to both
> addresses/ports? See the agentaddress config option (man snmpd.conf). --
> Glenn McAllister +1 416 348 1594 SOMA Networks, Inc.
> http://www.somanetworks.com/ +1 416 977 1414
> ------------------------------ Message: 27 Date: Thu, 21 May 2009 16:45:40
> +0100 From: Sergio Caba?o Subject: RE: Multi-Agent doubt To: "Glenn
> McAllister" Cc: [email protected],
> [email protected] Message-ID: Content-Type: text/plain;
> charset="iso-8859-1" I was letting that solution to the end because of a
> requisition of separating the processes. It's a valid solution but it would
> be gread if there was some kind of way of having multi processes just in
> case of one fail, the other continues running. That was the main reason to
> use two different snmp agents. Thank you very much. Best Regards /
> Cumprimentos, S?rgio Caba?o -----Original Message----- From: Glenn
> McAllister [mailto:[email protected]] Sent: quinta-feira, 21 de Maio
> de 2009 16:09 To: Sergio Caba?o Cc: Dave Shield;
> [email protected]; [email protected]: Re: Multi-Agent doubt Sergio Caba?o wrote: > Hello you all, > > >
> I'm have encountered a problem to what a still don't have a clue how to
> solve or if it is possible to do so. > > It is a simple situation but a
> complicated jigsaw till the moment. The objective is to have different ip
> addresses or different ports that can receive snmp requests. The data is
> shared to this two ips so when a request comes into an ip, it gets the same
> answer that it would get if it was made to the other IP. > > The thought
> solution was to run 2 snmp agents, one in each port/ip, that share the
> resources to the mib. This works if we define the persistent directory
> different from each other. I don't know if this is the best way to do this
> but it is working. > The problem is that the two agents don't share the usm
> table so a admin_client that connects to one of them cannot change the
> password of some client in the other agent. > > Can anyone clarify me of
> what is the best approach to fulfil the objective and if there is a simpler
> way of achieving this objective? Why don't you just bind to both
> addresses/ports? See the agentaddress config option (man snmpd.conf). --
> Glenn McAllister +1 416 348 1594 SOMA Networks, Inc.
> http://www.somanetworks.com/ +1 416 977 1414
> ------------------------------ Message: 28 Date: Thu, 21 May 2009 21:39:04
> +0530 From: Amar Mudrankit Subject: Enable / Disable MIB through snmp.conf
> To: [email protected] Message-ID: Content-Type:
> text/plain; charset="iso-8859-1" Hi All, I was trying to disable a UDP-MIB.
> By disable, I mean, if that MIB is disabled manager will not be able to
> retrieve the values from that MIB. For example, if I disable UDP-MIB, I will
> not be able to retrieve the value udpInDatagrams.0 from agent using snmpget
> command. I tried to achieve this by not defining the UDP-MIB in snmp.conf
> file mibs section(attached with this mail), but following command on local
> host always returned me the valid value. $ snmpget -v 1 localhost -c public
> udpInDatagrams.0 The same snmp.conf file was put in
> /usr/local/etc/snmp/snmp.conf and /root/.snmp/snmp.conf location and local
> snmpd daemon was restarted after this change in snmp.conf file Can somebody
> let me know what I might be missing? Thanks and Regards, Amar S Mudrankit
> -------------- next part -------------- A non-text attachment was
> scrubbed... Name: snmp.conf Type: application/octet-stream Size: 1110 bytes
> Desc: not available ------------------------------ Message: 29 Date: Thu, 21
> May 2009 10:03:36 -0700 From: "Mike Ayers" Subject: RE: Enable / Disable MIB
> through snmp.conf To: "Amar Mudrankit" , Message-ID: <
> 83E753BE7B6A324ABB336245BAF1DAAC0C3A757D@mailserver.metatv-ds.metatv.com>
> Content-Type: text/plain; charset="iso-8859-1" > From: Amar Mudrankit
> [mailto:[email protected]] > Sent: Thursday, May 21, 2009 9:09 AM >
> For example, if I disable UDP-MIB, I will not be able to retrieve the >
> value udpInDatagrams.0 from agent using snmpget command. > > I tried to
> achieve this by not defining the UDP-MIB in snmp.conf file > mibs
> section(attached with this mail), That just affects whether the snmp tools
> on that host will translate those OIDs into their standard textual
> representation. To do what you intend, please read the access control
> section of the snmpd.conf manpage. HTH, Mike ------------------------------
> Message: 30 Date: Fri, 22 May 2009 11:43:30 +0530 From: Tanisha Kashyap
> Subject: issue with snmpget To: "[email protected]"
> Message-ID: <
> 08A2197FCF31F642988F149222F8B88D0FEDD4DA14@GUREXMB01.ASIAN.AD.ARICENT.COM>
> Content-Type: text/plain; charset="us-ascii" Hi, I have to a get on a MIB
> variable but it gives me a timeout everytime. I am able to do a set on this
> variable successfully so it doesn't look like a access control problem.
> Below is the code for GET block: case MODE_GET:
> snmp_set_var_typed_value(ptr_requests->requestvb, ASN_INTEGER, (u_char *)
> &resync_var, sizeof(resync_var)); break; Please provide your inputs. Thanks
> Tanisha ________________________________ "DISCLAIMER: This message is
> proprietary to Aricent and is intended solely for the use of the individual
> to whom it is addressed. It may contain privileged or confidential
> information and should not be circulated or used for any purpose other than
> for what it is intended. If you have received this message in error,please
> notify the originator immediately. If you are not the intended recipient,
> you are notified that you are strictly prohibited from using, copying,
> altering, or disclosing the contents of this message. Aricent accepts no
> responsibility for loss or damage arising from the use of the information
> transmitted by this email including damage from virus." -------------- next
> part -------------- An HTML attachment was scrubbed...
> ------------------------------ Message: 31 Date: Fri, 22 May 2009 17:11:50
> +0530 From: Amar Mudrankit Subject: Re: Enable / Disable MIB through
> snmp.conf To: Mike Ayers Cc: [email protected]: Content-Type: text/plain; charset=ISO-8859-1 I tried following
> configuration in snmpd.conf, still it did not help me view udpview included
> all # excluding the whole udp subtree. view udpview excluded udp
> authcommunity read public 10.50.0.0/16 -V udpview snmpget on
> udpInDatagrams always returned valid value. Am I still missing something?
> Thanks and Regards, Amar S Mudrankit On Thu, May 21, 2009 at 10:33 PM, Mike
> Ayers wrote: > >> From: Amar Mudrankit [mailto:[email protected]]
> >> Sent: Thursday, May 21, 2009 9:09 AM > >> For example, if I disable
> UDP-MIB, I will not be able to retrieve the >> value udpInDatagrams.0 from
> agent using snmpget command. >> >> I tried to achieve this by not defining
> the UDP-MIB in snmp.conf file >> mibs section(attached with this mail), > >
> That just affects whether the snmp tools on that host will translate those
> OIDs into their standard textual representation. To do what you intend,
> please read the access control section of the snmpd.conf manpage. > > > HTH,
> > > Mike > ------------------------------ Message: 32 Date: Fri, 22 May 2009
> 21:13:10 +0530 From: Amar Mudrankit Subject: Re: Enable / Disable MIB
> through snmp.conf To: Mike Ayers Cc: [email protected]: Content-Type: text/plain; charset=ISO-8859-1 the configuration
> in snmpd.conf, that I tried was as follows: view udpview included .1 #
> excluding the whole udp subtree. view udpview excluded .1.3.6.1.2.1.7
> authcommunity read public 10.50.0.0/16 -V udpview apologies for previous
> wrong configuration Thanks and Regards, Amar S Mudrankit On Fri, May 22,
> 2009 at 5:11 PM, Amar Mudrankit wrote: > I tried following configuration in
> snmpd.conf, still it did not help me > > view udpview included all > > #
> excluding the whole udp subtree. > view udpview excluded udp > >
> authcommunity read public 10.50.0.0/16 -V udpview > > snmpget on
> udpInDatagrams always returned valid value. > > Am I still missing
> something? > > Thanks and Regards, > Amar S Mudrankit > > On Thu, May 21,
> 2009 at 10:33 PM, Mike Ayers wrote: >> >>> From: Amar Mudrankit [mailto:
> [email protected]] >>> Sent: Thursday, May 21, 2009 9:09 AM >> >>>
> For example, if I disable UDP-MIB, I will not be able to retrieve the >>>
> value udpInDatagrams.0 from agent using snmpget command. >>> >>> I tried to
> achieve this by not defining the UDP-MIB in snmp.conf file >>> mibs
> section(attached with this mail), >> >> That just affects whether the snmp
> tools on that host will translate those OIDs into their standard textual
> representation. To do what you intend, please read the access control
> section of the snmpd.conf manpage. >> >> >> HTH, >> >> Mike >> >
> ------------------------------ Message: 33 Date: Thu, 21 May 2009 19:11:10
> +0530 From: ravi singh Subject: Fwd: snmpd not getting to start To:
> [email protected] Message-ID: <
> [email protected]> Content-Type:
> text/plain; charset=ISO-8859-1 Hi, i have installed net-snmp 5.4.2.1 onto my
> ubuntu-8.04 (its my ipv6 host and on eth0 interface 2001:468::3/64 address
> is assigned) .but im unable to start my snmpd. whenever i run
> "/etc/init.d/snmpd start" the im getting following error- symbol lookup
> error: /usr/local/lib/libnetsnmpagent.so.15: undefined symbol:
> boot_DynaLoader My snmpd is available in /usr/local/sbin ? ? snmpd.conf is
> in ?/usr/local/etc/snmp/snmpd.conf and also in /etc/snmp/snmpd.conf please
> help me in removing above error so that snmpd can get start on my ipv6 host.
> [1] my /usr/local/etc/snmp/snmpd.conf file is shown below-
> ###############################################################################
> # # EXAMPLE.conf: # ? An example configuration file for configuring the
> ucd-snmp snmpd agent. #
> ###############################################################################
> # # This file is intended to only be an example. ?If, however, you want # to
> use it, it should be placed in /usr/local/etc/snmp/snmpd.conf. # When the
> snmpd agent starts up, this is where it will look for it. # # You might be
> interested in generating your own snmpd.conf file using # the "snmpconf"
> program (perl script) instead. ?It's a nice menu # based interface to
> writing well commented configuration files. ?Try it! # # Note: This file is
> automatically generated from EXAMPLE.conf.def. # Do NOT read the
> EXAMPLE.conf.def file! Instead, after you have run # configure & make, and
> then make sure you read the EXAMPLE.conf file # instead, as it will tailor
> itself to your configuration. # All lines beginning with a '#' are comments
> and are intended for you # to read. ?All other lines are configuration
> commands for the agent. # # PLEASE: read the snmpd.conf(5) manual page as
> well! #
> ###############################################################################
> # Access Control
> ###############################################################################
> # YOU SHOULD CHANGE THE "COMMUNITY" TOKEN BELOW TO A NEW KEYWORD ONLY #
> KNOWN AT YOUR SITE. ?YOU *MUST* CHANGE THE NETWORK TOKEN BELOW TO #
> SOMETHING REFLECTING YOUR LOCAL NETWORK ADDRESS SPACE. # By far, the most
> common question I get about the agent is "why won't # it work?", when really
> it should be "how do I configure the agent to # allow me to access it?" # #
> By default, the agent responds to the "public" community for read # only
> access, if run out of the box without any configuration file in # place.
> ?The following examples show you other ways of configuring # the agent so
> that you can change the community names, and give # yourself write access as
> well. # # The following lines change the access permissions of the agent so
> # that the COMMUNITY string provides read-only access to your entire #
> NETWORK (EG: 10.10.10.0/24), and read/write access to only the # localhost
> (127.0.0.1, not its real ipaddress). # # For more information, read the FAQ
> as well as the snmpd.conf(5) # manual page. #### # First, map the community
> name (COMMUNITY) into a security name # (local and mynetwork, depending on
> where the request is coming # from): # ? ? ? sec.name ?source ? ? ? ?
> ?community com2sec local ? ? localhost ? ? ? public com2sec6 mynetwork
> 2001:468::/64 ? public com2sec readonly ?default ? ? ? ? public #com2sec6
> readonly ?default ? ? ? ? public #### # Second, map the security names into
> group names: # ? ? ? ? ? ? ? sec.model ?sec.name group MyRWGroup v1 ? ? ?
> ? local group MyRWGroup v2c ? ? ? ?local group MyRWGroup usm ? ? ? ?local
> group MyRWGroup usm ? ? ? ?initial group MyROGroup v1 ? ? ? ? mynetwork
> group MyROGroup v2c ? ? ? ?mynetwork group MyROGroup usm ? ? ? ?mynetwork
> group MyRWGroup v1 ? ? ? ? any group MyRWGroup v2c ? ? ? ?any #### # Third,
> create a view for us to let the groups have rights to: # ? ? ? ? ? incl/excl
> subtree ? ? ? ? ? ? ? ? ? ? ? ? ?mask view all ? ?included ?.1 ? ? ? ? ? ? ?
> ? ? ? ? ? ? ? ? 80 #### # Finally, grant the 2 groups access to the 1 view
> with different # write permissions: # ? ? ? ? ? ? ? ?context sec.model
> sec.level match ?read ? write ?notif access MyROGroup "" ? ? ?any ? ? ?
> noauth ? ?exact ?all ? ?none ? none access MyRWGroup "" ? ? ?any ? ? ?
> noauth ? ?exact ?all ? ?all ? ?none #
> -----------------------------------------------------------------------------
> rwuser initial priv createUser initial MD5 auth_pass DES priv_pass
> ###############################################################################
> # System contact information # # It is also possible to set the sysContact
> and sysLocation system # variables through the snmpd.conf file. ?**PLEASE
> NOTE** that setting # the value of these objects here makes these objects
> READ-ONLY # (regardless of any access control settings). ?Any attempt to set
> the # value of an object whose value is given here will fail with an error #
> status of notWritable. # syslocation Right here, right now. syscontact G. S.
> Marzot # Example output of snmpwalk: # ? % snmpwalk -v 1 -c public localhost
> system # ? system.sysDescr.0 = "SunOS name sun4c" # ? system.sysObjectID.0 =
> OID: enterprises.ucdavis.ucdSnmpAgent.sunos4 # ? system.sysUpTime.0 =
> Timeticks: (595637548) 68 days, 22:32:55 # ? system.sysContact.0 = "Me " # ?
> system.sysName.0 = "name" # ? system.sysLocation.0 = "Right here, right
> now." # ? system.sysServices.0 = 72 #
> -----------------------------------------------------------------------------
> ###############################################################################
> # Process checks. # # ?The following are examples of how to use the agent to
> check for # ?processes running on the host. ?The syntax looks something
> like: # # ?proc NAME [MAX=0] [MIN=0] # # ?NAME: ?the name of the process to
> check for. ?It must match # ? ? ? ? exactly (ie, http will not find httpd
> processes). # ?MAX: ? the maximum number allowed to be running. ?Defaults to
> 0. # ?MIN: ? the minimum number to be running. ?Defaults to 0. # #
> ?Examples: # # ?Make sure mountd is running proc mountd # ?Make sure there
> are no more than 4 ntalkds running, but 0 is ok too. proc ntalkd 4 # ?Make
> sure at least one sendmail, but less than or equal to 10 are running. proc
> sendmail 10 1 # ?A snmpwalk of the prTable would look something like this: #
> # % snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.2021.2 #
> enterprises.ucdavis.procTable.prEntry.prIndex.1 = 1 #
> enterprises.ucdavis.procTable.prEntry.prIndex.2 = 2 #
> enterprises.ucdavis.procTable.prEntry.prIndex.3 = 3 #
> enterprises.ucdavis.procTable.prEntry.prNames.1 = "mountd" #
> enterprises.ucdavis.procTable.prEntry.prNames.2 = "ntalkd" #
> enterprises.ucdavis.procTable.prEntry.prNames.3 = "sendmail" #
> enterprises.ucdavis.procTable.prEntry.prMin.1 = 0 #
> enterprises.ucdavis.procTable.prEntry.prMin.2 = 0 #
> enterprises.ucdavis.procTable.prEntry.prMin.3 = 1 #
> enterprises.ucdavis.procTable.prEntry.prMax.1 = 0 #
> enterprises.ucdavis.procTable.prEntry.prMax.2 = 4 #
> enterprises.ucdavis.procTable.prEntry.prMax.3 = 10 #
> enterprises.ucdavis.procTable.prEntry.prCount.1 = 0 #
> enterprises.ucdavis.procTable.prEntry.prCount.2 = 0 #
> enterprises.ucdavis.procTable.prEntry.prCount.3 = 1 #
> enterprises.ucdavis.procTable.prEntry.prErrorFlag.1 = 1 #
> enterprises.ucdavis.procTable.prEntry.prErrorFlag.2 = 0 #
> enterprises.ucdavis.procTable.prEntry.prErrorFlag.3 = 0 #
> enterprises.ucdavis.procTable.prEntry.prErrMessage.1 = "No mountd process
> running." # enterprises.ucdavis.procTable.prEntry.prErrMessage.2 = "" #
> enterprises.ucdavis.procTable.prEntry.prErrMessage.3 = "" #
> enterprises.ucdavis.procTable.prEntry.prErrFix.1 = 0 #
> enterprises.ucdavis.procTable.prEntry.prErrFix.2 = 0 #
> enterprises.ucdavis.procTable.prEntry.prErrFix.3 = 0 # # ?Note that the
> errorFlag for mountd is set to 1 because one is not # ?running (in this case
> an rpc.mountd is, but thats not good enough), # ?and the ErrMessage tells
> you what's wrong. ?The configuration # ?imposed in the snmpd.conf file is
> also shown. # # ?Special Case: ?When the min and max numbers are both 0, it
> assumes # ?you want a max of infinity and a min of 1. # #
> -----------------------------------------------------------------------------
> ###############################################################################
> # Executables/scripts # # # ?You can also have programs run by the agent
> that return a single # ?line of output and an exit code. ?Here are two
> examples. # # ?exec NAME PROGRAM [ARGS ...] # # ?NAME: ? ? A generic name. #
> ?PROGRAM: ?The program to run. ?Include the path! # ?ARGS: ? ? optional
> arguments to be passed to the program # a simple hello world exec echotest
> /bin/echo hello world # Run a shell script containing: # # #!/bin/sh # echo
> hello world # echo hi there # exit 35 # # Note: ?this has been specifically
> commented out to prevent # accidental security holes due to someone else on
> your system writing # a /tmp/shtest before you do. ?Uncomment to use it. #
> #exec shelltest /bin/sh /tmp/shtest # Then, # % snmpwalk -v 1 -c public
> localhost .1.3.6.1.4.1.2021.8 #
> enterprises.ucdavis.extTable.extEntry.extIndex.1 = 1 #
> enterprises.ucdavis.extTable.extEntry.extIndex.2 = 2
> #enterprises.ucdavis.extTable.extEntry.extNames.1 = "echotest" #
> enterprises.ucdavis.extTable.extEntry.extNames.2 = "shelltest" #
> enterprises.ucdavis.extTable.extEntry.extCommand.1 = "/bin/echo hello world"
> # enterprises.ucdavis.extTable.extEntry.extCommand.2 = "/bin/sh /tmp/shtest"
> # enterprises.ucdavis.extTable.extEntry.extResult.1 = 0 #
> enterprises.ucdavis.extTable.extEntry.extResult.2 = 35 #
> enterprises.ucdavis.extTable.extEntry.extOutput.1 = "hello world." #
> enterprises.ucdavis.extTable.extEntry.extOutput.2 = "hello world." #
> enterprises.ucdavis.extTable.extEntry.extErrFix.1 = 0 #
> enterprises.ucdavis.extTable.extEntry.extErrFix.2 = 0 # Note that the second
> line of the /tmp/shtest shell script is cut # off. ?Also note that the exit
> status of 35 was returned. #
> -----------------------------------------------------------------------------
> ###############################################################################
> # disk checks # # The agent can check the amount of available disk space,
> and make # sure it is above a set limit. # disk PATH
> [MIN=DEFDISKMINIMUMSPACE] # # PATH: ?mount path to the disk in question. #
> MIN: ? Disks with space below this value will have the Mib's errorFlag set.
> # ? ? ? ?Default value = DEFDISKMINIMUMSPACE. # Check the / partition and
> make sure it contains at least 10 megs. disk / 10000 # % snmpwalk -v 1 -c
> public localhost .1.3.6.1.4.1.2021.9 #
> enterprises.ucdavis.diskTable.dskEntry.diskIndex.1 = 0 #
> enterprises.ucdavis.diskTable.dskEntry.diskPath.1 = "/" Hex: 2F #
> enterprises.ucdavis.diskTable.dskEntry.diskDevice.1 = "/dev/dsk/c201d6s0" #
> enterprises.ucdavis.diskTable.dskEntry.diskMinimum.1 = 10000 #
> enterprises.ucdavis.diskTable.dskEntry.diskTotal.1 = 837130 #
> enterprises.ucdavis.diskTable.dskEntry.diskAvail.1 = 316325 #
> enterprises.ucdavis.diskTable.dskEntry.diskUsed.1 = 437092 #
> enterprises.ucdavis.diskTable.dskEntry.diskPercent.1 = 58 #
> enterprises.ucdavis.diskTable.dskEntry.diskErrorFlag.1 = 0 #
> enterprises.ucdavis.diskTable.dskEntry.diskErrorMsg.1 = "" #
> -----------------------------------------------------------------------------
> ###############################################################################
> # load average checks # # load [1MAX=DEFMAXLOADAVE] [5MAX=DEFMAXLOADAVE]
> [15MAX=DEFMAXLOADAVE] # # 1MAX: ? If the 1 minute load average is above this
> limit at query # ? ? ? ? time, the errorFlag will be set. # 5MAX: ? Similar,
> but for 5 min average. # 15MAX: ?Similar, but for 15 min average. # Check
> for loads: load 12 14 14 # % snmpwalk -v 1 -c public localhost
> .1.3.6.1.4.1.2021.10 # enterprises.ucdavis.loadTable.laEntry.loadaveIndex.1
> = 1 # enterprises.ucdavis.loadTable.laEntry.loadaveIndex.2 = 2 #
> enterprises.ucdavis.loadTable.laEntry.loadaveIndex.3 = 3 #
> enterprises.ucdavis.loadTable.laEntry.loadaveNames.1 = "Load-1" #
> enterprises.ucdavis.loadTable.laEntry.loadaveNames.2 = "Load-5" #
> enterprises.ucdavis.loadTable.laEntry.loadaveNames.3 = "Load-15" #
> enterprises.ucdavis.loadTable.laEntry.loadaveLoad.1 = "0.49" Hex: 30 2E 34
> 39 # enterprises.ucdavis.loadTable.laEntry.loadaveLoad.2 = "0.31" Hex: 30 2E
> 33 31 # enterprises.ucdavis.loadTable.laEntry.loadaveLoad.3 = "0.26" Hex: 30
> 2E 32 36 # enterprises.ucdavis.loadTable.laEntry.loadaveConfig.1 = "12.00" #
> enterprises.ucdavis.loadTable.laEntry.loadaveConfig.2 = "14.00" #
> enterprises.ucdavis.loadTable.laEntry.loadaveConfig.3 = "14.00" #
> enterprises.ucdavis.loadTable.laEntry.loadaveErrorFlag.1 = 0 #
> enterprises.ucdavis.loadTable.laEntry.loadaveErrorFlag.2 = 0 #
> enterprises.ucdavis.loadTable.laEntry.loadaveErrorFlag.3 = 0 #
> enterprises.ucdavis.loadTable.laEntry.loadaveErrMessage.1 = "" #
> enterprises.ucdavis.loadTable.laEntry.loadaveErrMessage.2 = "" #
> enterprises.ucdavis.loadTable.laEntry.loadaveErrMessage.3 = "" #
> -----------------------------------------------------------------------------
> ###############################################################################
> # Extensible sections. # # This alleviates the multiple line output problem
> found in the # previous executable mib by placing each mib in its own mib
> table: # Run a shell script containing: # # #!/bin/sh # echo hello world #
> echo hi there # exit 35 # # Note: ?this has been specifically commented out
> to prevent # accidental security holes due to someone else on your system
> writing # a /tmp/shtest before you do. ?Uncomment to use it. # # exec
> .1.3.6.1.4.1.2021.50 shelltest /bin/sh /tmp/shtest # % snmpwalk -v 1 -c
> public localhost .1.3.6.1.4.1.2021.50 # enterprises.ucdavis.50.1.1 = 1 #
> enterprises.ucdavis.50.2.1 = "shelltest" # enterprises.ucdavis.50.3.1 =
> "/bin/sh /tmp/shtest" # enterprises.ucdavis.50.100.1 = 35 #
> enterprises.ucdavis.50.101.1 = "hello world." # enterprises.ucdavis.50.101.2
> = "hi there." # enterprises.ucdavis.50.102.1 = 0 # Now the Output has grown
> to two lines, and we can see the 'hi # there.' output as the second line
> from our shell script. # # Note that you must alter the mib.txt file to be
> correct if you want # the .50.* outputs above to change to reasonable text
> descriptions. # Other ideas: # # exec .1.3.6.1.4.1.2021.51 ps /bin/ps # exec
> .1.3.6.1.4.1.2021.52 top /usr/local/bin/top # exec .1.3.6.1.4.1.2021.53
> mailq /usr/bin/mailq #
> -----------------------------------------------------------------------------
> ###############################################################################
> # Pass through control. # # Usage: # ? pass MIBOID EXEC-COMMAND # # This
> will pass total control of the mib underneath the MIBOID # portion of the
> mib to the EXEC-COMMAND. # # Note: ?You'll have to change the path of the
> passtest script to your # source directory or install it in the given
> location. # # Example: ?(see the script for details) # ? ? ? ? ? (commented
> out here since it requires that you place the # ? ? ? ? ? script in the
> right location. (its not installed by default)) # pass .1.3.6.1.4.1.2021.255
> /bin/sh PREFIX/local/passtest # % snmpwalk -v 1 -c public localhost
> .1.3.6.1.4.1.2021.255 # enterprises.ucdavis.255.1 = "life the universe and
> everything" # enterprises.ucdavis.255.2.1 = 42 # enterprises.ucdavis.255.2.2
> = OID: 42.42.42 # enterprises.ucdavis.255.3 = Timeticks: (363136200) 42
> days, 0:42:42 # enterprises.ucdavis.255.4 = IpAddress: 127.0.0.1 #
> enterprises.ucdavis.255.5 = 42 # enterprises.ucdavis.255.6 = Gauge: 42 # # %
> snmpget -v 1 -c public localhost .1.3.6.1.4.1.2021.255.5 #
> enterprises.ucdavis.255.5 = 42 # # % snmpset -v 1 -c public localhost
> .1.3.6.1.4.1.2021.255.1 s "New string" # enterprises.ucdavis.255.1 = "New
> string" # # For specific usage information, see the man/snmpd.conf.5 manual
> page # as well as the local/passtest script used in the above example.
> ###############################################################################
> # Subagent control # # The agent can support subagents using a number of
> extension mechanisms. # From the 4.2.1 release, AgentX support is being
> compiled in by default. # However, this is still experimental code, so
> should not be used on # critical production systems. # ? Please see the file
> README.agentx for more details. # # If having read, marked, learnt and
> inwardly digested this information, # you decide that you do wish to make
> use of this mechanism, simply # uncomment the following directive. # #
> ?master ?agentx # # I repeat - this is *NOT* regarded as suitable for
> front-line production # systems, though it is probably stable enough for
> day-to-day use. # Probably. # # No refunds will be given.
> ###############################################################################
> # Further Information # # ?See the snmpd.conf manual page, and the output of
> "snmpd -H". # ?MUCH more can be done with the snmpd.conf than is shown as an
> # ?example here. agentaddress udp:161,udp6:161 [2] My /etc/snmp/snmpd.conf
> file is as shown below:-
> ###############################################################################
> # # EXAMPLE.conf: # ? An example configuration file for configuring the
> ucd-snmp snmpd agent. #
> ###############################################################################
> # # This file is intended to only be an example. ?If, however, you want # to
> use it, it should be placed in /etc/snmp/snmpd.conf. # When the snmpd agent
> starts up, this is where it will look for it. # # You might be interested in
> generating your own snmpd.conf file using # the "snmpconf" program (perl
> script) instead. ?It's a nice menu # based interface to writing well
> commented configuration files. ?Try it! # # Note: This file is automatically
> generated from EXAMPLE.conf.def. # Do NOT read the EXAMPLE.conf.def file!
> Instead, after you have run # configure & make, and then make sure you read
> the EXAMPLE.conf file # instead, as it will tailor itself to your
> configuration. # All lines beginning with a '#' are comments and are
> intended for you # to read. ?All other lines are configuration commands for
> the agent. # # PLEASE: read the snmpd.conf(5) manual page as well! #
> ###############################################################################
> # Access Control
> ###############################################################################
> # YOU SHOULD CHANGE THE "COMMUNITY" TOKEN BELOW TO A NEW KEYWORD ONLY #
> KNOWN AT YOUR SITE. ?YOU *MUST* CHANGE THE NETWORK TOKEN BELOW TO #
> SOMETHING REFLECTING YOUR LOCAL NETWORK ADDRESS SPACE. # By far, the most
> common question I get about the agent is "why won't # it work?", when really
> it should be "how do I configure the agent to # allow me to access it?" # #
> By default, the agent responds to the "public" community for read # only
> access, if run out of the box without any configuration file in # place.
> ?The following examples show you other ways of configuring # the agent so
> that you can change the community names, and give # yourself write access as
> well. # # The following lines change the access permissions of the agent so
> # that the COMMUNITY string provides read-only access to your entire #
> NETWORK (EG: 10.10.10.0/24), and read/write access to only the # localhost
> (127.0.0.1, not its real ipaddress). # # For more information, read the FAQ
> as well as the snmpd.conf(5) # manual page. #### # First, map the community
> name (COMMUNITY) into a security name # (local and mynetwork, depending on
> where the request is coming # from): # ? ? ? sec.name ?source ? ? ? ?
> ?community #com2sec paranoid ?default ? ? ? ? public com2sec readonly
> ?default ? ? ? ? public com2sec6 readonly ?default ? ? ? ? public #com2sec
> readwrite default ? ? ? ? private #### # Second, map the security names into
> group names: # ? ? ? ? ? ? ? sec.model ?sec.name group MyROSystem v1 ? ? ?
> ?paranoid group MyROSystem v2c ? ? ? paranoid group MyROSystem usm ? ? ?
> paranoid group MyROGroup v1 ? ? ? ? readonly group MyROGroup v2c ? ? ?
> ?readonly group MyROGroup usm ? ? ? ?readonly group MyRWGroup v1 ? ? ? ?
> readwrite group MyRWGroup v2c ? ? ? ?readwrite group MyRWGroup usm ? ? ?
> ?readwrite #### # Third, create a view for us to let the groups have rights
> to: # ? ? ? ? ? incl/excl subtree ? ? ? ? ? ? ? ? ? ? ? ? ?mask view all ?
> ?included ?.1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 80 view system included
> ?.iso.org.dod.internet.mgmt.mib-2.system #### # Finally, grant the 2 groups
> access to the 1 view with different # write permissions: # ? ? ? ? ? ? ?
> ?context sec.model sec.level match ?read ? write ?notif access MyROSystem ""
> ? ? any ? ? ? noauth ? ?exact ?system none ? none access MyROGroup "" ? ?
> ?any ? ? ? noauth ? ?exact ?all ? ?none ? none access MyRWGroup "" ? ? ?any
> ? ? ? noauth ? ?exact ?all ? ?all ? ?none #
> -----------------------------------------------------------------------------
> ###############################################################################
> # System contact information # # It is also possible to set the sysContact
> and sysLocation system # variables through the snmpd.conf file. ?**PLEASE
> NOTE** that setting # the value of these objects here makes these objects
> READ-ONLY # (regardless of any access control settings). ?Any attempt to set
> the # value of an object whose value is given here will fail with an error #
> status of notWritable. syslocation Unknown (configure
> /etc/snmp/snmpd.local.conf) syscontact Root (configure
> /etc/snmp/snmpd.local.conf) # Example output of snmpwalk: # ? % snmpwalk -v
> 1 -c public localhost system # ? system.sysDescr.0 = "SunOS name sun4c" # ?
> system.sysObjectID.0 = OID: enterprises.ucdavis.ucdSnmpAgent.sunos4 # ?
> system.sysUpTime.0 = Timeticks: (595637548) 68 days, 22:32:55 # ?
> system.sysContact.0 = "Me " # ? system.sysName.0 = "name" # ?
> system.sysLocation.0 = "Right here, right now." # ? system.sysServices.0 =
> 72 #
> -----------------------------------------------------------------------------
> ###############################################################################
> # Process checks. # # ?The following are examples of how to use the agent to
> check for # ?processes running on the host. ?The syntax looks something
> like: # # ?proc NAME [MAX=0] [MIN=0] # # ?NAME: ?the name of the process to
> check for. ?It must match # ? ? ? ? exactly (ie, http will not find httpd
> processes). # ?MAX: ? the maximum number allowed to be running. ?Defaults to
> 0. # ?MIN: ? the minimum number to be running. ?Defaults to 0. # #
> ?Examples: # # ?Make sure mountd is running #proc mountd # ?Make sure there
> are no more than 4 ntalkds running, but 0 is ok too. #proc ntalkd 4 # ?Make
> sure at least one sendmail, but less than or equal to 10 are running. #proc
> sendmail 10 1 # ?A snmpwalk of the prTable would look something like this: #
> # % snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.2021.2 #
> enterprises.ucdavis.procTable.prEntry.prIndex.1 = 1 #
> enterprises.ucdavis.procTable.prEntry.prIndex.2 = 2 #
> enterprises.ucdavis.procTable.prEntry.prIndex.3 = 3 #
> enterprises.ucdavis.procTable.prEntry.prNames.1 = "mountd" #
> enterprises.ucdavis.procTable.prEntry.prNames.2 = "ntalkd" #
> enterprises.ucdavis.procTable.prEntry.prNames.3 = "sendmail" #
> enterprises.ucdavis.procTable.prEntry.prMin.1 = 0 #
> enterprises.ucdavis.procTable.prEntry.prMin.2 = 0 #
> enterprises.ucdavis.procTable.prEntry.prMin.3 = 1 #
> enterprises.ucdavis.procTable.prEntry.prMax.1 = 0 #
> enterprises.ucdavis.procTable.prEntry.prMax.2 = 4 #
> enterprises.ucdavis.procTable.prEntry.prMax.3 = 10 #
> enterprises.ucdavis.procTable.prEntry.prCount.1 = 0 #
> enterprises.ucdavis.procTable.prEntry.prCount.2 = 0 #
> enterprises.ucdavis.procTable.prEntry.prCount.3 = 1 #
> enterprises.ucdavis.procTable.prEntry.prErrorFlag.1 = 1 #
> enterprises.ucdavis.procTable.prEntry.prErrorFlag.2 = 0 #
> enterprises.ucdavis.procTable.prEntry.prErrorFlag.3 = 0 #
> enterprises.ucdavis.procTable.prEntry.prErrMessage.1 = "No mountd process
> running." # enterprises.ucdavis.procTable.prEntry.prErrMessage.2 = "" #
> enterprises.ucdavis.procTable.prEntry.prErrMessage.3 = "" #
> enterprises.ucdavis.procTable.prEntry.prErrFix.1 = 0 #
> enterprises.ucdavis.procTable.prEntry.prErrFix.2 = 0 #
> enterprises.ucdavis.procTable.prEntry.prErrFix.3 = 0 # # ?Note that the
> errorFlag for mountd is set to 1 because one is not # ?running (in this case
> an rpc.mountd is, but thats not good enough), # ?and the ErrMessage tells
> you what's wrong. ?The configuration # ?imposed in the snmpd.conf file is
> also shown. # # ?Special Case: ?When the min and max numbers are both 0, it
> assumes # ?you want a max of infinity and a min of 1. # #
> -----------------------------------------------------------------------------
> ###############################################################################
> # Executables/scripts # # # ?You can also have programs run by the agent
> that return a single # ?line of output and an exit code. ?Here are two
> examples. # # ?exec NAME PROGRAM [ARGS ...] # # ?NAME: ? ? A generic name. #
> ?PROGRAM: ?The program to run. ?Include the path! # ?ARGS: ? ? optional
> arguments to be passed to the program # a simple hello world exec echotest
> /bin/echo hello world # Run a shell script containing: # # #!/bin/sh # echo
> hello world # echo hi there # exit 35 # # Note: ?this has been specifically
> commented out to prevent # accidental security holes due to someone else on
> your system writing # a /tmp/shtest before you do. ?Uncomment to use it. #
> #exec shelltest /bin/sh /tmp/shtest # Then, # % snmpwalk -v 1 -c public
> localhost .1.3.6.1.4.1.2021.8 #
> enterprises.ucdavis.extTable.extEntry.extIndex.1 = 1 #
> enterprises.ucdavis.extTable.extEntry.extIndex.2 = 2 #
> enterprises.ucdavis.extTable.extEntry.extNames.1 = "echotest" #
> enterprises.ucdavis.extTable.extEntry.extNames.2 = "shelltest" #
> enterprises.ucdavis.extTable.extEntry.extCommand.1 = "/bin/echo hello world"
> # enterprises.ucdavis.extTable.extEntry.extCommand.2 = "/bin/sh /tmp/shtest"
> # enterprises.ucdavis.extTable.extEntry.extResult.1 = 0 #
> enterprises.ucdavis.extTable.extEntry.extResult.2 = 35 #
> enterprises.ucdavis.extTable.extEntry.extOutput.1 = "hello world." #
> enterprises.ucdavis.extTable.extEntry.extOutput.2 = "hello world." #
> enterprises.ucdavis.extTable.extEntry.extErrFix.1 = 0 #
> enterprises.ucdavis.extTable.extEntry.extErrFix.2 = 0 # Note that the second
> line of the /tmp/shtest shell script is cut # off. ?Also note that the exit
> status of 35 was returned. #
> -----------------------------------------------------------------------------
> ###############################################################################
> # disk checks # # The agent can check the amount of available disk space,
> and make # sure it is above a set limit. # disk PATH
> [MIN=DEFDISKMINIMUMSPACE] # # PATH: ?mount path to the disk in question. #
> MIN: ? Disks with space below this value will have the Mib's errorFlag set.
> # ? ? ? ?Default value = DEFDISKMINIMUMSPACE. # Check the / partition and
> make sure it contains at least 10 megs. #disk / 10000 # % snmpwalk -v 1 -c
> public localhost .1.3.6.1.4.1.2021.9 #
> enterprises.ucdavis.diskTable.dskEntry.diskIndex.1 = 0 #
> enterprises.ucdavis.diskTable.dskEntry.diskPath.1 = "/" Hex: 2F #
> enterprises.ucdavis.diskTable.dskEntry.diskDevice.1 = "/dev/dsk/c201d6s0" #
> enterprises.ucdavis.diskTable.dskEntry.diskMinimum.1 = 10000 #
> enterprises.ucdavis.diskTable.dskEntry.diskTotal.1 = 837130 #
> enterprises.ucdavis.diskTable.dskEntry.diskAvail.1 = 316325 #
> enterprises.ucdavis.diskTable.dskEntry.diskUsed.1 = 437092 #
> enterprises.ucdavis.diskTable.dskEntry.diskPercent.1 = 58 #
> enterprises.ucdavis.diskTable.dskEntry.diskErrorFlag.1 = 0 #
> enterprises.ucdavis.diskTable.dskEntry.diskErrorMsg.1 = "" #
> -----------------------------------------------------------------------------
> ###############################################################################
> # load average checks # # load [1MAX=DEFMAXLOADAVE] [5MAX=DEFMAXLOADAVE]
> [15MAX=DEFMAXLOADAVE] # # 1MAX: ? If the 1 minute load average is above this
> limit at query # ? ? ? ? time, the errorFlag will be set. # 5MAX: ? Similar,
> but for 5 min average. # 15MAX: ?Similar, but for 15 min average. # Check
> for loads: #load 12 14 14 # % snmpwalk -v 1 -c public localhost
> .1.3.6.1.4.1.2021.10 # enterprises.ucdavis.loadTable.laEntry.loadaveIndex.1
> = 1 # enterprises.ucdavis.loadTable.laEntry.loadaveIndex.2 = 2 #
> enterprises.ucdavis.loadTable.laEntry.loadaveIndex.3 = 3 #
> enterprises.ucdavis.loadTable.laEntry.loadaveNames.1 = "Load-1" #
> enterprises.ucdavis.loadTable.laEntry.loadaveNames.2 = "Load-5" #
> enterprises.ucdavis.loadTable.laEntry.loadaveNames.3 = "Load-15" #
> enterprises.ucdavis.loadTable.laEntry.loadaveLoad.1 = "0.49" Hex: 30 2E 34
> 39 # enterprises.ucdavis.loadTable.laEntry.loadaveLoad.2 = "0.31" Hex: 30 2E
> 33 31 # enterprises.ucdavis.loadTable.laEntry.loadaveLoad.3 = "0.26" Hex: 30
> 2E 32 36 # enterprises.ucdavis.loadTable.laEntry.loadaveConfig.1 = "12.00" #
> enterprises.ucdavis.loadTable.laEntry.loadaveConfig.2 = "14.00" #
> enterprises.ucdavis.loadTable.laEntry.loadaveConfig.3 = "14.00" #
> enterprises.ucdavis.loadTable.laEntry.loadaveErrorFlag.1 = 0 #
> enterprises.ucdavis.loadTable.laEntry.loadaveErrorFlag.2 = 0 #
> enterprises.ucdavis.loadTable.laEntry.loadaveErrorFlag.3 = 0 #
> enterprises.ucdavis.loadTable.laEntry.loadaveErrMessage.1 = "" #
> enterprises.ucdavis.loadTable.laEntry.loadaveErrMessage.2 = "" #
> enterprises.ucdavis.loadTable.laEntry.loadaveErrMessage.3 = "" #
> -----------------------------------------------------------------------------
> ###############################################################################
> # Extensible sections. # # This alleviates the multiple line output problem
> found in the # previous executable mib by placing each mib in its own mib
> table: # Run a shell script containing: # # #!/bin/sh # echo hello world #
> echo hi there # exit 35 # # Note: ?this has been specifically commented out
> to prevent # accidental security holes due to someone else on your system
> writing # a /tmp/shtest before you do. ?Uncomment to use it. # # exec
> .1.3.6.1.4.1.2021.50 shelltest /bin/sh /tmp/shtest # % snmpwalk -v 1 -c
> public localhost .1.3.6.1.4.1.2021.50 # enterprises.ucdavis.50.1.1 = 1 #
> enterprises.ucdavis.50.2.1 = "shelltest" # enterprises.ucdavis.50.3.1 =
> "/bin/sh /tmp/shtest" # enterprises.ucdavis.50.100.1 = 35 #
> enterprises.ucdavis.50.101.1 = "hello world." # enterprises.ucdavis.50.101.2
> = "hi there." # enterprises.ucdavis.50.102.1 = 0 # Now the Output has grown
> to two lines, and we can see the 'hi # there.' output as the second line
> from our shell script. # # Note that you must alter the mib.txt file to be
> correct if you want # the .50.* outputs above to change to reasonable text
> descriptions. # Other ideas: # # exec .1.3.6.1.4.1.2021.51 ps /bin/ps # exec
> .1.3.6.1.4.1.2021.52 top /usr/local/bin/top # exec .1.3.6.1.4.1.2021.53
> mailq /usr/bin/mailq #
> -----------------------------------------------------------------------------
> ###############################################################################
> # Pass through control. # # Usage: # ? pass MIBOID EXEC-COMMAND # # This
> will pass total control of the mib underneath the MIBOID # portion of the
> mib to the EXEC-COMMAND. # # Note: ?You'll have to change the path of the
> passtest script to your # source directory or install it in the given
> location. # # Example: ?(see the script for details) # ? ? ? ? ? (commented
> out here since it requires that you place the # ? ? ? ? ? script in the
> right location. (its not installed by default)) # pass .1.3.6.1.4.1.2021.255
> /bin/sh /usr/local/passtest # % snmpwalk -v 1 -c public localhost
> .1.3.6.1.4.1.2021.255 # enterprises.ucdavis.255.1 = "life the universe and
> everything" # enterprises.ucdavis.255.2.1 = 42 # enterprises.ucdavis.255.2.2
> = OID: 42.42.42 # enterprises.ucdavis.255.3 = Timeticks: (363136200) 42
> days, 0:42:42 # enterprises.ucdavis.255.4 = IpAddress: 127.0.0.1 #
> enterprises.ucdavis.255.5 = 42 # enterprises.ucdavis.255.6 = Gauge: 42 # # %
> snmpget -v 1 -c public localhost .1.3.6.1.4.1.2021.255.5 #
> enterprises.ucdavis.255.5 = 42 # # % snmpset -v 1 -c public localhost
> .1.3.6.1.4.1.2021.255.1 s "New string" # enterprises.ucdavis.255.1 = "New
> string" # # For specific usage information, see the man/snmpd.conf.5 manual
> page # as well as the local/passtest script used in the above example.
> ###############################################################################
> # Subagent control # # The agent can support subagents using a number of
> extension mechanisms. # From the 4.2.1 release, AgentX support is being
> compiled in by default. # To use this mechanism, simply uncomment the
> following directive. # # ?master ?agentx # # ? Please see the file
> README.agentx for more details. #
> ###############################################################################
> # Further Information # # ?See the snmpd.conf manual page, and the output of
> "snmpd -H". # ?MUCH more can be done with the snmpd.conf than is shown as an
> # ?example here. agentaddress udp6:161 (3) when i run "cat
> /var/log/snmpd.log " then im getting following errors:- duplicate table data
> attempted to be entered. row exists Failed to register extend entry
> 'echotest' - possibly duplicate name. /usr/local/share/snmp/snmpd.conf: line
> 134: Error: bad source address net-snmp: 1 error(s) in config file(s) Error
> opening specified endpoint "udp6:161" Server Exiting with code 1
> ------------------------------ Message: 34 Date: Thu, 21 May 2009 19:09:14
> +0530 From: ravi singh Subject: snmpd problem To:
> [email protected] Message-ID: <
> [email protected]> Content-Type:
> text/plain; charset=ISO-8859-1 Hi, i have installed net-snmp 5.4.2.1 onto my
> ubuntu-8.04 (its my ipv6 host and on eth0 interface 2001:468::3/64 address
> is assigned) .but im unable to start my snmpd. whenever i run
> "/etc/init.d/snmpd start" the ? ----- Message truncated -----
> ------------------------------ Message: 35 Date: Fri, 22 May 2009 12:31:52
> -0400 From: May The Dog Subject: snmpget question To:
> [email protected] Message-ID: <
> [email protected]> Content-Type:
> text/plain; charset="iso-8859-1" When AGENT is 10.77.168.10, it works. When
> AGENT is localhost, it works. When AGENT is localhost:8159, it works. But
> When AGENT is 10.77.168.10:8159, it does not work? -------------- next
> part -------------- An HTML attachment was scrubbed...
> ------------------------------ Message: 36 Date: Fri, 22 May 2009 11:42:22
> -0700 From: "Mike Ayers" Subject: RE: snmpget question To: "May The Dog" Cc:
> [email protected] Message-ID: <
> 83E753BE7B6A324ABB336245BAF1DAAC0C3A7A00@mailserver.metatv-ds.metatv.com>
> Content-Type: text/plain; charset="iso-8859-1" > From: May The Dog [mailto:
> [email protected]] > Sent: Friday, May 22, 2009 9:32 AM > When AGENT
> is 10.77.168.10, it works. > When AGENT is localhost, it works. > When AGENT
> is localhost:8159, it works. > > But > When AGENT is 10.77.168.10:8159, it
> does not work? Please explain what you mean by "AGENT and "it". Thanks, Mike
> ------------------------------ Message: 37 Date: Fri, 22 May 2009 13:48:23
> -0700 From: "Joan Landry" Subject: Net-snmp brings subagent down To:
> Message-ID: Content-Type: text/plain; charset="us-ascii" Does anyone know
> how to prevent net-snmp from bringing down the subagent via the call to
> agent_check_and_process(0); Under certain conditions I have seen the program
> terminate - I do not at this point know if it is via an assert or exit - the
> subagent process id goes away. Yet there is no apparent crash. I have
> verified that it is occurring inside the call to agent_check_and_process.
> One of the condition that causes this is the subagent is busy doing other
> things for 2 minutes. If anyone has seen this behavior and knows how to
> avoid it - please let me know, Thanks. ------------------------------
> Message: 38 Date: Fri, 22 May 2009 15:05:46 -0700 From: Radhika Srivatsa
> Subject: MIB file creation - table of groups To:
> [email protected] Message-ID: <
> [email protected]> Content-Type:
> text/plain; charset=ISO-8859-1 Hi, I am trying to create a MIB file which
> has a table consisting of groups of items as its rows. I created the MIB
> successfully and am able to look at the OIDs generated via the
> 'snmptranslate' command. Now, I am trying to browse the MIB using iReasoning
> MIB Browser and in this Browser, I do not see the Group Index as part of the
> row entry within this Browser -- there are no errors from the Browser
> though. I don't think it should be a problem of having a OBJECT-GROUP as a
> row of a TABLE -- for it was, then even my command line (snmptranslate)
> would have complained. I am thinking it could be a problem with the
> particular MIBBrowser I am using. Let me know if any of you have encountered
> this kind of situation of putting groups within a MIB table and if things
> worked and how did you view the MIB via GUI? Thanks -- --Radhika
> ------------------------------ Message: 39 Date: Sat, 23 May 2009 13:17:18
> +0200 From: "m. kh " Subject: Re: Create VLAN using Q-BRIDGE-MIB To:
> [email protected] Message-ID: Content-Type: text/plain;
> charset="iso-8859-1" Hi, look #* snmpset -v 2c -c private 192.168.2.241
> Q-BRIDGE-MIB::dot1qVlanStaticRowStatus = createAndGo
> Q-BRIDGE-MIB::dot1qVlanStaticName = vlan6* *Error in packet. Reason:
> resourceUnavailable (This is likely a out-of-memory failure within the
> agent) Failed object: Q-BRIDGE-MIB::dot1qVlanStaticRowStatus* and when i use
> snmpwalk: *# snmpwalk -v 2c -c private 192.168.2.241
> Q-BRIDGE-MIB::dot1qVlan* Q-BRIDGE-MIB::dot1qVlanNumDeletes.0 = Counter32: 0
> Q-BRIDGE-MIB::dot1qVlanFdbId.0.1 = Gauge32: 1
> Q-BRIDGE-MIB::dot1qVlanFdbId.0.10 = Gauge32: 10
> Q-BRIDGE-MIB::dot1qVlanCurrentEgressPorts.0.1 = Hex-STRING: FF FF FF FF FF
> FF FF F0 Q-BRIDGE-MIB::dot1qVlanCurrentEgressPorts.0.10 = Hex-STRING: 00 00
> 00 00 00 00 00 00 Q-BRIDGE-MIB::dot1qVlanCurrentUntaggedPorts.0.1 =
> Hex-STRING: FF FF FF FF FF FF FF F0
> Q-BRIDGE-MIB::dot1qVlanCurrentUntaggedPorts.0.10 = Hex-STRING: 00 00 00 00
> 00 00 00 00 Q-BRIDGE-MIB::dot1qVlanStatus.0.1 = INTEGER: other(1)
> Q-BRIDGE-MIB::dot1qVlanStatus.0.10 = INTEGER: permanent(2)
> Q-BRIDGE-MIB::dot1qVlanCreationTime.0.1 = Timeticks: (5100) 0:00:51.00
> Q-BRIDGE-MIB::dot1qVlanCreationTime.0.10 = Timeticks: (1825700) 5:04:17.00
> Q-BRIDGE-MIB::dot1qVlanStaticName.10 = STRING: vlan10
> Q-BRIDGE-MIB::dot1qVlanStaticEgressPorts.10 = Hex-STRING: 00 00 00 00 00 00
> 00 00 Q-BRIDGE-MIB::dot1qVlanForbiddenEgressPorts.10 = Hex-STRING: 00 00 00
> 00 00 00 00 00 Q-BRIDGE-MIB::dot1qVlanStaticUntaggedPorts.10 = Hex-STRING:
> 00 00 00 00 00 00 00 00 Q-BRIDGE-MIB::dot1qVlanStaticRowStatus.10 = INTEGER:
> active(1) Q-BRIDGE-MIB::dot1qPvid.1 = Gauge32: 1 Q-BRIDGE-MIB::dot1qPvid.2 =
> Gauge32: 1 Q-BRIDGE-MIB::dot1qPvid.3 = Gauge32: 1 ...... help ! On Thu, May
> 21, 2009 at 2:00 PM, Vincent Bernat wrote: > OoO Pendant le temps de midi du
> jeudi 21 mai 2009, vers 12:37, "m. kh " > disait : > > > i use Q-BRIDGE-MIB
> to create vlan in switch ,the request to create vlan > is : > > # snmpset
> -v2c -c private 192.168.2.241 1.3.6.1.2.1.17.7.1.4.3.1.1.6 s > vlan6 > > >
> but the result is : > > Error in packet. > > Reason: inconsistentValue (The
> set value is illegal or unsupported in > some way) > > Failed object:
> SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.6 > > This is not the way to create a new
> row in a table. You should try: > > snmpset -v 2c -c private 192.168.2.241 \
> > Q-BRIDGE-MIB::dot1qVlanStaticRowStatus = createAndGo \ >
> Q-BRIDGE-MIB::dot1qVlanStaticName = vlan6 > > Or : > > snmpset -v 2c -c
> private 192.168.2.241 \ > Q-BRIDGE-MIB::dot1qVlanStaticRowStatus =
> createAndWait > snmpset -v 2c -c private 192.168.2.241 \ >
> Q-BRIDGE-MIB::dot1qVlanStaticName = vlan6 > snmpset -v 2c -c private
> 192.168.2.241 \ > Q-BRIDGE-MIB::dot1qVlanStaticRowStatus = createAndGo > >
> The first last is less eager to work but if it works, it will give you >
> more tips on what can go wrong at each step. > > All this depends on the
> implementation on the switch. Some does not even > accept to create VLAN
> this way. The failures can be logged with some > useful tips. > -- > I WAS
> NOT TOLD TO DO THIS > I WAS NOT TOLD TO DO THIS > I WAS NOT TOLD TO DO THIS
> > -+- Bart Simpson on chalkboard in episode 5F13 > -------------- next part
> -------------- An HTML attachment was scrubbed...
> ------------------------------ Message: 40 Date: Sat, 23 May 2009 14:39:37
> +0200 From: Vincent Bernat Subject: Re: Create VLAN using Q-BRIDGE-MIB To:
> "m. kh " Cc: [email protected] Message-ID:
> Content-Type: text/plain; charset=utf-8 OoO Peu avant le d?but de
> l'apr?s-midi du samedi 23 mai 2009, vers 13:17, "m. kh " disait?: > #
> snmpset -v 2c -c private 192.168.2.241? >
> Q-BRIDGE-MIB::dot1qVlanStaticRowStatus = createAndGo? >
> Q-BRIDGE-MIB::dot1qVlanStaticName = vlan6 > Error in packet. > Reason:
> resourceUnavailable (This is likely a out-of-memory failure within the >
> agent) > Failed object: Q-BRIDGE-MIB::dot1qVlanStaticRowStatus Maybe your
> switch does not support VLAN creation through this MIB. What brand it is? --
> Make it right before you make it faster. - The Elements of Programming Style
> (Kernighan & Plauger) ------------------------------ Message: 41 Date: Sat,
> 23 May 2009 05:22:48 -0700 From: "Joan Landry" Subject: syslog / debug log
> issue To: Message-ID: Content-Type: text/plain; charset="us-ascii" Does
> anyone know how to get the snmp_log messages turned on? In the subagent -
> the net-snmp code has numerous calls to snmp_log(LOG_WARNING,"got %d while
> setting request error\n", rc); I need to know how to get these messages into
> a log file? Any info on this would be greatly appreciated. I have tried all
> of the following and nothing works so far: snmp_disable_stderrlog();
> snmp_enable_filelog("/var/log/subagent.log", 0); snmp_get_do_logging();
> snmp_log_options_usage("\t", stdout); snmp_enable_syslog();
> snmp_enable_calllog(); thanks -------------- next part -------------- An
> HTML attachment was scrubbed... ------------------------------ Message: 42
> Date: Mon, 25 May 2009 14:20:12 +0530 From: chandan Subject: snmpset
> operation To: [email protected] Message-ID: <
> [email protected]> Content-Type: text/plain;
> charset=ISO-8859-1; format=flowed Consider the following MIB table
> definition: 1. TableIndex (integer) 2. TableAddrType (InetAddressType) 3.
> TableAddr (InetAddress) 4. TableRowStatus (Rowstatus) The following
> condition applies to each conceptual row of the table: "If TableRowStatus is
> set to Active, TableAddrType MUST not be modified". Consider the following
> conceptual row of the table 1. TableIndex = 1 2. TableAddrType = IPv4 3.
> TableAddr = Some valid IPv4 address 4. TableRowStatus = Active In this
> scenario should the following SET operation succeed or fail? snmpset
> TableAddrType.1=IPv6 TableAddr="some valid IPv6 address"
> TableRowStatus=NOT_IN_SERVICE. ------------------------------ Message: 43
> Date: Mon, 25 May 2009 15:02:11 +0530 From: chandan Subject: snmpd.conf:
> VACM configuration To: [email protected] Message-ID: <
> [email protected]> Content-Type: text/plain;
> charset=ISO-8859-1; format=flowed Hi, Can somebody provide me a link/file to
> a working snmpd.conf file that has the following configured: 1. SNMPv3
> Users. 2. VACM configuration Regards, chandan ------------------------------
> Message: 44 Date: Mon, 25 May 2009 04:56:04 -0700 From: "Joan Landry"
> Subject: Subagent timeout To: Message-ID: Content-Type: text/plain;
> charset="us-ascii" All, Is there a mechanism to prevent a call to
> agent_check_and_process(0)from shutting down the subagent from a timeout
> condition. I have a situation where it takes 2 minutes to reload some of the
> tables and unfortunately when I call agent_check_and_process after 2 minutes
> the code in net-snmp stops my subagnet from running. Is there a way to tell
> the master agent to pause? ------------------------------ Message: 45 Date:
> Sat, 23 May 2009 10:14:25 +0800 From: ??? Subject: how to compile subagent
> To: [email protected] Message-ID: <
> [email protected]> Content-Type:
> text/plain; charset="iso-8859-1" hi ,everyone! int the tutrial on the
> www.net-snmp.org. it only give how to compile subagent by
> makefile,.Howerver,,i wonder how set option such as include directory and
> lib diectory in eclipse. And who can explain the makefile.espically what
> about net-snmp-config .How to deal with net-snmp-config in eclipse? the
> makefile content is : # # Warning: you may need more libraries than are
> included here on the # build line. The agent frequently needs various
> libraries in order # to compile pieces of it, but is OS dependent and we
> can't list all # the combinations here. Instead, look at the libraries that
> were # used when linking the snmpd master agent and copy those to this #
> file. # CC=gcc OBJS1=snmpdemoapp.o OBJS2=example-demon.o
> nstAgentSubagentObject.o OBJS3=asyncapp.o TARGETS=example-demon snmpdemoapp
> asyncapp CFLAGS=-I. `net-snmp-config --cflags` BUILDLIBS=`net-snmp-config
> --libs` BUILDAGENTLIBS=`net-snmp-config --agent-libs` # shared library flags
> (assumes gcc) DLFLAGS=-fPIC -shared all: $(TARGETS) snmpdemoapp: $(OBJS1)
> $(CC) -o snmpdemoapp $(OBJS1) $(BUILDLIBS) asyncapp: $(OBJS3) $(CC) -o
> asyncapp $(OBJS3) $(BUILDLIBS) example-demon: $(OBJS2) $(CC) -o
> example-demon $(OBJS2) $(BUILDAGENTLIBS) clean: rm $(OBJS2) $(OBJS2)
> $(TARGETS) nstAgentPluginObject.so: nstAgentPluginObject.c Makefile $(CC)
> $(CFLAGS) $(DLFLAGS) -c -o nstAgentPluginObject.o nstAgentPluginObject.c
> $(CC) $(CFLAGS) $(DLFLAGS) -o nstAgentPluginObject.so nstAgentPluginObject.o
> -------------- next part -------------- An HTML attachment was scrubbed...
> ------------------------------
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a
> gathering of tech-side developers & brand creativity professionals. Meet the
> minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com------------------------------
> _______________________________________________ Net-snmp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users End of
> Net-snmp-users Digest, Vol 36, Issue 5
> *********************************************

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.