Solaris 10 SNMP Inconsistent

Hi,
We are using SunOS 5.10 Generic_137138-09 i86pc i386 i86pc on 2 X4600's. Both of them seem to have an issue with snmp reporting running processes and send our ops monitoring (Zenoss) into a tailspin reporting processes as down when they are in fact up.
Here's an example:
root@ug1s02:/ # ps -ef|grep slap
root 17960 843 0 12:56:42 pts/11 0:00 grep slap
root 16992 1 0 May 10 ? 17:00 /opt/DSServers/ds6/lib/64/ns-slapd -D /opt/DSServers/slapd-ug1s02-zone3 -i /opt
root@ug1s02:/ # snmpwalk -c public -v 2c localhost |grep slap
HOST-RESOURCES-MIB::hrSWRunName.16992 = STRING: "ns-slapd"
HOST-RESOURCES-MIB::hrSWRunPath.16992 = STRING: "/opt/DSServers/ds6/lib/64/ns-slapd"
HOST-RESOURCES-MIB::hrSWRunParameters.16992 = STRING: "-D /opt/DSServers/slapd-ug1s02-zone3 -i /opt"
root@ug1s02:/ # snmpwalk -c public -v 2c localhost |grep slap
root@ug1s02:/ # ps -ef|grep slap
root 17960 843 0 12:56:42 pts/11 0:00 grep slap
root 16992 1 0 May 10 ? 17:00 /opt/DSServers/ds6/lib/64/ns-slapd -D /opt/DSServers/slapd-ug1s02-zone3 -i /opt
See how ns-slapd is running, and a snmpwalk shows the process name, path and parameters for the PID 16992. Then i run it again a few seconds later and it doesn't show this process in the snmp data, but you can see the process is still fine. It seems to randomly show the process in snmp. Not showing it around 10% of the time. When the grep returns nothing, its not that the snmpwalk is failing or anything as other process info is returned. Also, its only seems to happen to processes running in the non-global zone.
There are no errors or anything in /var/log/snmpd.log and the snmp conf fuile is completely standard.
Any help or suggestions would be great.
Thanks
Paul

Seems like nobody has an answer to this so I guess its not a common problem. How do I file a bug for such an issue?
Thanks
Paul

