Events Log monitoing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Events Log monitoing

Post by ranjitw »

Hi All,

Can you please guide me the way to monitor Events Log using NSClient++ ? We need to monitor below event ID's and alarm message should be like $source (Event ID: $event_id): $message.

Events "Events ID : 6008
Source : EventLog
Type : Error"

"Events ID : 333
Source : Application Popup
Type : Error"


"Events ID : 2020
Source : Srv
Type : Error"

"Events ID : 50
Source : Ftdisk
Type : Warning"

Please provide your valuable inputs.

Many thanks,
Regards,
Ranjit W
Regards,
Ranjit W
MichielvM
Posts: 160
Joined: Thu Oct 24, 2013 3:48 am

Re: Events Log monitoing

Post by MichielvM »

I did some eventlogging in the past using nagevlog.
Short for Nagios Event Log.
It's a program you run and configure on the host you wish to monitor.
You configure it to look for user-defined event-id's on specific logs. Nagevlog sends them to your Nagios server through nsclient.
Be advised: this is passive monitoring.
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Events Log monitoing

Post by ranjitw »

Hi MichielvM,

Thanks for sharing your inputs . I am looking for active monitoring solution .

I have explored on active monitoring and found below :

1) Need to set 1 for entries allow_nasty_meta_chars=1 and allow_arguments=1 in NSC.ini file .

2) Post setting I have restarted the NSClient++ .

I am facing problem in configuring the events in Nagios XI using the front end can you please advice on this ?

Regards,
Ranjit w
Regards,
Ranjit W
MichielvM
Posts: 160
Joined: Thu Oct 24, 2013 3:48 am

Re: Events Log monitoing

Post by MichielvM »

Assuming you want to monitor the eventlog for system malfunctions etc., why would you want active monitoring?
Depending on your check interval, this will only increase the load on your nagios server.

Passive monitoring is only active when an event occurs.

Regarding your question: Sorry, can't help you with it, as I only have experience with the passive method.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Events Log monitoing

Post by Box293 »

Honestly Nagios XI isn't really the best method for Event Log monitoring.

Nagios Log Server is a much better method.

It can alert on specific events, if x events occurred within a time frame.

Whats more appealing is that the events are stored on the Nagios Log Server, so if an Admin did something and then decided to clear the logs, the information still exists on the Nagios Log Server.

Here are some examples:
https://labs.nagios.com/2015/08/10/moni ... ver-final/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
MichielvM
Posts: 160
Joined: Thu Oct 24, 2013 3:48 am

Re: Events Log monitoing

Post by MichielvM »

If you just need an occasional eventlog, it will do just fine.
When eventlogging is core business, I agree there's better tools than Nagios Xi.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Events Log monitoing

Post by hsmith »

@ ranjitw, is there anything else we can do to assist you with this particular issue?
Former Nagios Employee.
me.
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Events Log monitoing

Post by ranjitw »

Hi,

Can you please suggest step by step configuration with one example to configure nagevlog ?

It would be of great help.

Many thanks,
Regards,
Ranjit W
Regards,
Ranjit W
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Events Log monitoing

Post by Box293 »

Have you read this documentation before:

https://assets.nagios.com/downloads/nag ... entLog.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Events Log monitoing

Post by ranjitw »

Thanks , Please close the post.

Regards,
Ranjit W
Regards,
Ranjit W
Locked