LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 04-08-2011, 08:46 PM   #1
martin2011
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, 02:32 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
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,

Eric
 
  


Reply


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 07:30 AM
nagios not working suj Linux - Server 2 08-05-2010 01:42 PM
Nagios Installation Help needed sunil_sutar Linux - Newbie 3 12-10-2008 07:30 AM
Nagios Not working !!!! ajeetraina Linux - Server 10 12-18-2007 09:36 AM
Nagios configuration on redhat linux help needed !!! apache Linux - Software 2 09-14-2004 11:02 AM


All times are GMT -5. The time now is 11:00 AM.

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