Net-SNMP 5.0.9 used in Solaris 10 sma

We are using AgentX protocol in an application sub-agent
According to Net-SNMP change log, AgentX protocol support was experimental up to release 5.0.7 but going to the following link:
http://net-snmp.sourceforge.net/tutorial/tutorial-5/toolkit/demon/index.html
"The AgentX support in net-snmp versions prior to 5.1 is beta level quality. Although many people have used it successfully, we strongly recommend AgentX sub-agent developers use 5.1.2 or higher."
Why is the Net-SNMP version so low in the Solaris 10 sma build? Cureent version is 5.3.0.1

Hello.
I would also like to know how to upgrade the version of net-snmp that the System Management Agent uses so that I can monitor servers with more than one CPU.
Any guidance much appreciated.
Thanks

Similar Messages

  • Building Net-SNMP with gcc and Solaris 10's Forte-built Perl

    The 5.0.9 Net-SNMP that come with Solaris SPARC is too old for our users. Building the latest version appears to be basically impossible and I'm just about to bail and just build yet another version of Perl for Solaris 10 so it will work. But on the chance that someone has done this:
    I am trying to build Net-SNMP 5.4.1.2 with the Sunfreeware gcc. The configure script seems to ignore the --disable-perl-cc-checks flag:
    ./configure with-perl-modules disable-perl-cc-checks
    configure: error: This build is using a GNU C compiler (gcc) while Perl has been compiled with a non-GNU (or non-working) compiler (cc). This likely won't work for building with Perl support. Either specify a different compiler (--with-cc=PATH), disable this check (--disable-perl-cc-checks) or build without Perl (--without-perl-modules).
    Has anyone successfully done this? I was hoping to get a successful configure run, then build the binaries, and then further tweak the perl makefiles with "GCC=/usr/perl5/5.8.4/bin/perlgcc" or something.

    configure: error: This build is using a GNU C compiler (gcc) while Perl has been compiled with a non-GNU (or non-working) compiler (cc). This likely won't work for building with Perl support. Either specify a different compiler (--with-cc=PATH), disable this check (--disable-perl-cc-checks) or build without Perl (--without-perl-modules).The perl supplied by Sun should be compiled with Sun Studio and the error mentioned above seems to reflect this.
    So, either build perl first with sunfreeware's gcc and then move on to net-snmp or install and use Sun Studio instead of gcc so perl is happy.
    alan

  • Solaris 10 SMA is dumping core. Have you installed net-snmp?

    It's only happening on afew of the many sparc Solaris 10 servers I support. Oracle no longer supports SMA and has suggested downloading and installing "publicly available 'net-snmp' software". I'm reluctant to download and install open source; the review and approval process in my environment is onerous.
    Since net-snmp is bundled with Solaris 11, I'm wondering if it is possible to install Solaris 11 packages on a Solaris 10 server (and net-snmp in particular). If so, perhaps someone can provide tips?

    The package formats are not the same between these both release of Solaris. You can still trying to extract the files and then install it in your Solaris 10 machine but this is highly unrecommended and of course unsupported. And I'm not sure that it will work.

  • Cannot get net-snmp to start!!!

    Newbie question...
    I have installed net-snmp on a V880 running Solaris 9. The install appeared to complete without issue. However, when I attempt to start snmp, I get the following...
    bash-2.05# /etc/init.d/init.snmpdx start
    bash-2.05# ./snmpd -f -L
    [init_smux] bind failed: Address already in use
    Error opening specified endpoint "udp:161"
    Server Exiting with code 1
    ps -ef confirmes that net-snmp is the only version of snmp running on this machine...
    bash-2.05# ps -ef | grep snmp
    root 27603 1 0 10:57:29 ? 0:00 /usr/local/sbin/snmpd
    root 3953 27727 0 11:01:41 pts/3 0:00 grep snmp
    I don't think that there is anything else occupying this port...
    bash-2.05# lsof -i udp:161
    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    snmpd 27603 root 18u IPv4 0x30a267379c0 0t0 UDP *:161 (Idle)
    and snmp seems to be reading in the correct config files...
    bash-2.05# /usr/local/sbin/snmpd -Dread_config -H 2>&1 | grep "Reading" | sort -u
    read_config: Reading configuration /usr/local/share/snmp/snmpd.conf
    read_config: Reading configuration /var/net-snmp/snmpd.conf
    I am a beginner, so please be merciful...but I would appreciate any advice as to what I'm doing wrong.
    Thanks in advance...
    Stephen

    Can you tell me , how to do fix this problem
    [myserver01:]# /usr/local/sbin/snmpd -f -L
    [init_smux] bind failed: Address already in use
    Error opening specified endpoint "udp:161"
    Server Exiting with code 1
    [email protected]

  • Net-Snmp,. Agent X Java Sanity check

    I'm porting an old company app from Sol 9 to Sol 10. Previously, we shipped our own copy of Net-Snmp with a Java based sub-agent using agentx over port 705.
    Solaris 10 ships with it's own copy of net-snmp so I figured we would just use that. From what I can tell however:
    Solaris 10's Net-SNMP requires Unix Domain Sockets for Agentx
    Java doesn't supprt Unix Domain Sockets
    Therefore, no Java subagents for Solaris 10's Net-SNMP.
    Is this true?
    Thanks,
    mike

    Hi,
    I just recollected that if the SNMP agent is not able to bind to the originally configured port (161 in your case), it tries to bind to the next 10 ports in a sequence. Thats how it is complaining about 171.
    Make sure the port you have configured is open. Easiest way to check is to allocate one of the ports near the WebLogic console HTTP ports (not the ones currently used)
    Regards
    Vikas

  • Running net-snmp as a subagent.

    I am trying to setup net-snmp or ucd-snmp as a subagent through SunMC. I followed the instructions from the Sunmc 3.6.1 installation and configuration guide for modifying the subagent-registry-d.x file and put the following entry:
    netsnmp = {
    type = legacy
    persist = false
    snmpPort = "20161"
    errorAction = restart
    startCommand = "/export/home/xxx/crap.sh -p %port"
    stopCommand = "kill -9 %pid"
    pollInterval = 60
    pollHoldoff = 60
    managedTrees = "ucdavis"
    oidTrees = 1.3.6.1.4.1.2021
    snmpVersion = SNMPv1
    securityLevel = auth
    securityName = LALA
    the startup script crap.sh contains the following line:
    /export/home/xxx/snmpd -c /export/home/xxx/snmpd.conf -p 20161
    When I run a ctail on /var/opt/SUNWsymon/log/agent.log I get the following (removing all lines not assocaited with subagent calls)
    info Feb 06 11:17:39 agent subagent registry successfully loaded
    info Feb 06 11:17:39 agent startLegacySubagents: <>
    info Feb 06 11:17:39 agent startLegacySubagent: netsnmp
    info Feb 06 11:17:39 agent sh: Executing /export/home/psopel/crap.sh -p 20161 process 11859
    warning Feb 06 11:17:44 agent Failed to start legacy subagent netsnmp
    I am able to snmpwalk from another server on port 20161 so I see the net-snmp agent is responding as per the following ouput:
    snmpwalk srvname:20161 -c LALA -v 1 .1.3.6.1.4.1.2021.11
    UCD-SNMP-MIB::ssIndex.0 = INTEGER: 1
    UCD-SNMP-MIB::ssErrorName.0 = STRING: systemStats
    UCD-SNMP-MIB::ssSwapIn.0 = INTEGER: 0
    UCD-SNMP-MIB::ssSwapOut.0 = INTEGER: 0
    UCD-SNMP-MIB::ssIOSent.0 = INTEGER: 0
    UCD-SNMP-MIB::ssIOReceive.0 = INTEGER: 0
    UCD-SNMP-MIB::ssSysInterrupts.0 = INTEGER: 67
    UCD-SNMP-MIB::ssSysContext.0 = INTEGER: 48
    UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0
    UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 1
    UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 98
    But when I try to launch the command through talking to sunmc on port 161 I get:
    snmpwalk srvname -c LALA -v 1 .1.3.6.1.4.1.2021.11
    End of MIB
    A tail of the Agent.log file again shows this line appearing when I launch an snmpwalk:
    info Feb 06 11:40:45 agent getValuePDU: .iso.org.dod.internet.private.enterprises
    info Feb 06 11:40:45 agent getValuePDU: - nodeType is branch
    My understanding is that sunmc should receive the request on port 161 and sending the request to the external net-snmp running on the server. I am expecting to get the same output.
    Is this not how it should be working?
    -Pierre

    Hello Dave,
    I know it is long ago for you, but at the moment I have the same problem that you had in Jan. 2002, and possibly you have solved it meanwhile, or anyone else:
    I am looking for a servlet engine for Windows Mobile 2003.
    We are having a Web application for sales people that sell insurances. The application consists of JSP's and servlets. It runs under RESIN as servlet engine on a regular server and the clients are desktop PC's. My task is to investigate whether the application can be run on an HP iPAQ or similar device, both, server and client, such that the sales person can use it on the go, if he is NOT CONNECTED. The idea is to use the application as is, without modifying the code. B.T.W. a database is not required since all data is held in XML files.
    Any help is appreciated,
    Thanks a lot,
    Regards,
    Klaus.

  • Compile new version on net-snmp.

    Hello
    i would like to know if it possible to compile; install a new version to net-snmp in solaris 10. there is already one version running with svc:/application/management/sma:default
    how can i compile a new version and replace this one, (smf manifest, etc) do i just edit the sma.xml and point it to the new executable in <exec_method..?
    the compiled version would run in /usr/local.
    thank you very much for your input.
    Mario G.

    It's preferable to just install it to a new location and then create a new xml file for it.
    Then import the manifest file and disable the one that ships with Solaris.
    The rationale is that if anything happens to the system then Sun can't point a finger in your direction.
    alan

  • [SOLVED] HP jetdirect printer errors after updating net-snmp

    My office's HP printers weren't working anymore this morning, my cups log showed the following errors after a pacman -Syu.
    It looks that libnetsnmp.so.25 is required by hplip 3.11.10-1, but the latest net-snmp  5.7.1-1 provides libnetsnmp.so.30.
    168 D [31/Oct/2011:14:15:51 +0000] [Job 708] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs     -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="hp color LaserJet 3500" -dDuplex=    false -r600 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD -s    OutputFile=- -
    169 D [31/Oct/2011:14:15:51 +0000] [Job 708] JCL: <job data>
    170 D [31/Oct/2011:14:15:51 +0000] [Job 708]
    171 D [31/Oct/2011:14:15:51 +0000] [Job 708] Starting process 3788: "gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer    =hpijs -dDEVICEWIDTHPOINTS=6..."                                                                                                         
    172 D [31/Oct/2011:14:15:51 +0000] [Job 708] hpijs: error while loading shared libraries: libnetsnmp.so.25: cannot open shared object file: N    o such file or directory
    [14:29]:sudo pacman -Q | grep net-snmp
    net-snmp 5.6.1-4
    [14:30]:sudo pacman -Qo /usr/lib/cups/backend/hp
    /usr/lib/cups/backend/hp is owned by hplip 3.11.5-1
    solution is to downgrade net-snmp:
    [2011-10-08 21:56] upgraded net-snmp (5.6.1-4 -> 5.7.1-1)
    [2011-10-31 14:24] Running 'pacman -U /var/cache/pacman/pkg/net-snmp-5.6.1-4-x86_64.pkg.tar.xz'
    [2011-10-31 14:24] upgraded net-snmp (5.7.1-1 -> 5.6.1-4)
    this might help someone else,

    Hi groberts619,
    Unfortunately the software you obtain from the Printer Software Update doesn't include the HP Scan application - only the print and scan drivers.  I just checked on your product and it doesn't appear that there are plans to release an updated HP Scan installer for this model.
    On Mavericks it seems your best option will be to use Apple's Image Capture scan application.  You can find this application in the /Applications folder.  You also have the option to scan using Preview.  Look in the File menu for the command to import from a scanner.
    FretnBoutNutn
    I work for HP.
    - Say "Thanks" by clicking the Kudos Star in the post that helped you.
    - Please mark the post that solves your problem as "Accepted Solution"

  • Net snmp&&labwindows

     i need make a snmp tool with labwindows,but i use net-snmp api ,and complie it,but there are many fails,
    i have no idea to deal with them.
    include two h file----
           #include <net-snmp/net-snmp-config.h>
           #include <net-snmp/net-snmp-includes.h>
    1.typedef unsigned __int32 uint32_t; fail
    2.winnt.h                                        fail
     somebody can help me ??
    Attachments:
    1.JPG ‏85 KB

    I'm sorry, maybe the SNMP is not supported in NI production now.

  • Net-snmp

    I have solaris 9 x86 and I downloaded net-snmp from sunfreeware and i install it in /usr/local.
    I configured /etc/snmp/conf/snmpd.conf :
    sysdescr Sun SNMP Agent :
    syscontact xxxxxx
    syslocation xxxxxx
    system read-comunity public
    read-comunity public
    manager localhost
    I did :
    /etc/init.d/init.dmi stop
    /etc/init.d/snmpdx stop
    /usr/lib/snmp/mibiisa stop
    etc/init.d/init.dmi start
    /etc/init.d/snmpdx start
    /usr/lib/snmp/mibiisa start
    I have /usr/local/bin in my path and when i do snmpwalk localhost or snmpwalk 192.x.x.x in my local network i always get snmpwalk:Timeout
    Can someone help me to explain me how to setup net-snmp on solaris x86 step by step
    Thanks

    I don't have access to a solaris 9 x86 system but perhaps the problem is your misspelling of community in the system read-comunity<sic> and read-comunity<sic> fields in the snmpd.conf file?

  • Net-snmp problem UNKNOWN host

    There is a bug in the net-snmp 5.4 package, the host variable used by snmptrapd to resolve IPs return a UNKNOWN name when can't resolve.
    See the following (closed) bug report for details:
      [ 1638225 ] 5.4 traphandle: unresolved IP translated to <UNKNOWN>
      http://sf.net/support/tracker.php?aid=1638225
    I don't known if you people can fix this in the next build!!!!!
    thanks
    Carlos
    Last edited by CarLost (2007-06-20 02:28:47)

    I have the same problem...
    snmpwalk gives me:
    Error in packet.
    Reason: (genError) A general failure occured
    Failed object: .iso.org.dod.internet.private.enterprises.sun.products.sunSeaProxyMIB.sunSubTreeDispatchTable.sunSubTreeDispatchEntry.sunSubTreeDispatchIndex.1.1
    And snmpd.log:
    cannot read from /dev/openprom
    unable to lookup boot-command from eeprom
    js.

  • Net-SNMP scripting (Perl)

    If there are any network managers who write Net-SNMP scripts, do you
    install extra Perl modules? I'm not sure if I'm using the correct module
    (simply SNMP), but I can't figure out the SNMP commands: "Undefined
    subroutine &main:: ...." I've tried
    &snmp::
    I am trying to getnext in a table: e.g., ifSpeed. I have a schoolbook
    that says use the SNMP_util module, but the book is old. I installed
    perl-net-snmp, but I haven't restarted anything.
    Last edited by kete (2015-03-08 22:29:34)

    no one could help me?
    Any advice will be appreciated
    Regards
    Andrea

  • OEL 5.9: Effect of removing net-snmp to kernal

    Hi,
    I have situation where i have to install custom rpms for net-snmp.
    What will happen or what ll be the effect of removing the net-snmp,net-snmp-utils and net-snmp-perl rpms from the system forcefully?
    I see a dependency to oracle-linux kernal rpms.
    Please help me in this regards
    Thanks in advance
    Kushal

    I have situation where i have to install custom rpms for net-snmp.Why? How are the distribution RPM packages deficient?
    What will happen or what ll be the effect of removing the net-snmp,net-snmp-utils and net-snmp-perl rpms from the system forcefully?
    I see a dependency to oracle-linux kernal rpms.The oracle-linux RPM lists these as requirements; that is not the kernel. So, whatever you do with the net utils, you won't hurt the kernel; you may just disable your SNMP support.
    Any approach that mentions "--force" is automatically suspect. You can only use the "--force" switch once in your career; are you sure this is the time? :)
    So if you want to use your own RPM packages they should have higher revision number than your currently-installed packages, so they should just update normally.
    What am I missing?

  • Need guidance on using ddi_regs_map_setup solaris system call

    Hi all,
    Am a beginner in using Sun Solaris.
    I am working on porting our source code from linux to solaris.
    In Linux we are using inb/outb to read/write to keyboard data port(0x60) .
    I know that there is an equivalent system call for inb/outb in solaris. But in man page(of sun os) it is mentioned that inb/ outb are obsolete. It was mentioned that we can use ddi_get8/ddi_put8 functions respectively.
    ddi_get8 call requires ddi_acc_handle_t as a parameter which we can get it from ddi_regs_map_setup system call.
    Syntax for this call is:
    int ddi_regs_map_setup(dev_info_t *dip, uint_t rnumber,
    caddr_t *addrp, offset_t offset, offset_t len,
    ddi_device_acc_attr_t accattrp, ddi_acc_handle_t handlep);
    Please let me know where does the 0x60 port number fits in the above system call and what does these parameters rnumber, offset, len corresponds to ?

    Hi,
    The Fault_PC 0x13575e8 tells you exactly where you
    die. I assume you have used this in mdb on
    the core file to find you are dying in the ddi_get8 call?
    Are you checking return value of ddi_regs_map_setup?
    Are you sure the register you are accessing is in register set 1?
    Are there other places prior to the panic where
    the ddi_get/ddi_put routines work correctly? A bus error
    here generally means the location you are trying to access
    does not exist on the device. (It could also be alignment,
    but not with ddi_get8). The address
    looks like 1fe.02001400, which looks like a possibly
    valid address in I/O space.
    I would print the value of wc->ioaddr to make sure
    it is a valid virtual address.
    Hi,
    I'm in the middle of porting a device driver for a
    PCI card from linux to solaris (it's wcfxo from
    zaptel - part of asterisk).
    >
    WARNING: [AFT1] Bus Error on System Bus in privileged
    mode from CPU0 Data access at TL=0, errID
    0x0000000b.985ccf88
    AFSR 0x00000000.84000000<PRIV,BERR> AFAR
    AFAR 0x000001fe.02001400
    AFSR.PSYND 0x0000(Score 05) AFSR.ETS 0x00
    0x00 Fault_PC 0x13575e8
    UDBH 0x0000 UDBH.ESYND 0x00 UDBL 0x0000
    0000 UDBL.ESYND 0x00
    panic[cpu0]/thread=2a10007dd40: [AFT1] errID
    0x0000000b.985ccf88 BERR Error(s)
    See previous message(s) for detailsThe actual code which seems to cause the panic is:
    #define inb(a)          ddi_get8(wc->devhandle, a)
    ints = inb(wc->ioaddr + WC_INTSTAT);where there initialisation includes:
    static struct ddi_device_acc_attr dev_attr = {
    DDI_DEVICE_ATTR_V0,
    DDI_STRUCTURE_LE_ACC,
    DDI_STRICTORDER_ACC
    ddi_regs_map_setup(wc->dip, 1, &wc->ioaddr, 0, 255,
    &dev_attr,
    &dev_attr, &wc->devhandle);I've tested the same card in a linux x86 box, and it
    works fine, so I'm happy it's not a hardware
    problem.
    Any suggestions on what might be causing this?
    Thanks,
    Simon

  • Upgrade agent using agentDownload.solaris -u

    Hello,
    Has anyone being able to upgrade the OEM agent from version 10.2.0.1.0 to 10.2.0.2.0
    using agentDownload.solaris script and the -u option?
    OMS version is 10.2.0.1.0
    The command I ran was
    ./agentDownload.solaris -b $AGENT_HOME -o $OLD_AGENT_HOME -u
    ./agentDownload.solaris -b /opt/oracle/10Agent -o /opt/oracle/10Agent -u
    Then it fails at
    Initializing Java Virtual Machine from /tmp/OraInstall2007-05-28_09-47-38PM/jre/1.4.2/bin/java. Please wait...
    Completed with Status=255
    I have used the agentDownload script to install 10.2.0.1.0 in the past.

    You need to apply the 10202 agent patch on 10202 agent oh
    -u option use if u want to upgrade 10.1.0.X-->10.2.0.X

Maybe you are looking for

  • Ipod touch will not sync podcasts consistently after upgrading

    I don't know if anyone else noticed this or not. Whenever I have a new podcast I normally just sync my iPod touch and everything is good. After upgrading to iTunes 10, when I sync not all of the podcasts come over to my iPod. It's very hit and miss,

  • Issue with OEM 11g Install in Windows 2003 server - Urgent help Required !!

    Hi All, I am encountering the following issue while installing the OEM 11.1.1.0 with Oracle WLS 10.3.2 with WDJ7 Patch installed and DB-11.2 and OS-Windows Server 2003. I have dropped the schema sysman and sysman_mds as specified in the install guide

  • Cannot Install Flash Player to Mac OS X 10.9.4

    Hi. I have a mac OS X 10.9.4 and using safari 7.0.5. i have downloaded adobe flash player and before the download ever finishes i am told to close my safari. I have checked a million and one times to see if my safari is open and it is not open. I shu

  • ADVICE!!:Reading in a module of code and testing its complexity

    Hi, I'm very confused about coding this program. I have to read in a text file of a module of java code and test its cyclomatic complexity. I can't use a parser because it has to run on networks which wouldnt allow it installed. It has to be made by

  • How to Extract Huge SAP HR Data into Excel?

    Dear Experts & Gurus, Need your Valuable suggestions regarding this scenario. I need to extract entire SAP HR data, modules are OM,PA,TM,PY and PD into Excel sheets because our clients are migrating to other ERP. The data volume is very huge, as they