It looks like we are having some alerts intermittently not firing in 2015R2.1 I'm not sure if this was happening before the upgrade or not.
Looking at the audit logs were seeing this for some of them. As you can see below its hitting the threshold of 1 but returning OK. This seems to only be happening for some, as we are receiving other alerts.
{
"_index": "nagioslogserver_log",
"_type": "ALERT",
"_id": "AU62vYfZ4X2tlDGI5xeN",
"_score": null,
"_source": {
"created": 1437584951257,
"type": "ALERT",
"message": "Alert ID ILVfKJeJTf6a2SRbPiRvog returned OK: 1 matching entries found |logs=1;1;1",
"source": "Nagios Log Server"
},
"sort": [
1437584951257,
1437584951257
]
}
Some Alerts Intermittently not firing in 2015R2.1
Re: Some Alerts Intermittently not firing in 2015R2.1
Jklre,
Setting an alert to have a threshold of '1' means that the log count must be greater than one for the alert to trigger. The syntax for defining your thresholds is as follows:
Setting an alert to have a threshold of '1' means that the log count must be greater than one for the alert to trigger. The syntax for defining your thresholds is as follows:
Code: Select all
Definition Generate an alert if x...
10 < 0 or > 10, (outside the range of {0 .. 10})
10: < 10, (outside {10 .. ∞})
~:10 > 10, (outside the range of {-∞ .. 10})
10:20 < 10 or > 20, (outside the range of {10 .. 20})
@10:20 ≥ 10 and ≤ 20, (inside the range of {10 .. 20})Re: Some Alerts Intermittently not firing in 2015R2.1
jolson wrote:Jklre,
Setting an alert to have a threshold of '1' means that the log count must be greater than one for the alert to trigger. The syntax for defining your thresholds is as follows:
Code: Select all
Definition Generate an alert if x... 10 < 0 or > 10, (outside the range of {0 .. 10}) 10: < 10, (outside {10 .. ∞}) ~:10 > 10, (outside the range of {-∞ .. 10}) 10:20 < 10 or > 20, (outside the range of {10 .. 20}) @10:20 ≥ 10 and ≤ 20, (inside the range of {10 .. 20})
Re: Some Alerts Intermittently not firing in 2015R2.1
If you're interested in a bulk alert editor feature, I would be happy to open a feature request for you. Any idea on how you might like a feature like that implemented?
Re: Some Alerts Intermittently not firing in 2015R2.1
That would come in handy. I think I already requested a bulk alert creation from you guys already. I just realized I can adapt a script I have to fix this for us so I don't die of boredom.jolson wrote:If you're interested in a bulk alert editor feature, I would be happy to open a feature request for you. Any idea on how you might like a feature like that implemented?
Thanks
Re: Some Alerts Intermittently not firing in 2015R2.1
Sounds good to me! No problem. 