in reply to Perl for monitoring windows servers

Not a Perl solution but depending on the kind of servers in question, if they are name-brand models, such as HP-Compaq, then you should be able to use something like Compaq Insight Manager (or whatever it is being called these days) to monitor the boxes and send out alerts based on criteria. I'm sure other major vendors have similar tools to monitor hardware, although this won't do much for OS/application issues. There is also Microsoft Operations Monitor (aka MOM) that can be set up to monitor the Event Logs on servers and page based on criteria. Price of course is the major issue. I've used CIM and can vouch for it, but not MOM although I've heard our NT administrators talking about it.

If they are from smaller vendors, there might not be anything built in for monitoring. A third-party app might be the best solution if you have to get the project done ASAP. Otherwuise you'll need to look for modules that can capture SNMP and such, at least to start with.

Hope that might provide some direction.

"Ex libris un peut de tout"

  • Comment on Re: Perl for monitoring windows servers

Replies are listed 'Best First'.
Re: Re: Perl for monitoring windows servers
by Anonymous Monk on May 22, 2003 at 15:50 UTC
    Ha! I've done this before...but for HP-UX. Basically the app at the time used a Perl daemon on a crontab to periodically issue a bunch of Unix commands, munge output, and send data back UDP in a lame '###' delimited protocol to a monitoring server. The monitoring server was also Perl, and each packet was then fed into a database as it was recieved and interpreted. A JSP+Applet system exposed the database tables to the web. Initially the monitoring service was also Java, but Java was slow and unwieldy for what we needed to do. An easy project really, and it can be done well any number of ways. I'd definitely want some lightweight system doing this rather than using some evil enterprise management project. Much easier and more fun in Unix though. --Attila (who is not logged in...)
      True, it probably also depends on what other requirements you have for the monitoring process and how big your server farm is. Our homegrown Unix solution is pretty nice, use it quite frequently for alert notifications for the system I'm responsible for.

      "Ex libris un peut de tout"