Monitoring of bandwidth on Unix and NT machines ASP application by Chris Knipe I'd just like to thank you for your support in regards to the database problems I've been having... It seems it was indeed the drivers, and the latest drivers that I have now, is the ones from MS Office 2000, they seem pretty stable and working.. I'm yet to lock the process up again... Just to show my appreciation, I've decided to send you some samples of my work. You can perhaps include this as examples on aspfree.com if you feel they qualify for that use. This is a example ASP site coded by me to use with MRTG for the monitoring of bandwidth on Unix and NT machines. It uses a database which holds settings to which graphs (Daily, Weekly, Monthly, & Yearly) to show to a user after he or she successfully logged into the monitoring system. Bandwidth is monitored per interface, which means that you will be able to monitor diginet leased lines, analogue leased lines, ethernet cards, and so forth. I've just decided to send it to you, so that you can have some examples of the bit of programming that I know. I don't have access to hosting solutions on-line at the moment (At least not NT servers, and definitely not servers which provide database services. The code is also well commented and should not be difficult to figure out for someone who knows a bit of VB Programming. There are also still some minor modifications missing from the site that needs to be implemented, but those are not important. They include additional formatting of some information retrieved from the database, aswell as stuff like limiting the password lengths and so on. The database which this site requires looks as follows. (Based on SQL 6.5) /****** Object: Table dbo.Monitor_Authenticate Script Date: 00/06/16 05:11:17 ******/ CREATE TABLE dbo.Monitor_Authenticate ( ID int IDENTITY (1, 1) NOT NULL , LineNumber numeric(18, 0) NOT NULL , LinePassword varchar (8) NOT NULL , LineSpeed numeric(18, 0) NOT NULL , EMail_Address varchar (50) NOT NULL , Graph_Day bit NOT NULL , Graph_Week bit NOT NULL , Graph_Month bit NOT NULL , Graph_Year bit NOT NULL , Graph_EMail bit NOT NULL , LastVisit datetime NULL , Comment varchar (255) NULL ) GO |
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |
More ASP Code Articles More By Chris K developerWorks - FREE Tools! | Visit IBM developerWorks to download a free trial version of WebSphere Extended Deployment Compute Grid, which lets you schedule, execute, and monitor batch jobs. Because online transaction processing and batch jobs execute simultaneously on the same server resources, you can avoid costly duplication of resources. Compute Grid supports job types of Java transactional batch, compute-intensive and a new type called "native execution", which enables non-Java workloads to run on distributed end points. FREE! Go There Now!
| | | | IBM Enterprise Modernization solutions help organizations evolve core IT systems towards modern architectures and technologies—reducing the burden of maintenance and freeing up resources to develop new business requirements and capabilities. With the IBM Enterprise Modernization Sandbox for System z you can evaluate IBM Enterprise Modernization solutions focused on five key areas: Assets, Architectures, Skills, Processes and Infrastructures, and Investment. Each solution is based upon real customer experiences and offers a proven path to get you started with your modernization projects. FREE! Go There Now!
| | | | Learn how Rational Build Forge can extend a simple compile and package build process by adding customization and deployment capability. Go from a manual method to automating: checking for code changes; getting the latest source; compiling and packaging; customizing; copying to and restarting a deployment server; and sending e-mail notification that a new version is available. FREE! Go There Now!
| | | | Learn the basics of the IBM Customer Information Control System (CICS). With a hands-on exercise, learn how to get your first CICS application up and running on your desktop using TXSeries V6.1 for Windows. The tutorial shows you how to download and install a free trial version of TXSeries V6.1. FREE! Go There Now!
| | | | Join this webcast to discover the key requirements for successful change and release management. Learn how to extend your .NET environment to improve productivity and collaboration, and address core problems afflicting team development. In this webcast, we’ll review typical challenges faced by customers and how to resolve them with the IBM Rational Change and Release Management solution, including Rational ClearCase, Rational ClearQuest and Rational Build Forge. Replay is available for 9 months. FREE! Go There Now!
| | | | This paper is about the critical role that a discipline called integrated requirements management can play in helping to ensure that your business goals and IT investments are continuously aligned—whether you are sourcing, integrating, building or maintaining software. It also looks at ways that automated IBM Rational® products can work together to help you use requirements in the very best way. FREE! Go There Now!
| | | | Try the latest version of IBM Rational Manual Tester V7.0.1 by downloading a free trial from IBM developerWorks. This manual test authoring and execution tool promotes test step reuse to reduce the impact of software change on testers and business analysts and addresses the needs of teams performing at least a portion of their testing manually. FREE! Go There Now!
| | | | You can now evaluate IBM Rational Asset Manager V7.0 online without installing or configuring it on your own system! Rational Asset Manager helps create, modify, govern, find, and reuse any type of development assets, including SOA and systems development assets. Rational Asset Manager helps you reduce software development costs and improve quality by facilitating the reuse of all types of software development-related assets. Visit developerWorks to learn more about this product and register to explore its capabilities online. FREE! Go There Now!
| | | | Whether you are creating new applications or modifying existing ones, managing integration of new components with traditional z/OS elements is a critical part of building and deploying modern applications. Listen to this webcast to see how IBM can help you optimize your development process using an IDE like Rational Developer for System z that integrates with management tools, such as ClearCase to manage your application development on mainframes. FREE! Go There Now!
| | | | The Eclipse community is constantly working to extend Eclipse's functionality. In this webcast, learn about some of the most important and feature-rich projects under development. From multi-language support to plug-in development, tune in to see what Eclipse is capable of now. FREE! Go There Now!
| | | | All FREE IBM® developerWorks Tools! | |