fbpx
1-888-310-4540 (main) / 1-888-707-6150 (support) info@spkaa.com
Select Page

WebInject Scripting to Perform Advanced Monitoring

Published by SPK Blog Post
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

6 Secrets To A Successful Atlassian Migration At Scale

6 Secrets To A Successful Atlassian Migration At Scale

With large scale migrations, large user bases, multiple Atlassian tools, plenty of apps, and lots of data, moving to Atlassian Cloud may feel like a steep mountain to climb. But, it doesn't have to be. In fact, we've already helped many customers make the move. Plus,...

Related Resources

The Top Benefits of AFI Backup 2022

The Top Benefits of AFI Backup 2022

SPK is a proud partner of Pax8. And Pax8 is a reseller of AFI Backup. Because of our relationship with Pax8, SPK clients can access AFI Backup at a discounted rate for our clients that utilize Office 365. And, because SPK is highly experienced with AFI Backup we are...

Enabling Remote Work With Microsoft 365

Enabling Remote Work With Microsoft 365

The pandemic definitely changed the way many businesses around the world work. Remote work has become not just the preference, but the norm for many businesses. Through remote work, businesses have realized they can reduce their footprint cost and reinvest those funds...

vCAD Use Cases Part 3: Mechanical And CFD Simulation

vCAD Use Cases Part 3: Mechanical And CFD Simulation

https://youtu.be/atRzb2fE-u0Overview Here is the VLOG transcript for Chris McHale, CEO of SPK, Director of Engineering Ed Chung and Shahab Taherian discussing virtual CAD (vCAD) use cases for mechanical simulation and CFD simulation. Your hosts Chris McHale –...