Giter Club home page Giter Club logo

Comments (6)

draco2003 avatar draco2003 commented on July 23, 2024

Ended up moving a bunch of stuff around, so letting it back in on our side a little longer before committing.

If you want to give it a shot, i posted the diff real quick here : https://gist.github.com/1777463
(careful of the smtp change if you do / don't use gmail or authentication for your dev install)

This will also add the data array to emails so that if you get a false positive you can send the array along that caused it.

from tattle.

tamale avatar tamale commented on July 23, 2024

I think this worked.. I'm not seeing the false alerts anymore.

now.. to be sure that I'm seeing the REAL alerts.. :)

On Wed, Feb 8, 2012 at 11:05 PM, Dan Rowe <
[email protected]

wrote:

Ended up moving a bunch of stuff around, so letting it back in on our side
a little longer before committing.

If you want to give it a shot, i posted the diff real quick here :
https://gist.github.com/1777463
(careful of the smtp change if you do / don't use gmail or authentication
for your dev install)

This will also add the data array to emails so that if you get a false
positive you can send the array along that caused it.


Reply to this email directly or view it on GitHub:
#14 (comment)

from tattle.

tamale avatar tamale commented on July 23, 2024

K, unfortunately this changed resulted in a '0' status for all checks, even the ones that shouldn't have been 0.

from tattle.

anthroprose avatar anthroprose commented on July 23, 2024

Not sure if this is exactly the same issue I was having...

I prefer not to be notified on status=0, even after the notification interval as passed....

in the current master branch, I changed 1 line in processor.php...


index d480fc6..6abd2ca 100644
--- a/processor.php
+++ b/processor.php
@@ -46,7 +46,7 @@ foreach ($checks as $check) {
fCore::debug("not less then now\n",FALSE);
}
// If It's been more then the Repeat Delay or the Status has changed

  • if ($next_check->lt($end) || $check->getLastCheckStatus() != $result) {
  • if (($next_check->lt($end) && $result != 0) || $check->getLastCheckStatus() != $result) {
    fCore::debug("Send Notification \n",FALSE);
    fCore::debug("State :" . $result . ":\n",FALSE);
    $check_result = new CheckResult();

from tattle.

tomplus avatar tomplus commented on July 23, 2024

I found that there are problems with status in panel too.

    <td><?=($row['status'] == 2 ? 'Warning' : 'Error');?></td>

Status 'OK' doesn't exists ...

from tattle.

g76r avatar g76r commented on July 23, 2024

Fixes and improvements have been done on alerts processing since opening of this issue.
Therefore I close it, but feel free toreopen it if you still see a bug with v1.1.0.

from tattle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.