mray wrote:
> mwcotton is probably right, see this:
> http://www.zenoss.com/Members/netdata/linux-filesystems-and-snmp/
The thing in this example is that I only use SSH monitoring LinuxMonitor.
When I look in:
cat
zenoss/ZenPacks/ZenPacks.zenoss.LinuxMonitor-1.0.0-py2.4.egg/ZenPacks/zenoss/LinuxMonitor/tests/testLinuxParsers.py
Code:
parserMap = {'/bin/df -Pk': df,
'/bin/df -iPk': dfi,
'/usr/bin/uptime': uptime,
}
On the servers shell:
[code]df -Pk
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/sda1 4916892 2177256 2491836 47% /
varrun 257720 40 257680 1% /var/run
varlock 257720 0 257720 0% /var/lock
udev 257720 44 257676 1% /dev
devshm 257720 0 257720 0% /dev/shm
And then the output in OS Tab:
[code]
Mount Total bytes Used bytes Free bytes % Util M
Lock
/ 4.7GB 2.1GB 2.6GB 44
/dev 251.7MB 44.0KB 251.6MB 0
/dev/shm 251.7MB 0.0B 251.7MB 0
/var/lock 251.7MB 0.0B 251.7MB 0
/var/run 251.7MB 40.0KB 251.6MB 0
[/code]
#zencommand run -v10 -d tha.server.loc output http://pastebin.com/f65518499
I don't understand why the df -Pk shows %Util 47 in bash and the debug log. And
then in the OS tab it shows 40%?
--
Regards Folk
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=37657#37657
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users