Website/domain availability check plugin

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
phobos300
Posts: 2
Joined: Thu Jul 30, 2015 7:58 pm

Website/domain availability check plugin

Post by phobos300 »

Hi,

I'm looking for a plugin, that check website/domain availability(up time) over a period of a time, is there such a plugin?
Thanks a lot
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Website/domain availability check plugin

Post by Box293 »

Thats a tough question.

Compared to uptime checks of Operating Systems, the OS itself has a counter for how long it has been running since it booted up.

The website is going to need to provide some sort of information like that for you to be able to query.

Otherwise you'll need to use existing port or http checks and write a wrapper script around them that allows you to record some values in a temp file and compare them over time.

Can you shed any more light on what sort of website you are watching and how it's uptime could be determined?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
phobos300
Posts: 2
Joined: Thu Jul 30, 2015 7:58 pm

Re: Website/domain availability check plugin

Post by phobos300 »

Hi, thanks for reply, it's daily news website, we are measuring it's downtime on Alexa.com currently, but decided not to use Alexa anymore.
What we want to monitor us up time(website responding to HTTP request - no downtime) over period of some time. It can be checked let's say every 10 seconds.

Thanks
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Website/domain availability check plugin

Post by jdalrymple »

Nagios has the concept of availability reports based upon up/down status. They look like the attachments.

The bigger issue I see here though is that you're wanting to monitor more often than every minute. This is possible with Nagios - but ill-advised. My personal preference to resolve the 1 minute period dilemma is to have a background process submitting passive check results to Nagios.
Attachments
Clipboard02.jpg
Clipboard01.jpg
Locked