Xymon Mailing List Archive search

df issues? not returning all mount points

list Stewart L
Sat, 12 Apr 2008 08:35:38 -0400
Message-Id: <user-492978b83b8c@xymon.invalid>

still no luck.   Being a linux box,  here's what I get Still has all four in
the output, but not in my clientdata.

Stew


$ df -Pl -x none -x tmpfs -x shmfs -x unknown -x iso9660 | sed -e '/^[^
][^     ]*$/{
N
s/[     ]*\n[   ]*/ /
}'
Filesystem         1024-blocks      Used Available Capacity Mounted on
/dev/sda7             10080488   1123136   8445284      12% /
/dev/sda1               497829     27222    444905       6% /boot
/dev/sda2             10080520   3909352   5659100      41% /home
/dev/sda3             10080520   2634812   6933640      28% /usr
/dev/sda6             10080488   2435320   7133100      26% /var
/dev/sda5             10080488     57040   9511380       1% /var/log
/dev/emcpowera1      1900807668 1718891848 162904176      92% /LOGS/DBKP1
/dev/emcpowerc1      1871333508 492449860 1283825424      28% /LOGS/Firewall
/dev/emcpowere1      2113786784 1079667764 926744892      54% /LOGS/Proxy
/dev/emcpowerf1      2113786784 1586774440 419638216      80% /LOGS/Other
/dev/emcpowerb1      1871333508     32828 1776242456       1% /Alfresco_1
/dev/emcpowerd1      2113786784     32828 2006379828       1% /Alfresco_2


On Sat, Apr 12, 2008 at 4:42 AM, Dominique Frise <user-78ab6673b600@xymon.invalid>
wrote:
The "/bin/df -Pk" command that you are trying is probably not the one that
Hobbit launches. Look into the bin/hobbitclient-<os>.sh script after the
line echo "[df]" to see what Hobbit uses for df.


Dominique
UNIL - University of Lausanne

Stewart L wrote:
*bump*  Please.

Any thoughts on why this works fine from the command line but the client
data is missing 4 lines from the middle of the df output?

These are all mounted under /LOGS/something Could that be it?

Stew

On Thu, Apr 10, 2008 at 12:05 PM, Stewart L <user-a046134cfd06@xymon.invalid<mailto:
user-a046134cfd06@xymon.invalid>> wrote:

   Some of my partitions are not getting pulled by the client data.  I
   am also not getting graphs for those partitions any more.

   When I run df -Pk on the command line I get the following...
   # /bin/df -Pk
   Filesystem         1024-blocks      Used Available Capacity Mounted
on
   /dev/sda7             10080488   1123052   8445368      12% /
   /dev/sda1               497829     27222    444905       6% /boot
   /dev/sda2             10080520   3909356   5659096      41% /home
   none                   3986856        48   3986808       1% /dev/shm
   /dev/sda3             10080520   2634804   6933648      28% /usr
   /dev/sda6             10080488   2435308   7133112      26% /var
   /dev/sda5             10080488     56748   9511672       1% /var/log
   /dev/emcpowera1      1900807668 1251396128 630399896      67%
   /LOGS/DBKP1
   /dev/emcpowerc1      1871333508 502627760 1273647524      29%
   /LOGS/Firewall
   /dev/emcpowere1      2113786784 1077641868 928770788      54%
   /LOGS/Proxy
   /dev/emcpowerf1      2113786784 1806209972 200202684      91%
   /LOGS/Other
   /dev/emcpowerb1      1871333508     32828 1776242456       1%
   /Alfresco_1
   /dev/emcpowerd1      2113786784     32828 2006379828       1%
   /Alfresco_2


   If I look at the client data for this server, I only get

   [df]
   Filesystem         1024-blocks      Used Available Capacity Mounted
on
   /dev/sda7             10080488   1123048   8445372      12% /
   /dev/sda1               497829     27222    444905       6% /boot


   /dev/sda2             10080520   3909356   5659096      41% /home
   /dev/sda3             10080520   2634804   6933648      28% /usr
   /dev/sda6             10080488   2435308   7133112      26% /var
   /dev/sda5             10080488     56748   9511672       1% /var/log


   /dev/emcpowerb1      1871333508     32828 1776242456       1%
/Alfresco_1
   /dev/emcpowerd1      2113786784     32828 2006379828       1%
/Alfresco_2

   So, I'm missing some drives here... any thoughts?  It shows up
correctly in the [mount] client data.


   [mount]
   /dev/sda7 on / type ext3 (rw)
   none on /proc type proc (rw)
   none on /dev/pts type devpts (rw,gid=5,mode=620)
   usbdevfs on /proc/bus/usb type usbdevfs (rw)
   /dev/sda1 on /boot type ext3 (rw)
   /dev/sda2 on /home type ext3 (rw)


   none on /dev/shm type tmpfs (rw)
   /dev/sda3 on /usr type ext3 (rw)
   /dev/sda6 on /var type ext3 (rw)
   /dev/sda5 on /var/log type ext3 (rw)
   /dev/emcpowera1 on /LOGS/DBKP1 type ext3 (rw)
   /dev/emcpowerc1 on /LOGS/Firewall type ext3 (rw)


   /dev/emcpowere1 on /LOGS/Proxy type ext3 (rw)
   /dev/emcpowerf1 on /LOGS/Other type ext3 (rw)
   /dev/emcpowerb1 on /Alfresco_1 type ext3 (rw)
   /dev/emcpowerd1 on /Alfresco_2 type ext3 (rw)


   --    Stewart

   The revolution will not be televised.
   The revolution will be no re-run brothers;
   The revolution will be live.


--
Stewart

The revolution will not be televised.
The revolution will be no re-run brothers;
The revolution will be live.
-- 
Stewart

The revolution will not be televised.
The revolution will be no re-run brothers;
The revolution will be live.