monitor more than one ip with mrtg or a perl script

dear sir ,
is it possible to monitor many ip addresses from mrtg ?
if we cant do that , what is the way with a perl script to ping 3 or more ips every set of time , and log it in a file , if the ip was online or offline ,
thanks
skynocAsked:
Who is Participating?
 
owensleftfootCommented:
Have a look at http://www.nagios.org/
0
 
pablouruguayCommented:
ok if you need only a ping and other basic services you can use BigBriother or BigSister software

http://www.bb4.com

http://bigsister.graeff.com/
0
 
Alf666Commented:
Just configure different targets in the mrtg.conf file :

Target[gw]: 2:community@host
MaxBytes[gw]: 16000
Title[gw]: title
Options[gw]: growright, bits
PageTop[gw]: <H1>Traffic Analysis for Serial0
 <BR>My Link</H1>
 <TABLE>
   <TR><TD>System:</TD><TD>My System </TD></TR>
   <TR><TD>Maintainer:</TD><TD></TD></TR>
   <TR><TD>Interface:</TD><TD>Serial0 (2)</TD></TR>
   <TR><TD>IP:</TD><TD> ()</TD></TR>
   <TR><TD>Max Speed:</TD>
       <TD>16000.0 Bytes/s (frame-relay)</TD></TR>
  </TABLE>

Target[gw]: 2:community@host2
MaxBytes[gw]: 16000
Title[gw]: title
Options[gw]: growright, bits
PageTop[gw]: <H1>Traffic Analysis for Serial0
 <BR>My Link</H1>
 <TABLE>
   <TR><TD>System:</TD><TD>My System 2</TD></TR>
   <TR><TD>Maintainer:</TD><TD></TD></TR>
   <TR><TD>Interface:</TD><TD>Serial0 (2)</TD></TR>
   <TR><TD>IP:</TD><TD> ()</TD></TR>
   <TR><TD>Max Speed:</TD>
       <TD>16000.0 Bytes/s (frame-relay)</TD></TR>
  </TABLE>


...etc.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.