Welcome to Pandora FMS Community › Forums › Community support › Modules :Internet/Network connection speed and windows freememory.
-
Modules :Internet/Network connection speed and windows freememory.
Posted by yduma on October 29, 2008 at 06:28Hi.
Can pandora check connection speed to internet and from one server to another?
If yes – what I should to do?If you can – can you tell me how you check free memory in Windows (I need it in %, so need make little modification).
Also I found srvinfo.exe in Windows Resource Kits (there are a lot of interesting staff).Maybe this will be interesting to you.
Regard’s
manu replied 16 years, 3 months ago 2 Members · 8 Replies -
8 Replies
-
-
::
about srvinfo – I use it like
#Free space on disk c:
module_begin
module_name used disk C:
module_type generic_data
module_exec c:srvinfo.exe | find “C$” | gawk “{ print $5/$3*100 }”
module_description Disk C usage in %.
module_endabout memory
you use module_freememory. can I using it divide for some value (all_memory) to have it in % ?
-
-
-
-
-
::
Hi
I found how to check internet speed.
it can be done from script. ( I think you can inplement it in pandora, if you think it is needed)#!/bin/sh
cd /home/pandora/
wget -o wgetreport http://download.opensuse.org/distribution/10.3/repo/src-oss/suse/src/ConsoleKit-0.2.1-57.src.rpm
var=`cat wgetreport | grep saved | awk ‘{ print $2 }’`#var=$var/128
var=${var:1}
var1=`expr “$var” : ‘([0-9]*)’`
let var1=var1*8
echo $var1
rm /home/pandora/ConsoleKit-0.2.1-57.src.rpm
#rm /home/pandora/wgetreportResult in kbps, thanks to post-process – it can be in mbps
Regard’s.
P.S. Also if you have different internet connection on same server you can use –bind-address in wget options.
-