Once you've installed Nagios, locate the directory that contains the main Nagios configuration file (nagios.cfg).  In that same directory should be a sub-directory named objects.  That's where you'll find (and create) the other config files for Nagios.  For example, the list of Nagios contacts (contacts.cfg).
 
  You can also use 'find' to search for the cfg files on your Nagios server.

 
Florida's Capital County
Jon Adcock
Network Systems Administrator
Leon County MIS
301 S. Monroe St.
Tallahassee, FL  32301
Office:  (850) 606-5518
 
>>> On 12/12/2011 at 7:22 AM, Assaf Flatto <nag...@flatto.net> wrote:
Have you installed from source or package ?

if the package , try looking for the file in the /etc/nagios3/ directory

If you used source , have you done the make install-configs ( or is may be make install-samples ) ?

Assaf

----- Original Message -----
From: "Niels Jende" <nielsje...@googlemail.com>
To: "Nagios Users List" <nagios-users@lists.sourceforge.net>
Sent: Monday, 12 December, 2011 12:18:40 PM
Subject: [Nagios-users] Windows.cfg missing

Hi Folks,

as I am still a newbie with nagios but willing to learn, I hope you
wont mind if my upcoming question might sound silly to you.

I read that to monitor windows servers that I should find a
windows.cfg file in ~/objects/

Well I dont have neither a directory called objects nor such a file.
In /usr/share/doc/nagios3-common/examples/template-object/ I found a
windows.cfg file.

So, is it okay for nagios to simply create a directory ~/objects/ and
copy the windows.cfg file in there? Or what do I have to do?

As said before, I am new to nagios and I am running a debian wheetzy
with nagios 3.2.3

Thanks for your time and help
Niels

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online. 
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
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

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online. 
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
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
------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
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

Reply via email to