how to verify jpg image with WebInject

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

how to verify jpg image with WebInject

Post by dlukinski »

Hello XI Support

How to verify presence of jpg image on web-page (only object present) with Webinject?

Thank you
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: how to verify jpg image with WebInject

Post by tmcdonald »

Does the image have a consistent name like banner.jpg or something? If so that would be a simple string search. Otherwise I would need a bit more information how what is meant by "verify".

The WebInject manual is a great resource for looking this sort of thing up: http://www.webinject.org/manual.html
Former Nagios employee
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: how to verify jpg image with WebInject

Post by dlukinski »

tmcdonald wrote:Does the image have a consistent name like banner.jpg or something? If so that would be a simple string search. Otherwise I would need a bit more information how what is meant by "verify".

The WebInject manual is a great resource for looking this sort of thing up: http://www.webinject.org/manual.html
You right, no silver bullet with Web monitoring in Nagios
Please close
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: how to verify jpg image with WebInject

Post by mcapra »

You might look into Selenium depending on how important monitoring this jpg is. It's worth mentioning that Selenium requires quite a bit more overhead than Webinject, though.

Here is a guide on how to integrate Selenium tests with your Nagios XI installation:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Closing per your request.
Former Nagios employee
https://www.mcapra.com/
Locked