Page 1 of 1

Nagios Core Event Log Alerts??

Posted: Mon Oct 19, 2015 4:33 pm
by JonnyA
Hey,

Ive inherited a Nagios Core system and would like to know if I can get Alert updates for windows event logs on critical and warnings on each of my servers.

Im new to Linux/Ubuntu and dont have a strong knowledge of how to install or make changes to this system, are there any step by step guides around?

Any help or advice would be great

Cheers

Jonny

Re: Nagios Core Event Log Alerts??

Posted: Mon Oct 19, 2015 8:07 pm
by Box293
This document is based on Nagios XI, however the first part is all about getting NagEventLog installed and configured.
https://assets.nagios.com/downloads/nag ... entLog.pdf

You need NSCA installed on your Core server:
http://sites.box293.com/nagios/guides/n ... core-4-0-x

After this you should just need some passive service definitions:
http://sites.box293.com/nagios/guides/n ... efinitions

Does this help?

Re: Nagios Core Event Log Alerts??

Posted: Thu Oct 22, 2015 4:36 pm
by JonnyA
Hey,

Thanks for your reply , I've been trying to install the above but I get the following message when doing the following:

root@monitoring:~# yum -y install gcc xinetd
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
You can enable repos with yum-config-manager --enable <repo>
root@monitoring:~# yum repolist all
repolist: 0
root@monitoring:~# yum-config-manager --enable <repo>
-bash: syntax error near unexpected token `newline'

What does this mean, or am I doing something wrong?

Re: Nagios Core Event Log Alerts??

Posted: Fri Oct 23, 2015 2:14 am
by Box293
I can see what is going on here.
JonnyA wrote:Im new to Linux/Ubuntu and dont have a strong knowledge of how to install or make changes to this system, are there any step by step guides around?
The guides I linked you to are for CentOS and things like yum are not going to work on Ubuntu (it uses apt-get).

I did google and found that NSCA is part of Ubuntu, so you could install it with:

Code: Select all

apt-get install nsca
Then most of the config related stuff in my guide should be relevant. Let us know how you go.

Re: Nagios Core Event Log Alerts??

Posted: Sun Nov 01, 2015 3:19 pm
by JonnyA
Thanks Ill give this ago and let you know now I get on

any chance you could link me the article you found?

Thanks for the help

Re: Nagios Core Event Log Alerts??

Posted: Sun Nov 01, 2015 10:14 pm
by Box293