to monitor a webpage & send an email each time it does not display the expected string.
I want it implemented using ossec's custom rules.
because ossec is already installed & configured for email alerts.
normal string is like:
API keyword V1
In case the server is down or it cannot access database it returns something different, like this:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<title>503 Service Unavailable</title>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
<address>Apache/[url removed, login to view] (Debian) Server at [url removed, login to view] Port 443</address>
I propose to set a cron task that do:
curl -o /tmp/frontalive [url removed, login to view]
the game is not to set the ossec custom rule to detect changes on /tmp/frontalive so that it triggers an email when it is not equal to "API keyword V1"
see Create Custom decoder and rules — OSSEC 2.8.1 documentation
[url removed, login to view]
9 freelance font une offre moyenne de $78 pour ce travail
Hi, I (Myself a senior PHP Developer) have a team having experience of more than 10 years in developing web and mobile applications. I have a team of expert programmers who write robust and bug-free codes at the ve Plus
One of the tasks that can be done very perfectly by us. We are highly experienced Post Graduate Engineers, Doctors, IT, ITES, Software, Infrastructure Professionals, Web Designers and IT Architects. Relevant Skills an Plus
Hello Folk, Come online now! I am expert Linux Ubuntu system admin for your job. I will give you 3 days free maintenance if you hire me and allow to work :) Relevant Skills and Experience Monitor a webpage change w Plus
I have been in this field for more than 7 years. I have experience in php,perl,Html,postgress ,Web Services, Rest Api, Zend ,YIi,Mysql.i provide support Chester cap llc more than 5 years. Chester cap llc have a grant m Plus
Will make a cron job using either technology that you would like. We could easily do it with php, bash, or just about any other language of your choosing. There are several ways to look at this. Relevant Skills and Ex Plus
Hi there. Having worked on many similar projects in the past I am confident in delivering this project. \nPlease let me know if you wish to take it further and we can further discuss your requirements.
I checked your all details and yes will get your long along with I can do this work fast and deliver you soon. Relevant Skills and Experience I am having 6 year PHP and Wordpress and html and css experience.I did many Plus