LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-09-2002, 03:52 PM   #1
shelby
Member
 
Registered: Nov 2002
Location: Rio Rancho, NM
Distribution: RHEL, CentOS & Ubuntu
Posts: 90

Rep: Reputation: 15
Question Looking for some help on monitoring software


I am looking for something that can monitor Micrsoft Windows 2000 Servers. I want it to be able to monitor services and also be able to activly ping the server. Is there anything in the Linux world that can do this? Also, it would be nice if could email if something goes down. Thanks.
 
Old 12-09-2002, 04:41 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Code:
#!/bin/sh
cd /tmp

while true

  do

    rm /tmp/index.html
    wget -o /dev/null http://www.mydomain.com/index.html

    if [ ! -f /tmp/index.html ]; then
      
      date >> /var/log/webservices
      echo >> "  www.mydomain.com is down" >> /var/log/webservices

      echo "www.mydomain.com web service is down" | mail you@somewhere.com
      
      # insert pager number
      pppd connect 'chat -v "" ATDT5551212,,,,,,911 CONNECT ""' /dev/ttyS0

      
    fi
    sleep 60
  done

Last edited by DavidPhillips; 12-09-2002 at 07:36 PM.
 
Old 12-09-2002, 04:58 PM   #3
shelby
Member
 
Registered: Nov 2002
Location: Rio Rancho, NM
Distribution: RHEL, CentOS & Ubuntu
Posts: 90

Original Poster
Rep: Reputation: 15
Thanks, but this is only half of what I am looking for. I am looking for something that can monitor NT System Services, such as IIS and SQL and Exchange services.
 
Old 12-09-2002, 05:06 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you should probably have your server tell you if it's got a problem and have linux alert your pager and email if the server is down

You could use the idea above for different services
 
Old 12-09-2002, 05:35 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Search Freshmeat for "monit".
 
Old 12-09-2002, 07:33 PM   #6
shelby
Member
 
Registered: Nov 2002
Location: Rio Rancho, NM
Distribution: RHEL, CentOS & Ubuntu
Posts: 90

Original Poster
Rep: Reputation: 15
Perhaps I am missing something but "monit" is only for *nix services. Thanks again for eveyones input.
 
Old 12-09-2002, 07:38 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
yep that's what I found too

but you could setup a script to access the mysql database and other services like the web monitor script. Also ftp could be checked the same way

Not sure about IIS
 
Old 12-09-2002, 07:44 PM   #8
shelby
Member
 
Registered: Nov 2002
Location: Rio Rancho, NM
Distribution: RHEL, CentOS & Ubuntu
Posts: 90

Original Poster
Rep: Reputation: 15
But I do not need it to monitor mySQL databases, I need it to monitor MS-SQL databases and such. BTW....I like the vi sig...hehe
 
Old 12-09-2002, 08:07 PM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
right, well a database is a database

you can have the machine access the database on the server. If it fails generate an error condition
 
Old 12-10-2002, 08:42 AM   #10
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
I have always liked Big Brother and have heard good things about Nagios.

--jeremy
 
Old 12-10-2002, 10:29 AM   #11
shelby
Member
 
Registered: Nov 2002
Location: Rio Rancho, NM
Distribution: RHEL, CentOS & Ubuntu
Posts: 90

Original Poster
Rep: Reputation: 15
I think the Big Brother is more what I am looking for. Thanks a bunch!
 
Old 12-10-2002, 01:57 PM   #12
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Nagios might be a bit tricky to set up but it's a pretty advanced monitoring system!
 
Old 12-11-2002, 01:26 AM   #13
alany
LQ Newbie
 
Registered: Nov 2002
Posts: 10

Rep: Reputation: 0
Big Brother costs money... any freeware available for this kind of solution?
 
Old 12-11-2002, 09:31 AM   #14
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
Big Brother is free for non commercial use, although they also have a paid version now that Quest bought them.
http://www.bb4.com/license.html

Nagios is GPL'ed and 100% free.

--jeremy
 
Old 12-11-2002, 03:36 PM   #15
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
It's pretty cool, I still like mine better.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection Monitoring Software PeterRJG Linux - Newbie 3 08-16-2005 12:40 AM
Monitoring software chhansopheaktra Linux - Software 2 08-12-2005 09:58 AM
Monitoring software Mclewson Linux - Software 1 11-27-2004 03:10 PM
Needs monitoring software Bogdan Linux - Networking 1 06-19-2002 09:06 AM
Needs monitoring software! Bogdan Linux - Networking 3 03-20-2002 03:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration