Nagios LS 2.1.7 starts reporting alerts for host freshness and it's very nice (earlier version wasn’t recognizing host freshness)
But…
The data attached to alert mail looks like random data or not relevant to alert….
CRITICAL: 4 non-sending hosts found |hosts=4;0;0
See the last 24h in the Nagios Log Server dashboard.
1) For test I shutdown 2 hosts and while test time i had 1 real case (unplanned). LS reported 4 hosts not sending data, instead of 3, after fixing 3 hosts (2 test + 1 real one) system return to “green” state and reports 0 hosts not sending.
2) I was trying to figure out the 1-2 servers not sending data, the real case.... the link in alert mail (Nagios Log Server dashboard) points to json dictionary with random data, so the data is useless for figure out source of alert. Luckily host report page works well and has correct data so it was possible to find out malfunction host, however alert point out 4 servers, host report page was showing 3)
Data under link "Nagios Log Server dashboard." in alert mail:
(Json data from mail - header only)
Code: Select all
{
"took": 36,
"timed_out": false,
"_shards": {
"total": 10,
"successful": 10,
"failed": 0
},
"hits": {
"total": 12684468,
"max_score": 1,
"hits": [
{….
The json looks like some random data... not relevant to alert
DarekN.