Alerts not running

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
34Bearman
Posts: 40
Joined: Wed Dec 03, 2014 3:45 pm

Re: Alerts not running

Post by 34Bearman »

It's a single node in the cluster.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Alerts not running

Post by jolson »

Great - that's what I figured from your previous posts. ;)

A yellow status means that your cluster is not fully redundant. With one node, it's not possible for your cluster to be fully redundant, so this behavior makes sense.

Successful shards are shards that have been duplicated into both a primary and a replica shard, and then assigned properly. This has to do with redundancy. My guess is that your node has all primary shards and assigned them to itself, and cannot assign replica shards since there aren't any more nodes in the cluster (resulting in your successful shards being exactly half of your total shards). Since you have one node, you could turn replica shards off entirely to get your status to turn green - it may make a difference in terms of disk space usage. To do so you can modify /usr/local/nagioslogserver/elasticsearch/config/elasticsearch.yml and set: index.number_of_replicas: 0

But as for corruption, it looks like you're in the clear. Have your alerts started to run properly, or are you still having issues with them? If not, please post the following:

tail -n20 /var/log/cron
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked