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

Which of CISA’s Six Types of SBOMs Are Right for You?

Which of CISA’s Six Types of SBOMs Are Right for You?

Are you interested in different types of SBOMs, but not sure which is right for you? Dive into this eBook to explore six different kinds of SBOMs and when to use them. What You Will Learn In this eBook, you will explore: Six kinds of SBOMs Which SBOM is best for you...

Related Resources

PLM vs. PDM: Understanding the Key Differences for Engineering Teams

PLM vs. PDM: Understanding the Key Differences for Engineering Teams

Accelerating product development, improving product quality, and enhancing collaboration are all main priorities for designers and manufacturers. Achieving these goals requires the proper digital solutions for managing product data and processes. Product Lifecycle...

A Checklist to Optimizing Cloud for Engineering Teams

A Checklist to Optimizing Cloud for Engineering Teams

Is your engineering team truly optimizing the cloud—or just getting by?The cloud holds enormous potential for accelerating innovation, streamlining workflows, and reducing time to market.  But many engineering teams struggle to navigate the complexity of cloud...

Meet The Experts – Annika H.

Meet The Experts – Annika H.

Annika H. is a DevOps engineer who started at SPK as an intern in 2020.  After graduating from college in 2022, she became a full-time employee.  While she had some coding experience from college courses, much of her engineering knowledge is self-taught.  Now, her...