WebProWorld Dev Forum |
Server Question
I am currently the webmaster for two e-commerce flooring-related sites. We were planning on swithing to ACT business software (from our outdated system) and have people access a database off of a server. In addition, we would move the web sites to the server...
bootup problem!
When i turn on the computer the computer displays the name of the processor and just freezes in that position and it doesnt test the memory.
Im a networking idiot
Im having problems setting up a small home wirless network and desperately need help. I have a broadband subscription with AOL, on subscription i recieved a 'BT Voyger 105' usb modem. Also AOL requires its dialer software to connect to the internet. On installation my computer recognizes the usb modem as local area network connection.
|
| Recent Articles |
Juniper Contributes to Completion of IOC Milestone
Juniper Networks' IP routing platforms have contributed to the Defense Information Systems Agency's (DISA) completion of the Initial Operational Capacity (IOC) milestone at the first six GIG-BE program sites.
Easy Guide to RAID Recovery
What is RAID RECOVERY? RAID stands for Redundant Array of Inexpensive Disks. It is a method of combining several hard drives into one unit. This method offers fault tolerance (the ability of a system to continue to perform functions even when one or more hard disk drives have failed) and higher protection against data loss than a single hard drive.
Actively Monitoring Disk Free Space
Why care about disk free space? The obvious answer is that low free space means upcoming problems, like the inability to receive mail (for mail servers) or the inability to store new files (for file servers). There are numerous obvious reasons why free space is an operations management priority.
Rayovac’s IT Team Discusses Network Security, Sarbanes Oxley and ROI Myths
Rayovac Corporation is a global consumer products company with a diverse portfolio of world-class brands, including Rayovac, Remington and VARTA. The Company holds many leading market positions including: the world's leader in hearing aid batteries and the number one selling brand of men's and women's foil electric razors in North America. Rayovac markets its products in more than 100 countries and trades on the New York Stock Exchange under the ROV symbol.
HostMySite.com at ISPCON
Lou Honick, CEO of HostMySite.com, has been invited to share his experience in building a state-of-the-art datacenter at ISPCON in Santa Clara, CA on November 3, 2004.
Microsoft Executive Circle Webcast
From protecting sensitive data to complying with government regulations, network administrators are tasked with securing and managing a network.
End-to-end Application Level Security
New FirePass product eclipses the competition with extensive new features for enhanced security, reliability, management and FIPS-enabled high performance platform.
Yosemite Technologies to Support Microsoft Data Protection Server
Yosemite Technologies today announced its plans to support Microsoft Data Protection Server (DPS), a continuous, low-cost disk-based backup and recovery solution.
Google Toolbar Contains Input Validation Vulnerability
A security flaw has been discovered within the Google Toolbar that will allow the execution of scripts, malicious or otherwise. According to articles that appeared in SecurityTracker.com and SecurityFocus.com, the exploit allows HTML and script interjection through the Google Toolbar page, About.html.
Breach Security Announces BreachView SSL
BreachView(TM) SSL Decrypts SSL Traffic On-The-Fly, Enhancing Existing IDS Deployments With 100 Percent Visibility Into SSL Network Traffic.
EDI: Electronic Document Interchange for Microsoft Great Plains
Microsoft Great Plains - Microsoft Business Solutions accounting and ERP system, originally targeted to mid-size - now, with advancements and increasing reliability of its database - Microsoft SQL Server, Great Plains is attractive solution for large corporation.
SoftBrands Announces Newly-updated Menu of Customer Services
Services and New Solution Allows Customers to Focus on Core Value Added Capabilities.
|
| |
 |
