Niels
You are correct it is release 5.7.
Our applications have specific file system requirements based on function. For
my initial testing I have only added "disk" statements in the snmpd.conf for
two file systems.
Here is my DF output:
x86ems2% df -k
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d50 24203976 23428492 533445 98% /
/devices 0 0 0 0% /devices
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 34693820 1000 34692820 1% /etc/svc/volatile
objfs 0 0 0 0% /system/object
sharefs 0 0 0 0% /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
24203976 23428492 533445 98% /lib/libc.so.1
fd 0 0 0 0% /dev/fd
swap 34693440 620 34692820 1% /tmp
swap 34692848 28 34692820 1% /var/run
/dev/md/dsk/d80 66092522 17716349 47715248 28% /data
/dev/md/dsk/d10 33046253 13335929 19379862 41% /u01
/dev/md/dsk/d90 66092522 9780722 55650875 15% /cdr
/dev/md/dsk/d110 32276325 4335090 27618472 14% /vrz
/dev/md/dsk/d70 130988812 276585 129402339 1% /archive
/dev/md/dsk/d120 64544634 286604 63612584 1% /reserved
10.2.20.134:/snare2/release/5.8/x86
515187992 473423540 41764452 92% /mnt
x86ems2%
Since sending my initial Email on this I have tried a few other things. I also
downloaded and tried the sparc version of 5.7 on another server and it also
fails to report dskPercent. And with both versions (sparc & x86) the snmpd
process dies.(I do not find a core file on my system however)
I went to the sunfreeware FTP site with archived versions and downloaded
5.4.2.1 for x86, installed it, and it works fine. It does report the dskPercent
values. This leads me to believe that there is a problem in the 5.7 release.
With the deadline on my project I am going to stay with 5.4.2.1 since it
provides all the data types I need. My idea of upgrading snmp versions will
have to wait for another time.
Thank you for looking into this and responding. If you are involved in coding a
fix for this I am willing to provide any additional information I can.
Keith E Hansen
Sr. PSE - Advanced Services Group
Office Ph: 408-750-9488
Cell Ph: 408-623-5771
-----Original Message-----
From: Niels Baggesen [mailto:[email protected]]
Sent: Wednesday, November 02, 2011 12:40 AM
To: Keith Hansen
Cc: [email protected]
Subject: Re: netsnmp 5.7.1 crashes when requesting dskPercent
Den 31-10-2011 22:41, Keith Hansen skrev:
> I have installed netsnmp 5.7.1 downloaded from sunfreeware and
> installed on an SUN(Oracle) Netra x4270 platform running Solaris 10 x86 OS.
Where did you find 5.7.1? I cannot find anything newer than 5.7 on
sunfreeware.com?
> UCD-SNMP-MIB::dskIndex.1 = INTEGER: 0
> UCD-SNMP-MIB::dskIndex.2 = INTEGER: 1
Already here things look ugly ... What kind of file systems do you have on this
box?
> UCD-SNMP-MIB::dskPath.1 = STRING: /
> UCD-SNMP-MIB::dskPath.2 = STRING: /reserved
> UCD-SNMP-MIB::dskDevice.1 = STRING:
> UCD-SNMP-MIB::dskDevice.2 = STRING:
> UCD-SNMP-MIB::dskMinimum.1 = INTEGER: -1
> UCD-SNMP-MIB::dskMinimum.2 = INTEGER: -1
> UCD-SNMP-MIB::dskMinPercent.1 = INTEGER: 80
> UCD-SNMP-MIB::dskMinPercent.2 = INTEGER: 80
> UCD-SNMP-MIB::dskTotal.1 = INTEGER: 0
> UCD-SNMP-MIB::dskTotal.2 = INTEGER: 0
> UCD-SNMP-MIB::dskAvail.1 = INTEGER: 0
> UCD-SNMP-MIB::dskAvail.2 = INTEGER: 0
> UCD-SNMP-MIB::dskUsed.1 = INTEGER: 0
> UCD-SNMP-MIB::dskUsed.2 = INTEGER: 0
and these values doesn't give much confidence that the table was polulated
correctly.
What does a df tell?
/Niels
--
Niels Baggesen - @home - Ã…rhus - Denmark - [email protected]
The purpose of computing is insight, not numbers --- R W Hamming
------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders