fbpx
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

PLM and ERP: Their respective roles in modern manufacturing

PLM and ERP: Their respective roles in modern manufacturing

Integrating engineering with manufacturing doesn't have to be difficult. This downloadable white paper from PTC and SPK discusses how to successfully integrate Enterprise Resource Planning (ERP) and Product Lifecycle Management (PLM) to benefit your business. You will...

Related Resources

SPK vCAD’s Latest Enhancements for Q1 2024

SPK vCAD’s Latest Enhancements for Q1 2024

With a host of exciting updates and features on the horizon, SPK’s vCAD is gearing up to further redefine the virtual design experience. vCAD is more than a mere design tool; it is a solution with a broad range of use cases, from technical recruitment to mechanical...

4 Advantages of SolidWorks Cloud PDM (Updated 2023)

4 Advantages of SolidWorks Cloud PDM (Updated 2023)

Considering the leap to cloud-based CAD and PDM solutions? A move to platforms like SolidWorks 3D CAD in the cloud paves the way for unmatched flexibility. Imagine accessing intricate engineering data from anywhere at any time. And, the benefits don’t end there. In...