Commit Graph

160 Commits

Author SHA1 Message Date
Petr Suchy af5334a073
Jabber (XMPP) notifications (#852)
Added Jabber/XMPP notifications.
Closes #829.
2020-04-19 15:31:40 +02:00
Flávio Gomes da Silva Lisboa b346cd9c4d
Fixed fail to ping IPv6 #879 (#880)
Fixes #879.
2020-04-19 14:41:29 +02:00
Petr Suchy 3193665ef8
Encrypt email_smtp_password (#854)
Fixes #853.
Email_smtp_password is saved encrypted and not as plain text.


Co-authored-by: Tim <TimZ99@users.noreply.github.com>
2020-02-09 17:45:08 +01:00
TimZ99 ed6ef89df5
Hotfix - sslCheck warning days
Minimum amount of days the ssl cert needs to be valid before expiration wasn't used.
2020-02-09 15:16:23 +01:00
TimZ99 7ffc75598a
Refactor 2020-02-09 15:10:07 +01:00
Ing. Petr Suchy 5934e9a25c
*fix - checkSsl should check PHP_VERSION and not PHP_RELEASE_VERSION 2020-02-07 08:03:12 +01:00
Ing. Petr Suchy 8fa1bf6c0d
*edit - check ssl just when other error is not already in 2020-02-07 07:59:50 +01:00
Tim 45d1c03e5a
Feature/ssl cert expiration check (#831)
Added ssl expiration to warning state.
2020-02-04 16:44:48 +01:00
Petr Suchy 442f9d115e
Added Separate check when server is down (#844)
Future request - separate checks when down.
Closes #755.
2020-02-04 16:41:34 +01:00
TimZ99 0550ff7dcf
Added ping error 2020-01-15 10:33:47 +01:00
TimZ99 6ba4b59239
Changed ping from socket to exec function
As there are a lot of problems with permissions and ping, the function now uses exec(). Resolved #405, #576, #614, #748.

Co-Authored-By: Sean Perryman <se@nperryman.com>
Co-Authored-By: Luke C <crawford.luke@outlook.com>
2020-01-14 20:12:40 +01:00
Tim 07243f4cb5
Merge branch 'develop' into patch-1 2019-12-12 18:32:29 +01:00
TimZ99 97f8a6d637
Refactor
Removed unreachable code

Removed useless method overriding
2019-12-12 17:52:36 +01:00
Jeremy GHYS b7426291f8
Fix Server Downtime is displayed incorrectly
Server Downtime is displayed in correctly when receiveing e-mails about it.
2019-12-12 17:26:42 +01:00
TimZ99 2c51ad12f7
Implementing the PSR12 standard
Using PHPCS and PHPSBF.
2019-12-11 21:27:04 +01:00
TimZ99 7f5e698752
Fixed #811 DB wrong field type on fresh install.
Added the first part with #770. Forgot to  add it to the fresh install function.

Also removed the default value for TEXT as TEXT can't have a default value.

Co-Authored-By: Matěj Kmínek <matej.kminek@attendees.eu>
2019-12-10 19:43:42 +01:00
TimZ99 420211f61f
Fixed #816 url validation 2019-12-10 18:09:56 +01:00
ICTman1076 93ceb42a10 Hopefully fix #704 (#791)
* Fix #704 - use regex instead of PHP's own function

* Updated .ltd length to 12

For domains like .company .services .business.
2019-11-29 23:44:26 +01:00
TimZ99 0198d76a75
Added default timeout
Fixes #794.
2019-10-09 22:03:53 +02:00
TimZ99 a8eaedc817
Fixed undefined index
Fixes #787.
2019-09-30 17:50:20 +02:00
TimZ99 b399327c4b
Fixed week/month/year graph
Fixes #774.
2019-09-25 23:40:06 +02:00
TimZ99 4ebe934b2e
Added timeout to services
Fixes #775.
2019-09-25 23:35:37 +02:00
TimZ99 1b0d86b361
Corrected query
Fixes #781.
2019-09-24 18:23:57 +02:00
Arkhee dd3bc35009
"Last online" stuck on "never" when checking some websites (#770)
Fixes #765

* // PATCH Arkhee : fix/last-online-stuck-on-never-if-webpage-too-large
  // The update un "servers" table does not work
  // Symptom : "Last online" stays stuck on "never"
  // Reason: last_output contains the full webpage, too long for the query
  // _This may depend on mysql configuration on the server_, explaining why some have the problem or not
  // Field is 255 Chars, and request does not work anyway is loaded web page is too large in last_output
  // So force truncate to 250 or less before query

* Spelling

* Update varchar to text

* Update tot 3.4.1

* Update tot 3.4.1

* Update README.rst

* Updated to 5000 characters
2019-09-17 19:20:41 +02:00
Michael 6761776a8f
Allow HTTP/2 status responses (#695)
Fixed #672 and resolved #669.
2019-05-19 03:14:26 +02:00
TimZ99 32c17f372b
Added uptime and avg latency 2019-05-19 02:01:27 +02:00
TimZ99 b3de673c6a
Removed old todo's 2019-05-19 02:01:27 +02:00
TimZ99 cf2f6b0788
Changed database column to TEXT
- Changed message column in the log table to TEXT. Combined notification can be greater then 255 characters.
2019-02-08 16:28:47 +01:00
TimZ99 6c14709d7c
Updated default template
Fixes #685.
- Updated to Bootstrap V4.
- Changed jqPlot to Chart.js.
- Updated jQuery to the V3.
- Changed Bootstrap Multiselect to Bootstrap-select.
2019-02-08 15:51:56 +01:00
Tim 6a8982ccce
Changed query from not null to null (#653)
Fixes #647
2018-09-12 12:36:32 +02:00
Tim c645444db9
Added post field as addition to #631 (#642) 2018-09-08 14:03:39 +02:00
TimZ99 1d0f6a6986
Fixed regex in hostname validator 2018-09-07 00:38:52 +02:00
TimZ99 ed61b3854f
Fixed regex to prevent false negatives
Would fail if:
- location wat written without capital letter.
- the server redirected to www.
- there was no / at the end of the url.
2018-09-05 23:44:20 +02:00
Tim cf6f30adfc
Added combined notifications (#639)
If multiple servers go up or down together, you don't get spammed with notifications if you have this option enabled. It will send one combined notification.
2018-09-05 23:08:17 +02:00
Tim d33c891be2
Added redirect check (#626) 2018-09-05 22:58:50 +02:00
Tim b26f85d975
Added option to view latest (failing) server response and error (#627)
Shows:
- latest error.
- latest positive response.
- latest failure response.
2018-09-05 22:52:23 +02:00
Tim 72b262c706
Added the option to specify the request method (#631) 2018-09-05 22:42:08 +02:00
Tim 7aa7ec363b
Mark specific HTTP status codes as online (#628)
Add option to specify which HTTP status codes are considered as "online".
Closing #175.
2018-09-05 22:34:19 +02:00
Tim 6e528aaf15
Changed ' to " in sql query (#634) 2018-09-03 15:47:53 +02:00
TimZ99 f21f3db19e
Typo fix, removed unused code & updated documentation 2018-07-12 17:31:00 +02:00
TimZ99 1c984b30ff
Updated documentation, added some small changes 2018-07-12 17:31:00 +02:00
TimZ99 e2c424e167
Spacing, indentation and braces
Co-Authored-By: Scrutinizer Auto-Fixer <auto-fixes@scrutinizer-ci.com>
2018-07-12 17:31:00 +02:00
TimZ99 3c55a353be
Allow ping by hostname
Closing #477 and #480.

Co-Authored-By: Matthew <djmixman@users.noreply.github.com>
Co-Authored-By: Mircea Chirea <chirea.mircea@gmail.com>
2018-05-24 14:49:18 +02:00
Danial 82d01b07f7 Add support for "site online when pattern not found" (#579)
Choose to mark a website offline of online is the pattern is (not) found.
2018-05-24 12:49:26 +02:00
TimZ99 a496874d9c
Rewritten part of the gateway code
This is a first commit in order to close #588.

- Removed the names from the translation files.
- The dropdown menu will now filled with the names of the gateways in
the Txtmsg folder.
- Changed Mollie to the proper company name: Messagebird.
- Everybody that was using Mollie will on upgrade automatically change
to Messagebird (replace old name in DB with new name).
- Updated: Clickatell, Twilio, Spryng, Textmarketer and Messagebird
(Mollie).
2018-05-24 06:49:58 +02:00
Matthew Pattman 0580e75642
Added last offline and the duration of the last outage
Co-authored-by: TimZ99 <TimZ99@users.noreply.github.com>
2018-04-27 21:14:46 +02:00
Timz99 79742fe6bd
Fixed wrong ping error
- Fixed error: Failed to parse address &quot;8.8.8.8&quot;
- Added correct error message.

NOTE:
This will not fix other problems with ping, non-root user are having
(on unix)!
2018-04-25 14:15:44 +02:00
Matthias Wirtz 1bd14995fb
Update several dependencies (frontend & backend) (#571)
Closes #568.
Updates Composer packages No longer supporting outdated PHP Versions, Update Dome Frontend assets, fix php notices and warnings popping Up when run in debug Mode...
2018-04-09 19:34:06 +02:00
Tim 4348b7c91a
Corrected indentation 2018-03-27 23:36:12 +02:00
avahldiek 11a021e7d9
run archive and cleanup per server (#515) 2018-03-27 23:36:11 +02:00