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

WebInject Scripting to Perform Advanced Monitoring

windchill features best plm software
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

Strategies for Cloud and AI Transformation

Strategies for Cloud and AI Transformation

As businesses modernize, cloud solutions and AI seem to be the default. Dive into this eBook to explore why this is, as well as some modernization strategies.What You Will Learn In this eBook, you will learn how: AI is driving modernization Cloud is delivering results...

Related Resources

Beyond the Buzz: What 2026 Demands of Tech & Engineering Leaders

Beyond the Buzz: What 2026 Demands of Tech & Engineering Leaders

In the tech space and beyond, modern buzz has all pointed to AI. While I love exploring new ideas, I am also quite a pragmatist. This past year, I’ve navigated through endless white papers, blogs, books, videos, social posts, and articles about AI. These detail how it...

Five Reasons Hybrid Work is More Effective with Virtual Desktops

Five Reasons Hybrid Work is More Effective with Virtual Desktops

Hybrid work has become the operating model for many modern organizations.  Employees appreciate the flexibility, while leaders expect productivity.  When it comes to IT teams, delivering productivity in a flexible environment without increasing risk or cost can be...