+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
Windows Server 2000/2003 Thread, Server monitoring alerts in Technical; Can anyone recommend a free tool to monitor if a server (w2k3 and w2k8) has restarted itself following a mains ...
  1. #1

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,829
    Thank Post
    1,476
    Thanked 595 Times in 446 Posts
    Rep Power
    170

    Server monitoring alerts

    Can anyone recommend a free tool to monitor if a server (w2k3 and w2k8) has restarted itself following a mains failure and send me an alert via email or SMS?

    Simon

  2. #2

    Join Date
    Apr 2011
    Location
    leicester
    Posts
    56
    Thank Post
    5
    Thanked 6 Times in 6 Posts
    Rep Power
    9
    Our Ups software will email, if an 'event' occurs. Which UPS do you use?

  3. #3

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,829
    Thank Post
    1,476
    Thanked 595 Times in 446 Posts
    Rep Power
    170
    No UPS

  4. #4
    Mcshammer_dj's Avatar
    Join Date
    Feb 2007
    Location
    Portsmouth
    Posts
    991
    Thank Post
    38
    Thanked 180 Times in 145 Posts
    Rep Power
    97
    i have used skipole in the past

  5. #5

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,829
    Thank Post
    1,476
    Thanked 595 Times in 446 Posts
    Rep Power
    170
    That looks like a catch 22 - need a working server to test that another server is up/down

    This is for single server sites - something that is run on startup to signal that an event has happened

    Simon

  6. #6

    Join Date
    Oct 2013
    Location
    Leicestershire
    Posts
    54
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    12
    Look for events 1074/76 (need to check those event IDs are correct) in the system log by running a scheduled task on start up. Think this would be the way to go(although a UPS would not go a miss!) you can eMail or as I would send an SMS (or both).

    anyhow something like this

    #Search the system log
    $data=Get-EventLog -EntryType Error -LogName System | ?{$_.EventID -eq 1074 -or $_.EventID -eq 1076}
    $emailFrom = "user@yourdomain.com"
    $emailTo = "user@yourdomain.com"
    $subject = "Events 1074 and 1076"

    #Could I guess fish out the time of the events and add them to the body of the mail. Using the Get-Eventlog Cmdlet
    $body = $data

    #if this is running at start up and you have no UPS and all your servers go down, I would maybe give your mail server chance to be there!
    $smtpServer = "your smtp server"
    $smtp = new-object Net.Mail.SmtpClient($smtpServer)
    $smtp.Send($emailFrom, $emailTo, $subject, $body

    PowerShell is your friend here, say that all the time!
    Last edited by HPlum78; 17th December 2013 at 02:20 PM.

  7. #7

    Join Date
    Jan 2008
    Location
    South West
    Posts
    1,842
    Thank Post
    219
    Thanked 271 Times in 219 Posts
    Rep Power
    69
    spiceworks I think can do this. run it from your workstation, if a server goes down it'll nag you.

  8. #8
    cpjitservices's Avatar
    Join Date
    Jul 2010
    Location
    Hessle
    Posts
    2,605
    Thank Post
    544
    Thanked 301 Times in 277 Posts
    Rep Power
    85
    Zabbix.

  9. #9

    Join Date
    Oct 2013
    Location
    Leicestershire
    Posts
    54
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    12
    I never understand why people insist on using third party software to do what is core OS functionality, in W2K8 you can achieve the above by using event viewer and attaching a task to an event, PowerShell is just another way of doing this and is not a bad way to start learning how to use the OS to report on events that happen without installing odd bits of software. Try it you may find that you open up a whole new world and at the end of the day the time you spend installing and learning new bits of software could be used gaining new skills and a better understanding of the OSs you administrate.

  10. #10

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,829
    Thank Post
    1,476
    Thanked 595 Times in 446 Posts
    Rep Power
    170
    This guys new here - doesn't know who I am

    But thanks for the info - will it work on w2k3 as well?

    Simon

  11. #11
    cpjitservices's Avatar
    Join Date
    Jul 2010
    Location
    Hessle
    Posts
    2,605
    Thank Post
    544
    Thanked 301 Times in 277 Posts
    Rep Power
    85
    I Agree with the fact that 2k8 can do it our of the box, we use Zabbix for the entire network. We know if theres a network outtage or a fault before a customer/user. We get alerts via SMS and email.

  12. #12

    Join Date
    Feb 2007
    Location
    Leicestershire
    Posts
    278
    Thank Post
    1
    Thanked 5 Times in 5 Posts
    Rep Power
    27
    Quote Originally Posted by cpjitservices View Post
    Zabbix.
    another vote for this, such great software.

  13. #13

    Join Date
    Sep 2009
    Location
    North West
    Posts
    291
    Thank Post
    34
    Thanked 27 Times in 24 Posts
    Rep Power
    21
    Anyone got an idiots guide to setting up Zabbix?

  14. #14

    Join Date
    Oct 2013
    Location
    Leicestershire
    Posts
    54
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    12
    Right that was not a dig at anyone, more a general gripe. No way of attaching tasks to events in server 2k3 from event viewer, the PS Script should do the same in 2k3 all the way up to 2k12, may need to look a little different if using PS v 1.0 but use the above as a starter for 10.

  15. #15
    cpjitservices's Avatar
    Join Date
    Jul 2010
    Location
    Hessle
    Posts
    2,605
    Thank Post
    544
    Thanked 301 Times in 277 Posts
    Rep Power
    85
    Build it from source - its the easiest way to install on CentOS add the EPEL repo. Follow the guides on the Zabbix site.

    Quote Originally Posted by mdrabble View Post
    Anyone got an idiots guide to setting up Zabbix?



SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Remote server monitoring
    By sdc in forum Network and Classroom Management
    Replies: 2
    Last Post: 15th February 2009, 12:46 AM
  2. SPOTLIGHT - freeware server monitoring
    By ChrisP in forum Network and Classroom Management
    Replies: 3
    Last Post: 6th February 2009, 02:03 PM
  3. Web Server monitoring
    By danIT in forum Web Development
    Replies: 5
    Last Post: 6th February 2009, 01:50 PM
  4. Server monitoring
    By theeldergeek in forum Network and Classroom Management
    Replies: 1
    Last Post: 10th September 2008, 12:50 PM
  5. Free SQL Server Monitor
    By ICTNUT in forum Windows
    Replies: 2
    Last Post: 8th August 2008, 05:04 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •