Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [Nagios-users] Windows monitoring

From: Frost, Mark {PBG} <mark.frost1(at)pepsi.com>
Date: Tue Jun 26 2007 - 10:00:56 EDT


That's what I've done. My understanding in Nagios is that a config file is a config file. I've never tried it, but I believe you could stuff your entire config (hosts, services, checkcommands, notification commands) into a single file. You'd be nuts given how incredibly complex Nagios configs can get, but you could. By the same token, you could break them out into as many individual files as you like as well as long as your nagios.cfg lists all the files it's supposed to read.  

I did as you indicated -- keep my hosts (windows or otherwise) in my hosts.cfg file. I tend to sort my config files by application rather than OS type so I put the service entries in files/directories with still other names.  

Mark


	From: Jerad Riggin [mailto:jriggin@gmail.com] 
	Sent: Tuesday, June 26, 2007 9:53 AM
	To: Frost, Mark {PBG}
	Cc: nagios-users@lists.sourceforge.net
	Subject: Re: [Nagios-users] Windows monitoring
	
	
	Thanks for the info.  So for example, it wants me to define new
hosts in the windows.cfg. Is there a point to that? Can I just put service definitions in the windows.cfg and utilize the hosts I already have defined in hosts.cfg ?                  

        On 6/26/07, Frost, Mark {PBG} <mark.frost1@pepsi.com> wrote:

                Jerad,                  

                I took this to mean that it's a sort of generic/example config file. You can always break out your configuration into additional files/directories as makes sense for your installation as long as you add new lines in the nagios.cfg file to tell it to read each new file and/or directory you create.                  

                I found that a few things in that 3.0 doc for monitoring with NSClient++ that weren't correct so you will find yourself making some modifications to get things to work if you've completely copied entries from that doc page.                  

                Mark


Do you need help?X

                        From: nagios-users-bounces@lists.sourceforge.net [mailto:nagios-users-bounces@lists.sourceforge.net] On Behalf Of Jerad Riggin

			Sent: Tuesday, June 26, 2007 9:16 AM
			To: nagios-users@lists.sourceforge.net 
			Subject: [Nagios-users] Windows monitoring
			
			
			
			I'm going through this article:

http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html                          

                        It is referring to a windows.cfg within nagios.cfg. I don't see any such commented out line in my nagios.cfg, and I can't even find a windows.cfg at all. Is the difference that I am running 2.9 and this is referring to 3.0?



This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/



Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
Received on Tue Jun 26 10:01:30 2007

This archive was generated by hypermail 2.1.8 : Tue Jun 26 2007 - 10:10:02 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library