Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-08-2011, 09:46 PM   #1
LQ Newbie
Registered: Apr 2011
Posts: 1

Rep: Reputation: 0
Help needed getting Nagios Check_logfiles working with Windows

Hi Guys
Iím very new to Linux & Nagios but I have made some good progress until now.
I have Nagios working and the check_logfiles plugin installed on my Ubuntu box and NSClient ++ installed on my windows box.
My end goal is to be able to get the check_logfiles plugin to flag certain words in Windows Log Files.
I can call the check_logfiles from the Ubuntu command line and it works fine when I look at a local log file on the Nagios box.
If I try to do something similar but point to a remote windows file the process fails.
I have NRPE enabled and I think working on the Windows machine.
Before I post Config files etc can someone tell me if my approach is correct? Should I be calling the check_logfiles plugin from the Nagios box or do I need to install the Windows version of Check_logfiles on the remote machine and then make some sort of reference to it in the NSC.ini file on the Windows box.
Old 04-09-2011, 03:32 AM   #2
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello and Welcome to LinuxQuestions,

Your second guess is correct. If you use NSCLient++ on the Windows machine you need the necessary plugins on that machine and execute/configure the commands in the ini file. Nagios connects to the NSClient++ and tells it what command to execute. That command must be defined in the ini file on the Windows side.

Kind regards,



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios Help Needed.................... zoomzatag Linux - Newbie 1 10-19-2010 08:30 AM
nagios not working suj Linux - Server 2 08-05-2010 02:42 PM
Nagios Installation Help needed sunil_sutar Linux - Newbie 3 12-10-2008 08:30 AM
Nagios Not working !!!! ajeetraina Linux - Server 10 12-18-2007 10:36 AM
Nagios configuration on redhat linux help needed !!! apache Linux - Software 2 09-14-2004 12:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration