fbpx
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

Model-Based Definition Capabilities in Creo

Model-Based Definition Capabilities in Creo

Model-based definition (MBD) is a design approach that revolves around creating, organizing, and managing a 3D Model. Explore how PTC Creo utilizes MBD to help you achieve an efficient design.  What You Will Learn In this eBook,...

Related Resources

Async Work Made Awesome with Loom

Async Work Made Awesome with Loom

As the modern workplace evolves, the need for efficiently communicating without real-time meetings has grown.  Asynchronous work is gaining traction across industries, and one of the most powerful tools enabling this transformation is Loom.  This platform allows teams...

The Pitfalls of Outdated Tools in Managing Global Teams

The Pitfalls of Outdated Tools in Managing Global Teams

The dynamics of product development have shifted dramatically in the past 5 years.  Teams are no longer confined to a single location or even a single time zone.  Instead, they span continents, collaborating across borders to bring products to market faster than ever...

Mastering Tool Modernization Challenges with OpsHub

Mastering Tool Modernization Challenges with OpsHub

As software complexity increases, companies are looking for new ways to innovate.  Keeping up with new technology requires new tools and systems to handle this complexity.  Migrating from on-prem and legacy systems to modern, scalable, cloud offerings is commonly...