I was able to get the the command plugin working by removing the snmp 
filesystem collector, adding the cmd df collector,  copying the filesystem 
template from /Server/CMD to a custom class, and installing the zenplugins on 
that host.  The only problem is that the plugin flips the disk used and disk 
free amounts.  

linuscs53:~ # df -h 
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              63G  5.5G   54G  10% /
udev                  3.9G  300K  3.9G   1% /dev
/dev/mapper/3600508b400090a0b0000d00003030000
                      400G   36G  365G   9% /vol/dsgapp
/dev/mapper/3600508b400090a0b0000d00002fe0000
                      400G  1.6G  399G   1% /vol/dsglsf

linuscs53:~ # /usr/lib64/python2.4/site-packages/zenplugin.py disk /vol/dsglsf
DISK OK;|availBlocks=1% usedBlocks=417681816 totalBlocks=1617512

Notice how the df command shows 1% used on /vol/dsglsf...and the plugin shows 
availBlocks=1%

This is becoming increasingly frustrating.  We can't effectively monitor our 
NFS servers.




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=27117#27117

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to