Page 1 of 2
How to check warn and critical errors in log file
Posted: Wed Apr 12, 2017 6:10 am
by satishvjadhav
Hello Sir,
For some web server I wanted to monitor logs for Warning / Critical errors messages. How can I do that in Nagios XI
Thank you,
satish j.
Re: How to check warn and critical errors in log file
Posted: Wed Apr 12, 2017 11:25 am
by mcapra
We produce a separate product for log analysis/monitoring:
Nagios Log Server. I'll only plug it once, but if you're looking to watch a bunch of logs that really is the better product.
Otherwise, here's a relatively popular plugin on the exchange for that use case:
https://exchange.nagios.org/directory/P ... pl/details
You'll need to refer to that plugin's documentation/usage for instructions. We didn't write that plugin; A community member did.
Re: How to check warn and critical errors in log file
Posted: Wed Apr 12, 2017 11:31 am
by satishvjadhav
Ok. What do you mean by, I'll only plug it once?
Do you have any pdf which describe use/configuration of Nagios Log Server.
Thank you.
Satish J.
Re: How to check warn and critical errors in log file
Posted: Wed Apr 12, 2017 11:48 am
by mcapra
I meant to say that, if you were set on using Nagios XI, I wouldn't continue to bother you with Nagios Log Server information.
Here's a general overview of the product:
https://www.nagios.com/products/nagios-log-server/
And here's a higher level architectural overview:
https://support.nagios.com/kb/article.php?id=98
And here's a crash course video on YouTube:
https://www.youtube.com/watch?v=2dFwnh3p3m4
Re: How to check warn and critical errors in log file
Posted: Wed Apr 12, 2017 12:04 pm
by satishvjadhav
Ohh, will go through and update ... Thanks
Re: How to check warn and critical errors in log file
Posted: Wed Apr 12, 2017 5:03 pm
by tmcdonald
Keep us posted!
Re: How to check warn and critical errors in log file
Posted: Thu Apr 13, 2017 4:32 am
by satishvjadhav
How can I set log monitoring plugin in Nagios XI. Can you please provide me steps to do it.
Thank you,
satish j
Re: How to check warn and critical errors in log file
Posted: Thu Apr 13, 2017 4:39 am
by satishvjadhav
and after setting of plugin, how can use it in nagios xi to check any specific application logs ?
Thank you
satish
Re: How to check warn and critical errors in log file
Posted: Thu Apr 13, 2017 1:46 pm
by mcapra
We don't have any specific documentation. Did you encounter any problems leveraging the community plugin I shared earlier?
https://exchange.nagios.org/directory/P ... pl/details
That plugin's usage is pretty comprehensive and covers most use cases. Was any part of it confusing?
Re: How to check warn and critical errors in log file
Posted: Thu Apr 13, 2017 2:03 pm
by satishvjadhav
yes. I want to configure it on Nagios XI.
by selecting check command CHECK_NRPE and in arg1 i will specify that plugin name and how should I pass warning/critical string in argument2 ?
thank you,
Satish Jadhav