SolarWind is a good tool specially for monitoring. But as per your case, you 
need a simple script which do the task u wanted, it is very easy but as I dont 
have much experience regarding scripting, I  cant help u in this regard, maybe 
some other members will help u :)
Just to give u some idea, i m sharing one of my script which i created , it cat 
ips from the given file, and take ips and users details and scan there status, 
if the user is active, its detail will be placed in a text file, in 
/var/www/html, u can see its result at www.aacablenet.org/lan & /mrtg
i created this script so that i can have view how many ips are active on my 
lan. just a simple script, MRTG can also be setup using this script so that we 
can have idea how many active ips/pcs remains online at various timings :) 
possibly u may get some ideas . . .
 
[EMAIL PROTECTED] aacable]# cat lan.sh=============================#!/bin/shrm 
-fr /var/www/html/lanA=`date | awk  '{print $4}' | sed "s/:/ /" |sed "s/:/ /" | 
awk '{print $2}'`DATE=`date`UPTIME=`uptime`echo -e 
"===================================================================" >> 
/var/www/html/lanecho -e "AA Cable.Network Services:  <<<  ACTIVE USERS REPORT  
>>>" >> /var/www/html/lanecho -e "The Statistics were Last updated on $DATE" >> 
/var/www/html/lanecho -e "System Details:" >> /var/www/html/lanecho -e "$UPTIME 
\n" >> /var/www/html/lanecho -e 
"===================================================================" >> 
/var/www/html/lan
num=0cat /firewall/aacable/macip.allowed | sed -e "/^#/d" | while read usersdo
num=$[$num+1]ip=`echo $users | awk '{print $2}'`add=`echo $users | awk '{print 
$4}'`add2=`echo $users | awk '{print $5}'`add3=`echo $users | awk '{print 
$6}'`show=`nmap -sP $ip |grep "Nmap finished" | awk '{print $6}' | sed "s/(//" 
| sed "s/1/ALIVE/" | sed "s/0/DOWN/"`name=`echo $add $add2 $add3`echo -e 
"$name\t$ip\tis $show" | grep -v "DOWN" |sed /^$/d >> 
/var/www/html/landoneDATE2=`date`echo -e "\n" >> /var/www/html/lanecho -e "\n" 
>> /var/www/html/lanecho -e 
"===================================================================" >> 
/var/www/html/lanecho -e "For Information, Please Email to [EMAIL PROTECTED]" 
>> /var/www/html/lanecho -e "The above statistics were completed on $DATE2" 
>>/var/www/html/lanB=`date | awk  '{print $4}' | sed "s/:/ /" |sed "s/:/ /" | 
awk '{print $2}'`TOTIP=`cat /firewall/aacable/macip.allowed | sed -e "/^#/d" | 
wc -l`echo -e "The script took $[$B-$A] minutes to scan $TOTIP ips on my LAN 
:)" >> /var/www/html/lanecho -e 
"===================================================================" >> 
/var/www/html/lan#done
 
 
 Regards, 

SYED JAHANZAIB


Date: Thu, 1 May 2008 08:30:14 -0500From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; 
[EMAIL PROTECTED]: Re: [mrtg] IP address count



Checkout Solarwind - IP Address Management. good tool that will scan your 
subnet as often as you want.
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ertan AtilaSent: 
Thursday, May 01, 2008 6:06 AMTo: [EMAIL PROTECTED]: [mrtg] IP address count


Hi,
 
I need to find out how many real IP addresses are used from our company’s real 
IP address pool. Someone has told me that this is possible with MRTG, is it 
true? If yes how, if no does anyone knows a way how to do that? Any help would 
be really appreciated.
 
Best Regards 



"Bu elektronik posta ve onunla iletilen butun dosyalar gizlidir ve sadece 
gondericisi tarafindan almasi amaclanan yetkili gercek ya da tuzel kisinin 
kullanimi icindir. Eger soz konusu yetkili alici degilseniz bu elektronik 
postanin icerigini aciklamaniz, kopyalamaniz, yonlendirmeniz ve kullanmaniz 
kesinlikle yasaktir ve bu elektronik postayi derhal silmeniz gerekmektedir. 
AVEA bu mesajin icerdigi bilgilerin dogrulugu veya eksiksiz oldugu konusunda 
herhangi bir garanti vermemektedir. Bu nedenle bu bilgilerin ne sekilde olursa 
olsun iceriginden, iletilmesinden, alinmasindan ve saklanmasindan sorumlu 
degildir. Bu mesajdaki gorusler yalnizca gonderen kisiye ait olup, her zaman 
AVEA 'nin goruslerini yansitmayabilir. Bu e-posta bilinen butun bilgisayar 
viruslerine karsi taranmistir."


"This e-mail and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you are not the intended recipient you are hereby notified that any 
dissemination, forwarding, copying or use of any of the information is strictly 
prohibited, and the e-mail should immediately be deleted. AVEA makes no 
warranty as to the accuracy or completeness of any information contained in 
this message and hereby excludes any liability of any kind for the information 
contained therein or for the information transmission, reception, storage or 
use of such in any way whatsoever.The opinions expressed in this message may 
belong to sender alone and may not necessarily reflect the opinions of AVEA. 
This e-mail has been scanned for all known computer viruses."




Please consider the environment before printing this e-mail. CONFIDENTIAL 
NOTICE:This e-mail message and any attachment(s) (collectively, this 'Email') 
are intended only for the confidential use of the recipient(s) named above. If 
the reader of this message is not the intended recipient named above or an 
agent responsible for delivering it to the intended recipient named above, you 
have received this Email in error. Please notify the sender immediately and 
permanently delete this Email and any copies thereof. 
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to