spk-logo-white-text-short2
0%
1-888-310-4540 (main) / 1-888-707-6150 (support) info@spkaa.com
Select Page

WebInject Scripting to Perform Advanced Monitoring

Written by SPK Blog Post
Published on August 19, 2011

Nagios is a wonderful tool. However, there are limits to what you can do with it directly. As my colleague Brad discussed in a recent blog post, using NRPE is a powerful tool for Windows. For complicated web checks that require multi-step operation, we use: WebInject.

WebInject enhances Nagios in multiple ways:

1) Creates stateful requests by defining variables
2) Allows multi-step processing
3) Provides both GET and POST
4) Supports unlimited customization in each step

Each step in the configuration is a “case” with a unique “id”. WebInject also allows for setting variables such as the “SSO_USER” and “SSO_PASS” variable.

Each webinject starts with a configuration file that „s pretty simple. You have to estimate the length of time in seconds. If this “globaltimeout” is reached, then the script will fail so you need to accommodate for busy times on the servers. The “reporttype” needs to be Nagios in order for it to integrate. The “testcasefile” is the filename of the actual request:

To read this full HowTo download: Webinject_Websites

Subscribe to our blog for useful How To documents and industry tech tips related to remote server monitoring, Engineering Applications, software engineering tools and methods, and other topics of interest.

Latest White Papers

A Field Guide to Threat Vectors in the Software Supply Chain

A Field Guide to Threat Vectors in the Software Supply Chain

As a software developer, your main priority should be quickly and efficiently delivering software. The last thing you want is to worry about security threats. In this eBook, we will educate you on eliminating threat vectors with GitLab to secure your software supply...

Related Resources

Using Google Workspace to Manage Remote Engineering Teams

Using Google Workspace to Manage Remote Engineering Teams

The need for rapid innovation has led to remote engineering teams becoming the new normal. Engineering leaders are adopting technologies that enhance collaboration, supporting productivity from anywhere. Google Workspace offers a unified platform that enables...

Transitioning Your Engineering Calculations to Mathcad Prime 11

Transitioning Your Engineering Calculations to Mathcad Prime 11

As the world of engineering continues to evolve, so does the need for more sophisticated tools to manage complex calculations and data.  The end-of-sale of Mathcad 15 and Mathcad Prime 1.0-6.0 marks a significant shift, as PTC moves forward with its latest offering,...

Navigating the High Costs of Product Launch Delays

Navigating the High Costs of Product Launch Delays

Delaying a product launch can have significant financial repercussions that extend far beyond the immediate costs.  It is important to understand how these delays can impact an organization. Having this knowledge can transform an organization’s strategic plans and...