Similar Messages

  • SNMP operation fails 2900 procurve switches

    Hi
    I am running HP imc latest version. i did some SNMP access check for few HP procurve 2900 and 5400 switches. I get SNMP inconsistent results. I tested SNMP 5800 switches and it works fine. Same SNMP settings are configured on 2900s and 5400s as well. I logged into iMC server and ran SNMP test using paesler tool with set username  and supplied auth password. Test runs fine on both 2900, 5400 and 5800s and gives no errors. 
    Am i missing something? ...

    Hello,
    You will want to ask about this in the HP Enterprise Business Community and look in the Discussion Boards.
    It is for all things related to professional equipment and businesses, servers, etc etc.
    Here is the specific area to go to...
    Switching and Routing - HP Enterprise Business Community

  • SUN snmpdx SNMP Agent

    Hello *,
    In our project I want to use SUN (Solaris 9 and 10) SNMP Agent to send hardware failure traps.
    As I know, besides other things, I have to edit snmpdx.acl file using following example.
    snmpdx.acl:
    # trap parameters
    trap =
    trap-community = public
    hosts = atpcundx
    enterprise = "sun"
    trap-num = 0, 1, 2-5, 6-16
    Problem that I have is that I cannot find explanations for meaning for parameter "enterprise" and "trap-num".
    Does anyone have an idea where I can find descriptions what enterprise = "sun" or "snmp" or "3com" or "Solaris Volume Manager" means and what is the meaning of trap numbers integer values.
    I tried to test configuration as it is described in SUN documentation. I have strange results. Traps are not sent until in snmpd.conf "trap = <hostname>" is set.
    Entries from snmpd.acl file are ignored even in this case.
    Generally, does anyone knows how to configure this feature to work.
    Any help will be appreciated.
    Thanks in advance.
    Brgds
    SF

    Dear folks,
    Does the Sun JES server have a separate SNMP sun
    agent?Indeed:
    http://docs.sun.com/app/docs/doc/819-2650/6n4u4dtvq?q=snmp&a=view
    >
    I want to run the Solaris SNMP agent (snmpdx) as
    master agent with the Sun JES sub-agent. Is it
    possible?I don't know why not. Start by looking at the documentation.
    >
    Thanks in advance.
    T Dang

  • Solaris Agent

    Hi,
    I am able to see Solaris SNMP agent is running on Netra 440, and I have configured my PC IP address as manager IP, But I am not receiving any traps from the Solaris machine...
    Please let me know if any configuration needs to be done.
    Thanks in advance.
    Sampath Kumar Banda

    Hi,
    In the Self Update > Agent Software page, do you see any entries with Available status? If so, have you tried to highlight (select) one of those entry to see if the Download button changes (i.e., no longer grayed out)?
    Regards,
    - Loc

  • Does SunMC agent need SNMP packages

    I'm configuring JASS (Security Toolkit) to run on newly jumpstarted machines and wanted to run the finish script: disable-snmp, but wasn't sure if SunMC needed to have these packages installed in order to run. I currently am at 3.0 but will be upgrading to 3.5. I have not run JASS on our current SunMC agents yet, but they do have these installed? How can I find out what packages SunMC needs?
    SUNWsacom
    SUNWmibii
    SUNWsasnm
    SUNWsasnx

    I'm configuring JASS (Security Toolkit) to run on
    newly jumpstarted machines and wanted to run the
    finish script: disable-snmp, but wasn't sure if SunMC
    needed to have these packages installed in order to
    run. I currently am at 3.0 but will be upgrading to
    3.5. I have not run JASS on our current SunMC agents
    yet, but they do have these installed? How can I find
    out what packages SunMC needs?SunMC 3.0 and 3.5 do not need any existing Solaris SNMP packages. SunMC comes with its own SNMP Agents (ps -ef | grep esd | grep agent). In fact most people disable the SNMP daemon that comes with current versions of Solaris ("snmpdx" process) and disable its start script (/etc/rc3.d/S76snmpdx) .. so that SunMC can take over the default SNMP port (161).
    Are you removing packages for security reasons? Is your environment critical enough you cannot simply disable unused services (like snmpdx)?
    Regards,
    Aronek
    Standard disclaimer: I am an employee of Halcyon (www.HalcyonInc.com)

  • DskPercent not returned for ZFS filesystems?

    Hello.
    I'm trying to monitor the space usage of some ZFS filesystems on a Solaris 10 10/08 (137137-09) Sparc system with SNMP. I'm using the Systems Management Agent (SMA) agent.
    To monitor the stuff, I added the following to /etc/sma/snmp/snmpd.conf and restarted svc:/application/management/sma:default:
    # Bug in SMA?
    # Reporting - NET-SNMP, Solaris 10 - has a bug parsing config file for disk space.
    # -> http://forums.sun.com/thread.jspa?threadID=5366466
    disk /proc 42%  # Dummy Wert; wird fälschlicherweise ignoriert werden...
    disk / 5%
    disk /tmp 10%
    disk /apps 4%
    disk /data 3%Now I'm checking what I get via SNMP:
    --($ ~)-- snmpwalk -v2c -c public 10.0.1.26 dsk
    UCD-SNMP-MIB::dskIndex.1 = INTEGER: 1
    UCD-SNMP-MIB::dskIndex.2 = INTEGER: 2
    UCD-SNMP-MIB::dskIndex.3 = INTEGER: 3
    UCD-SNMP-MIB::dskIndex.4 = INTEGER: 4
    UCD-SNMP-MIB::dskPath.1 = STRING: /
    UCD-SNMP-MIB::dskPath.2 = STRING: /tmp
    UCD-SNMP-MIB::dskPath.3 = STRING: /apps
    UCD-SNMP-MIB::dskPath.4 = STRING: /data
    UCD-SNMP-MIB::dskDevice.1 = STRING: /dev/md/dsk/d200
    UCD-SNMP-MIB::dskDevice.2 = STRING: swap
    UCD-SNMP-MIB::dskDevice.3 = STRING: apps
    UCD-SNMP-MIB::dskDevice.4 = STRING: data
    UCD-SNMP-MIB::dskMinimum.1 = INTEGER: -1
    UCD-SNMP-MIB::dskMinimum.2 = INTEGER: -1
    UCD-SNMP-MIB::dskMinimum.3 = INTEGER: -1
    UCD-SNMP-MIB::dskMinimum.4 = INTEGER: -1
    UCD-SNMP-MIB::dskMinPercent.1 = INTEGER: 5
    UCD-SNMP-MIB::dskMinPercent.2 = INTEGER: 10
    UCD-SNMP-MIB::dskMinPercent.3 = INTEGER: 4
    UCD-SNMP-MIB::dskMinPercent.4 = INTEGER: 3
    UCD-SNMP-MIB::dskTotal.1 = INTEGER: 25821143
    UCD-SNMP-MIB::dskTotal.2 = INTEGER: 7150560
    UCD-SNMP-MIB::dskTotal.3 = INTEGER: 0
    UCD-SNMP-MIB::dskTotal.4 = INTEGER: 0
    UCD-SNMP-MIB::dskAvail.1 = INTEGER: 13584648
    UCD-SNMP-MIB::dskAvail.2 = INTEGER: 6471520
    UCD-SNMP-MIB::dskAvail.3 = INTEGER: 0
    UCD-SNMP-MIB::dskAvail.4 = INTEGER: 0
    UCD-SNMP-MIB::dskUsed.1 = INTEGER: 11978284
    UCD-SNMP-MIB::dskUsed.2 = INTEGER: 679040
    UCD-SNMP-MIB::dskUsed.3 = INTEGER: 0
    UCD-SNMP-MIB::dskUsed.4 = INTEGER: 0
    UCD-SNMP-MIB::dskPercent.1 = INTEGER: 47
    UCD-SNMP-MIB::dskPercent.2 = INTEGER: 9
    UCD-SNMP-MIB::dskPercent.3 = INTEGER: 0
    UCD-SNMP-MIB::dskPercent.4 = INTEGER: 0
    UCD-SNMP-MIB::dskPercentNode.1 = INTEGER: 9
    UCD-SNMP-MIB::dskPercentNode.2 = INTEGER: 0
    UCD-SNMP-MIB::dskPercentNode.3 = INTEGER: 0
    UCD-SNMP-MIB::dskPercentNode.4 = INTEGER: 0
    UCD-SNMP-MIB::dskErrorFlag.1 = INTEGER: noError(0)
    UCD-SNMP-MIB::dskErrorFlag.2 = INTEGER: noError(0)
    UCD-SNMP-MIB::dskErrorFlag.3 = INTEGER: noError(0)
    UCD-SNMP-MIB::dskErrorFlag.4 = INTEGER: noError(0)
    UCD-SNMP-MIB::dskErrorMsg.1 = STRING:
    UCD-SNMP-MIB::dskErrorMsg.2 = STRING:
    UCD-SNMP-MIB::dskErrorMsg.3 = STRING:
    UCD-SNMP-MIB::dskErrorMsg.4 = STRING: As expected, dskPercent.1 and dskPercent.2 (ie. */* and */tmp*) returned good values. But why did Solaris/SNMP/??? return 0 for dskPercent.3 (*/apps*) and dskPercent.4 (*/data*)? Those directories are on two ZFS which are on seperate zpools:
    --($ ~)-- zpool list
    NAME   SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
    apps  39.2G  20.4G  18.9G    51%  ONLINE  -
    data   136G   121G  15.2G    88%  ONLINE  -
    --($ ~)-- zfs list apps data
    NAME   USED  AVAIL  REFER  MOUNTPOINT
    apps  20.4G  18.3G    20K  /apps
    data   121G  13.1G   101K  /dataOr is it supposed to be that way? I'm pretty much confused, because I found some blog posting by a guy called asyd at http://sysadmin.asyd.net/home/en/blog/asyd/zfs+snmp. Copying from there:
    snmpwalk -v2c -c xxxx katsuragi.global.asyd.net UCD-SNMP-MIB::dskTable
    UCD-SNMP-MIB::dskPath.1 = STRING: /
    UCD-SNMP-MIB::dskPath.2 = STRING: /home
    UCD-SNMP-MIB::dskPath.3 = STRING: /data/pkgsrc
    UCD-SNMP-MIB::dskDevice.1 = STRING: /dev/dsk/c1d0s0
    UCD-SNMP-MIB::dskDevice.2 = STRING: data/home
    UCD-SNMP-MIB::dskDevice.3 = STRING: data/pkgsrc
    UCD-SNMP-MIB::dskTotal.1 = INTEGER: 1017935
    UCD-SNMP-MIB::dskTotal.2 = INTEGER: 0
    UCD-SNMP-MIB::dskTotal.3 = INTEGER: 0
    UCD-SNMP-MIB::dskAvail.1 = INTEGER: 755538
    UCD-SNMP-MIB::dskAvail.2 = INTEGER: 0
    UCD-SNMP-MIB::dskAvail.3 = INTEGER: 0
    UCD-SNMP-MIB::dskPercent.1 = INTEGER: 21
    UCD-SNMP-MIB::dskPercent.2 = INTEGER: 18
    UCD-SNMP-MIB::dskPercent.3 = INTEGER: 5What I find confusing, are his dskPercent.2 and dskPercent.3 outputs - for him, he got back dskPercent for what seems to be directories on ZFS filesystems.
    Because of that I'm wondering about how it is supposed to be - should Solaris return dskPercent values for ZFS?+
    Thanks a lot,
    Alexander

    I don't have the ability to test out my theory, but I suspect that you are using the default mount created for the zpools you've created (apps & data) as opposed to specific ZFS files systems, which is what the asyd blog shows.
    Remember, the elements reported on in the asyd blog ARE zfs file systems; they are not just directories. They are indeed mountpoints, and it is reporting the utilization of those zfs file systems in the pool ("data") on which they are constructed. In the case of /home, the administrator has specifically set the mountpoint of the ZFS file system to be /home instead of the default /data/home.
    To test my theory, instead of using your zpool default mount point, try creating a zfs file system under each of your pools and using that as the entry point for your application to write data into the zpools. I suspect you will be rewarded with the desired result: reporting of "disk" (really, pool) percent usage.

  • Running snmpdx with Sun JES Sun-agent?

    Dear folks,
    Does the Sun JES server have a separate SNMP sun agent?
    I want to run the Solaris SNMP agent (snmpdx) as master agent with the Sun JES sub-agent. Is it possible?
    Thanks in advance.
    T Dang

    Dear folks,
    Does the Sun JES server have a separate SNMP sun
    agent?Indeed:
    http://docs.sun.com/app/docs/doc/819-2650/6n4u4dtvq?q=snmp&a=view
    >
    I want to run the Solaris SNMP agent (snmpdx) as
    master agent with the Sun JES sub-agent. Is it
    possible?I don't know why not. Start by looking at the documentation.
    >
    Thanks in advance.
    T Dang

  • SNMP ifindex in Solaris 10

    Can anyone tell me how I can nail down the SNMP ifmib ifindex table on a Solaris 10 server? Every time the server guys add a subintderface, I have to reconfigure my PRTG and Spectrum models, and it's getting tedious. I cannot believe there is no way to nail down e1000g0=#2, e1000g1=#3, etc.
    Thanks in advance.
    Kevin Dorrell
    Luxembourg

    it should be possible to define the "index" in each /etc/hostname. file
    I have never done this, but when the system boots it reads the content of these files and passes them to "ifconfig" to configure the NICs
    search this page for "index":
    http://docs.oracle.com/cd/E19253-01/816-5166/ifconfig-1m/index.html

  • How to configure SNMP in solaris 10

    i am working on solaris management console .i want to configure snmp for this to send traps regarding system performance and cpu usage ..can any body know ho to do this

    Integration of Directory Server SNMP agent with Solaris Master agent is documented in the Administration Guide Chapter 14: Monitoring Directory Server using SNMP.
    http://docs.sun.com/source/817-7613/snmp.html
    Regards,
    Ludovic.

  • SNMP traps from Solaris 10

    Hi,
    I'm trying very hard to set up a Sun Fire V245 to send SNMP traps when certain hardware or software related events occur. I've been looking at sma_snmp (net-snmp) and the Fault Management Daemon (SUNWfmd) but they seem to be very limited in their capabilities. I have manged to get some traps sent for filesystem fill-ups and high load averages but that is about it.
    Most of all I would like the system to send traps when there is a HW failure such as a faulty FRU or if there are disk failures.
    If anyone can point me to some documentation about this, I would be most grateful.
    /Mikael

    Mikael,
    I struggled through the same thing with a Netra 240 recently. The Sun docs are garbage when it comes to this. I opened a ticket with Sun and after 3 days and 6 hours on the phone I finally got hold of someone who knew how to spell SNMP. Yes, it was that bad!
    Here's the scoop. In Solaris 10 you run Net-SNMP, a.k.a. SMA, snmpd. The old snmpdx is obsoleted and you shouldn't configure it at all.
    Now to get the hardware related traps for the Sunfire and Netra series servers... (what you are really looking for).
    You have to load and configure an additional SNMP daemon for the hardware specific traps.
    (The first doc is rather old, the last one 819-7978-12 is pretty new and is somewhat more relevant.)
    Sun� SNMP Management Agent for Sun Fire� and Netra� Systems: Sun Doc number 817-2559-13
    Sun� SNMP Management Agent Addendum for the Netra� 240 Server: Sun Doc Number 817-6238-10
    Sun� SNMP Management Agent Administration Guide for Sun Blade� /Sun Fire�/Sun SPARC� Enterprise/Netra� Servers: Sun Doc Number 819-7978-12
    And finally the SMA/net-snmp/snmpd guide for the standard Solaris related traps:
    Solaris System Management Agent Administration Guide: Sun Doc Number 817�3000�11
    There are problems with all of the above documents. None of the Netra/Sunfire docs specifically talk about Solaris 10 so read them with caution. They also talk about configuring and running snmpdx and never reference SMA/net-snmp. This is odd because the instructions I got from Sun (finally) were not to run snmpdx, only to run sma/snmpd and additionally run the sunfire/netra snmpd agent.
    The SMA document (817-3000-11) has an undocumented bug, which Sun knows about and is working on but will not reveal to the public. In the section titled "Migration From the Sun Fire Management Agent" it references using a script called masfcnv to convert the sunfire/netra specific snmp config and daemon to work with and through SMA. Since they all use the same ports (161/162) there is some conflict and the masfcnv is script is meant to resolve this by making sma/snmpd a proxy agent to requests toward the sunfire/netra specific hardware daemon.
    The problem is the masfcnv script doesn't work properly. In fact, if you run the script you will destroy your other snmp configurations and may have to uninstall and reinstall the packages to clean everything up. This script hasn't ever worked and Sun is working on a fix but they neglect to mention this in the document which is IMO gross negligence and is a reflection of Sun's overall state of affairs (but that's another ranting thread).
    So what you must do is configure SMA/net-snmp (or whatever you want to call it), and also configure the sunfire/netra specific snmp (after downloading and installing that package).
    Since traps are sent to the remote trapsink using destination port 162, both net-snmp and the netra specific snmp daemons can co-exist here (port 162 is not an open listening port on the machine).
    Port 161 is used for receiving SNMP Get requests and can only be bound to one daemon at a time. So either it is used by net-snmp or the netra snmp daemon, but not both. Since my boxes have not been fully integrated still I can't figure out which daemon 161 is bound to. At any rate, in my application the customer is only interested in receiving traps so the outcome here isn't that important.
    I realize this isn't complete but I'm no expert here and haven't worked through all the test scenarios on a fully configured system. Hopefully though this will help clear some of the confusion propogated through Sun's stupid documents. Good luck!
    /Frank

  • Snmp trap on solaris 10

    Hi,
    how can i make my Solaris 10 generate SNMP trap on specific event?
    like high CPU,Load or lack of disk space ?
    thanks
    Ram

    it should be possible to define the "index" in each /etc/hostname. file
    I have never done this, but when the system boots it reads the content of these files and passes them to "ifconfig" to configure the NICs
    search this page for "index":
    http://docs.oracle.com/cd/E19253-01/816-5166/ifconfig-1m/index.html

  • 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

  • Ds5.1 on Solaris 8 core install and SNMP

    On a Solaris 8 core installation with the Directory Server 5.1,
    everything works okay, except SNMP activation from the Administration Server which sends the following error
    message :
    "Setup select/poll problem : Invalid argument"
    SNMP master agent refuses to start.
    This works very well on a Solaris 8 full install, so the question
    is :
    What Solaris 8 packages are required to handle SNMP properly
    in this context ?
    Thank you very much for your help.
    JCT

    when i access
    http://localhost/portal
    A serious error has occured in the Desktop. This may have been caused by a mis-configuration on the server.
    Please report this problem to your administrator.
    Return to front page

  • Configuration snmp Solaris 9 and 10

    I installed netsnmp in Solaris 9 x86, the configuration archive is very
    vacant has few commentaries and almost no configuration, alguem can
    give one to me help of as to use the command snmpwalk in the Solaris?
    Another doubt is if I can substitute the archive of configuration of
    the net-SNMP of the solaris for one of linux? the net-SNMP in linux
    allows to use an addressing of arvore MIB pra execution of scripts, in
    the solaris is possible?

    In snmpd.conf file add these entries.
    rocommunity public
    syslocation "System administrators office"
    syscontact "System administrator"
    sysservices 72
    And then start snmpd .Then to do a snmpwalk juz use
    ~#snmpwalk -c public -v 1 localhost
    Assuming that you have compile and configure with SNMP v1 support

  • How to configure snmp on solaris 10

    hi, i am working on solaris management console(smc) .i want to configure snmp for this to send traps regarding my system performance and cpu usage ..can any body know ho to do this

    I could use some help with this as well ... so far I have been unable to find a clear and concise document that can walk me through configurin gSNMP. Clean Solaris 10 installation, snmpdx is running - now how do I configure it? Better yet, how do I disable snmpdx and run net-snmp?
    Please, someone help or at least paste a link to an article somewhere...

Maybe you are looking for