11.04.04
Actively Monitoring Disk Free Space
By Rainer Gerhards
Why care about disk free space?
The obvious answer is that low free space means upcoming problems, like the inability to receive mail (for mail servers) or the inability to store new files (for file servers). There are numerous obvious reasons why free space is an operations management priority.
But there are also less obvious reasons: disk space shortage may be caused by a process running wild. Sometimes space consumption is the only warning indicator in such a case. Also, intruders may be the cause of low disk space conditions. For example, movie pirates often break into public servers and mis-use them as FTP servers for pirated videos. As videos are large, this can cause a sharp decrease in disk free space.
In this article I primarily address the operations management needs. Obviously, the security benefits come as a side-effect. But don't rely purely on what I am presenting here if you would like to takle the security side of disk free space.
In the article, I will first convey the idea of what can be done and then I will also provide a potential solution using Adiscon's MonitorWare Agent software.
The Idea
Shortage on disk space does not (necessarily) come in an instant. Typically, free space decreases by a little every day. If left undetected, some day no space may be left at all.
This is where we start at. In my point of view, a good disk space monitoring script must work with at least two thresholds:
- disk space is low, but still acceptable
- disk space is too low, problems will occur very soon (or already exist)
The first level is a warning level, the second level is a real error level.
In a typical setup, the warning level may not cause any big action. Typically, a notification email is sent to the administrator and that's it.
Again, in a typcial sample, the error level eventually causes more serious action. Now, the warning message may be sent to a pager email address. But a good disk space monitoring solution might also initiate some corrective action. For example, on a file server, many temporary files may fill up the disk. It may be agreed policy that such files (and eventually .bak backup files) can be automatically deleted - without asking each user. If so, a script can be started that tries to delete as many temporary files as possible, thereby freeing up disk space.
In an optimal case, such a script may even delete enough space to recover from the very-low disk space condition. Ideally, it would even recover from the warning level, too.
Now let's consider that the very-low space condition triggered a pager alarm to the administrator. Poor John Admin is at the beach when his pager beeps. Too bad...
| Join Rebecca Wettemann, of Nucleus Research, Inc. for this FREE LIVE webcast. Rebecca will discuss how hosted CRM customers are achieving positive ROI and success in today's competitive marketplace. --> Click Here |
|
Now consider he jumps off the beach and drives into his data center ... just to see that the configured auto-action has already solved the issue. How would you feel in John's place?
I bet you'd be really happy and go back to the beach,wouldn't you? I also guess you would have been even happier when the system had notified you that the low space condition was solved.
So this is one more thing that we need to do within our free space monitoring: not only send an alert when things go worse, but also send an alert when the system has recovered from such a condition.
Please note that the recovery case may even happen if no corrective action has been configured - just imagine a file server: a user may copy a hughe file set just to try something out. Later, he himself deletes it. Again, the low space condition is solved.
Finally, a monitoring solution should only notify you once when the problem occurs and not continously (yes, I have seen solutions which do it ever and ever again...). The same goes for the "recovered" message, which obviously should only be sent once and only after a problem message has been sent first.
So to sum up, a good disk free space monitoring solution must provide:
- at least two thresholds for disk space shortages
- notifications that only occur ones these thresholds are crossed
- optionally automatically-triggered corrective actions
- notifications when the shortage conditions have been triggered
Of course, the system should be able to send different types of notifications. For example, you may want to send some of these via email while others are forwarded to a pager or a simple "net send" type notifications.
A potential Solution
As always in life, there are many ways to implement the disk space monitor. I am using a solution based on Adiscon's MonitorWare Agent here. This is because it is a good fit to our requested functionality and it is also easy to setup and run.
MonitorWare Agent is a multi-monitoring solution. It can monitor Windows Event logs, syslog devices, databases, files ... and disk space.
With MonitorWare, we create a so-called disk space monitor which then is bound to a "rule set". The disk space monitor is the part actually checking disk free space. It does this in intervals. Each time, it creates an event, which includes the free space information. That event is then passed to the rule set, where the actuall processing takes place. This is where we implement our requirements.
Inside the rule set, we just need a few rules to create our scenario. Basically, we utilize MonitorWare Agent's status variables to keep track if we have a low or a very-low space condition.
With this knowledge, we check the disk space report. If it is below the thresholds and the status variable is not yet set, we create an alert (and potentially action) and set the status variable. Similarily, when free space goes up, we check if we had one of the low conditions and, if so, create another alert. We utilize MonitorWare Agent's other action types to start the low space recovery script.
Of course, I could provide you with detailled setup instructions here and also include numerous screen shots. But this article should not become a product manual...
For your convenience, though, I have created a the configuration with MonitorWare Agent. You can simply download it and try it yourself. I've placed plenty of comments inside the rule set in that configuration. If you review the comments, you will know pretty well what I have been doing.
About the Author:
Rainer Gerhards works for Adiscon, who offers software for server monitoring. Visit http://www.monitorware.com for more information and free downloads. |