We are trying to monitor a logfile in a windows server for a specific test "some text". I'm trying to understand if the check_logfile plugin reads the enitre file every time a check is executed or does it look for the expression starting from the location where it finished in the previous check? the reason I ask this question is the logfile we wish to monitor stores the logs over a period of time and scaning the entire file evrytime might eat up a lot of time.
Also, Please suggest the rite logfile checking plugin for windows.
logfile monitoring
Re: logfile monitoring
Just to clarify, you are looking to monitor an actual logfile and not the windows event log, is this correct?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: logfile monitoring
Could you please link to the check_logfile plugin mentioned?
Additionally, there are a large number of windows logfile plugins:
http://exchange.nagios.org/index.php?op ... %20windows
Additionally, there are a large number of windows logfile plugins:
http://exchange.nagios.org/index.php?op ... %20windows
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: logfile monitoring
This is the file I have downloaded from nagios, It seems that this plugin should be run on the remote host using nrpe however I dont find in the documentation on how this should be installed on windows environment.
I have downloaded the file from the exchnage (click below link)
http://labs.consol.de/nagios/check_logfiles/
Under the installation instaructions it says
I have downloaded the file from the exchnage (click below link)
http://labs.consol.de/nagios/check_logfiles/
Under the installation instaructions it says
but I'm not able to open the read.exe file...!!!Under Windows you build the plugin with perl winconfig.pl. This will result in plugins-scripts/check_logfiles.
The file README.exe contains instructions how to build a Windows ninary check_logfiles.exe.
You do not have the required permissions to view the files attached to this post.
Re: logfile monitoring
Right click on the file and open it in notepad. Or rename it to README.txt.MSPk wrote:but I'm not able to open the read.exe file...!!!
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.