# # monitor.conf.pl ( called from monitor.pl ) # # #c01-Jun-99 amo Date of Birth #c04-Jun-99 amo Changed ping and http timeout definition #c09-Jul-99 amo Aded EveryOneShops.com in lieu of ip# #c05-Aug-99 amo Added OnCall_Email #c12-Aug-99 amo Changed from Monitor to Monitor.LC #c16-Aug-99 amo Added eKanBan.net #c19-Oct-99 amo Added sf and sc machines #c07-Dec-99 amo Added 216.102.90.46 gw.ssfyp.org #c17-Jan-00 amo Added TradeDVD.com #c13-Feb-00 amo Turn off ping to everyoneshops.com #c14-Mar-00 amo Added web.PowerSpec-inc.com 63.204.193.18 #c18-Mar-00 amo use www.PowerSpec-Inc.com instead of ip# that fails #c22-Apr-00 amo Added linux-1u.net #c10-Jun-00 amo Removed ssfyp.org for now..- incorrect ping problem #c23-Oct-00 amo Take me out of tradedvd.com #c05-Jan-01 amo Removed dnsf.linux-consulting.com #c11-Feb-01 amo Added tstadmin@linwin.com #c Addes sf.linux-Consulting.com #c24-Mar-01 amo Turn on http OpenCountry.net #c28-Mar-01 amo Changed timing for Right-Net from 1,2 to 30,90 #c01-Jun-01 amo Removed powerspec-inc.com #c28-Jan-02 amo Added www.linwin.com, removed greatschools.com #c24-Mar-02 amo Removed tradedvd.com, removed ekanban.net, removed opencountry.*, removed tstadmin #c09-Oct-02 amo Removed keizai.org, removed junk mail to raffi #c11-Nov-02 amo Added Virtual.Linux-Consulting.com #c02-Mar-04 amo Removed linwin.com # # # #c ------------------------- # Assign the local variables #c ------------------------- # $TITLE = "LinuxConsulting Server Monitoring"; $DIR = "Monitor.LC"; # # $OnCall_Dir = "$TOP/$DIR"; $OnCall_Dat = "$OnCall_Dir/OnCall/oncall.dat"; # #OnCall_Usr = ""; #OnCall_Name = ""; $OnCall_Lan = "SiteScope\@Linux-Consulting.com"; # Needed for sending alerts from cron #OnCall_Exodus = ""; # # # # #c####################### # List of Hosts to monitor #c####################### # # GroupName Typical_XferTime MaxAllowed_XferTime # # # Typical and maximum has the format: #c--------------------------------- # n:TimeValue on the nth occurance, alert somebody # # Check it against the past entries in the log files defined byt # # @URL = ( # # group; ping_min max; http_min max ; url # # "Foo; 0 1; 1 2; alvin,tstadmin\@linwin.com; http://planet.fef.com", # "Foo; 0 1; 1 2; alvin,tstadmin\@linwin.com; http://www.Linux-Consulting.com", # "Foo; 0 1; 1 2; alvin,tstadmin\@linwin.com; http://sc.Linux-Consulting.com", # "Foo; 0 1; 1 2; alvin,tstdmin\@linwin.com; http://www.Linux-1u.net", # # "Foo; 0 1; 1 2; alvin; http://www.GreatSchools.net", # "Foo; 0 0; 10 10; alvin; http://www.EveryOneShops.com", # "Foo; 0 1; 1 2; alvin; http://www.eKanBan.net", # disable pin to it.. # "Foo; 0 0; 1 2; alvin; http://www.OpenCountry.net", # "Foo; 0 1; 1 2; alvin; http://www.OpenCountry.org", # "Foo; 0 1; 1 2; alvin; http://www.ssfyp.org", # "Foo; 0 1; 1 2; sungho63\@yahoo.com; http://www.TradeDVD.com", # "Foo; 0 1; 1 2; alvin,ecosta\@PowerSpec-Inc.com; http://www.PowerSpec-Inc.com", # "Foo; 0 1; 10 20; alvin,george\@captech.com; http://www.captech.com", # "Foo; 0 1; 1 2; alvin; http://planet.fef.com", "Foo; 0 1; 1 2; alvin; http://www.Linux-Consulting.com", "Foo; 0 1; 1 2; alvin; http://sc.Linux-Consulting.com", "Foo; 0 1; 1 2; alvin; http://sf.Linux-Consulting.com", "Foo; 0 1; 1 2; alvin; http://Virtual.Linux-Consulting.com", "Foo; 0 1; 1 2; alvin; http://www.Linux-1u.net", #-- "Foo; 0 1; 30 90; alvin,bills\@right-net.com; http://www.right-net.com", # "Foo; 0 1; 1 2; alvin,nadine_grant\@keizai.org; http://www.Keizai.org", # "Foo; 0 1; 1 2; alvin,raffi\@LinWin.com; http://www.LinWin.com", # "Foo; 0 1; 1 2; alvin; http://www.LinWin.com", # "Test; 0 1; .1 2; alvin; http://MissingServer.Linux-Consulting.com", "Test; 0 1; .1 2; alvin; http://www.Linux-Consulting.com/MissingPage.html", ); # # For Testing Only - smaller list # if ( $Test_Mode ) { @URL = ( # "Alvin; 0 1; 0 1; ; http://planet.fef.com", "Alvin; 0 1; 0 1; ; http://www.Linux-Consulting.com", # "Test; 0 1; 0 1; ; http://MissingServer.Linux-Consulting.com", "Test; 0 1; 0 1; ; http://www.Linux-Consulting.com/MissingPage.html", # ); } # test_mode # # # printf "..monitor.conf: NM=$NM..url[$#URL]..\n"; # 1; # return a value # # end of monitor.conf.pl