Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible that i can monitor . kernel log messages , apache error logs , mail log messages via nagios.

I have three linux servers and i want that on every server there should be something so that i can see all log files from one locations

I am new to nagios so i don't know

share|improve this question
The first thing you need to do is define exactly what you mean by "monitor" log files. – John Gardeniers Aug 23 '10 at 3:59

1 Answer

up vote 2 down vote accepted

There's a whole category of Log Monitoring plugins over on the Nagios Exchange. The check_logfiles plugin looks promising. You should know, though, that there's no "magic" log monitoring plugin. You need to be able to tell the plugin what you're looking for (in the form of a regular expression) so that it can alert you when it finds a match.

share|improve this answer
Is nagios only monitors for some expression or is it possible with nagios that , when i click on log file , it then opens the current contents of that file. i just want to view the contents from one location – John Aug 23 '10 at 3:32
1  
Oh, just viewing log files is really outside of what Nagios does. For that, you should first get all of your servers sending their logs to a central syslog server. Then from there, give php-syslog-ng a try: code.google.com/p/php-syslog-ng – EEAA Aug 23 '10 at 3:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.