RE: df -h reports different informations than snmpdf

Florent Gilain <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Is it a known problem ?

Florent

De : [email protected] [mailto:[email protected]] De la part de Florent Gilain
Envoyé : lundi 16 juin 2008 18:01
À : '[email protected]'
Objet : df -h reports different informations than snmpdf

Hello,

I have a problem with the snmpdf utility :

Running df -h command from server1 gives me :

[root@s-oracle-bak ~]# df -h
Sys. de fich.         Tail. Occ. Disp. %Occ. Monté sur
/dev/mapper/VolGroup00-LogVol00
                       30G  1,4G   27G   5% /
/dev/sda3             190M   27M  154M  15% /boot
none                  3,9G     0  3,9G   0% /dev/shm
/dev/mapper/VolGroup00-LogVol03
                      4,0G   43M  3,7G   2% /tmp
/dev/mapper/VolGroup00-LogVol02
                      7,9G  3,1G  4,5G  42% /usr
/dev/mapper/VolGroup00-LogVol04
                      4,0G  845M  3,0G  23% /var
/dev/mapper/VolGroup00-LogVol05
                      2,0G   39M  1,9G   2% /home
/dev/mapper/VolGroup00-LogVol07
                       85G   89M   81G   1% /oradumps
/dev/mapper/VolGroup00-LogVol06
                      232G  207G   16G  94% /oracle
/dev/mapper/VolGroup00-LogVol08
                       31G  126M   29G   1% /orabackups


[root@s-oracle-bak ~]# df -k
Sys. de fich.        1K-blocs       Occupé Disponible Capacité Monté sur
/dev/mapper/VolGroup00-LogVol00
                      30963708   1399752  27991428   5% /
/dev/sda3               194449     27206    157203  15% /boot
none                   4082712         0   4082712   0% /dev/shm
/dev/mapper/VolGroup00-LogVol03
                       4128448     43520   3875216   2% /tmp
/dev/mapper/VolGroup00-LogVol02
                       8256952   3214080   4623444  42% /usr
/dev/mapper/VolGroup00-LogVol04
                       4128448    865252   3053484  23% /var
/dev/mapper/VolGroup00-LogVol05
                       2094920     39748   1969976   2% /home
/dev/mapper/VolGroup00-LogVol07
                      88375568     90996  84693200   1% /oradumps
/dev/mapper/VolGroup00-LogVol06
                     242966880 216791848  16301380  94% /oracle
/dev/mapper/VolGroup00-LogVol08
                      32059304    128624  30303936   1% /orabackups

Running snmpdf command from server2 to server1 gives me :

[root@supervision root]# rpm -qf /usr/bin/snmpdf
net-snmp-utils-5.0.9-2.30E.23

[root@supervision root]# snmpdf -v 2c -c public s-oracle-bak
Description              size (kB)            Used       Available Used%
Memory Buffers             8165424          363340         7802084    4%
Real Memory                8165424         4994136         3171288   61%
Swap Space                 8388600             176         8388424    0%
/                         30963708         1399752        29563956    4%
/sys                             0               0               0    0%
/proc/bus/usb                    0               0               0    0%
/boot                       194449           27206          167243   13%
/tmp                       4128448           43520         4084928    1%
/usr                       8256952         3214080         5042872   38%
/var                       4128448          865256         3263192   20%
/home                      2094920           39748         2055172    1%
/oradumps                 88375568           90996        88284572    0%
/oracle                  242966880       216791848        26175032   18%
/orabackups               32059304          128624        31930680    0%
/proc/sys/fs/binfmt_misc               0               0               0    0%
/var/lib/nfs/rpc_pipefs               0               0               0    0%
/proc/fs/nfsd                    0               0               0    0%

As you can see, /oracle is 94% used, whereas snmpdf command shows me only 18% used !

It is very dangerous as my supervision won't alert me if the /oracle file system grows to 100% of use...any idea of what I missed ?

Ps : local server is running RHEL4x64, remote server from which I run the snmpdf utility is running RHEL3ES

Florent

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

_______________________________________________
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.