[icinga-users] icinga-users Digest, Vol 47, Issue 5

Mike Dopp MDopp at parkcitygroup.com
Mon Mar 4 20:28:14 CET 2013


As Requested. Attached is the cfg files. As well as a screenshot.


-----Original Message-----
From: icinga-users-request at lists.sourceforge.net [mailto:icinga-users-request at lists.sourceforge.net] 
Sent: Monday, March 04, 2013 12:01 PM
To: icinga-users at lists.sourceforge.net
Subject: icinga-users Digest, Vol 47, Issue 5

Send icinga-users mailing list submissions to
	icinga-users at lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/icinga-users
or, via email, send a message with subject or body 'help' to
	icinga-users-request at lists.sourceforge.net

You can reach the person managing the list at
	icinga-users-owner at lists.sourceforge.net

When replying, please edit your Subject line so it is more specific than "Re: Contents of icinga-users digest..."


Today's Topics:

   1. Re: Fwd: Getting error prompt to check log when get login
      with user = root (Markus Frosch)
   2. icinga host config or adding new objects (Mike Dopp)
   3. Re: icinga host config or adding new objects (Gerd Radecke)


----------------------------------------------------------------------

Message: 1
Date: Mon, 4 Mar 2013 16:49:08 +0100
From: Markus Frosch <markus at lazyfrosch.de>
Subject: Re: [icinga-users] Fwd: Getting error prompt to check log
	when get login with user = root
To: icinga-users at lists.sourceforge.net
Message-ID:
	<CAPCbLKm6VoceHaKT12zLMaufC+Z4o_Mt1BjuBP4xFWmARxk2uw at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hey,
> Below the complete auth.xml file :

The error means that your ldap_basedn is incorrect.

I guess that "dc=test,dc=com" has been replaced for testing? The original content should cause that error.

The LDAP provider is also called for internal authentication, the auth handling is doing a cascaded authentication to allow multiple providers.

-Markus

--
Markus Frosch
markus at lazyfrosch.de
http://www.lazyfrosch.de



------------------------------

Message: 2
Date: Mon, 4 Mar 2013 11:31:27 -0700
From: Mike Dopp <MDopp at parkcitygroup.com>
Subject: [icinga-users] icinga host config or adding new objects
To: "icinga-users at lists.sourceforge.net"
	<icinga-users at lists.sourceforge.net>
Message-ID: <45DDFF0831798249B6D4D4AE94ADD57518AF6C5FDC at svrslcmx1>
Content-Type: text/plain; charset="us-ascii"



Using Ubuntu 12.10 server. icinga with idoutils and icinga-web (Latest (1.8)).

Have ability to see hosts if I add them in the localhost_icinga.cfg

however from my understanding you can create a host.cfg based on systems.

example: windows.cfg to monitor all windows machines via NSclient++ (similar to Nagios)

Everytime I create a new host.cfg icinga either gives me a duplicate error or it does not like the define host line.

Example: (localhost_icinga.cfg working)

define host{

use generic-host

host_name mikedoppdesk

alias mikedoppdesk

address 192.168.0.56 }

However if I create a windows.cfg

Example:

define host{

use windows

host_name mikedoppdesk

alias mikedoppdesk

address 192.168.0.56

}

and use: /usr/sbin/icinga -v /etc/icinga/icinga.cfg

output error line 1 windows.cfg or duplicate errors.

*icinga is installed on /etc/icinga/ The objects are located in the /etc/icinga/objects folder with templates and such.

I currently want to get this setup for multiple windows servers, Red Hat servers and numerous switches.

What is the best way to accomplish this?

Do I create a windows.cfg, Ubuntu.cfg, switch.cfg, router.cfg,

Please advise. Possibly the hierarchy of how icinga understands the config files.

Does it require me to edit the hosts file for ever host?

I have been chasing the icinga web docs trying to get a straight answer.

I know I am missing something critical but cannot find rhyme or reason.

Please educate. Thanks in advance.

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Mon, 04 Mar 2013 20:00:33 +0100
From: Gerd Radecke <wi2009i at gmail.com>
Subject: Re: [icinga-users] icinga host config or adding new objects
To: icinga-users at lists.sourceforge.net
Message-ID: <5134EF51.5080003 at gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On 04.03.2013 19:31, Mike Dopp wrote:
>
> Using Ubuntu 12.10 server. icinga with idoutils and icinga-web (Latest 
> (1.8)).
>
> Have ability to see hosts if I add them in the localhost_icinga.cfg
>
> however from my understanding you can create a host.cfg based on systems.
>
> example: windows.cfg to monitor all windows machines via NSclient++ 
> (similar to Nagios)
>
> Everytime I create a new host.cfg icinga either gives me a duplicate 
> error or it does not like the define host line.
>

Hi Mike,

can you post your full icinga.cfg and the full output of 
/usr/sbin/icinga -v /etc/icinga/icinga.cfg?

it might be possible that your windows.cfg get parsed twice.


> Example: (localhost_icinga.cfg/working/)
>
> define host{
>
> use generic-host
>
> host_name mikedoppdesk
>
> alias mikedoppdesk
>
> address 192.168.0.56 }
>
> However if I create a windows.cfg
>
> Example:
>
> define host{
>
> use windows
>
> host_name mikedoppdesk
>
> alias mikedoppdesk
>
> address 192.168.0.56
>
> }
>
> and use: /usr/sbin/icinga -v /etc/icinga/icinga.cfg
>
> output error line 1 windows.cfg or duplicate errors.
>
> *icinga is installed on /etc/icinga/ The objects are located in the 
> /etc/icinga/objects folder with templates and such.
>
> I currently want to get this setup for multiple windows servers, Red 
> Hat servers and numerous switches.
>
> What is the best way to accomplish this?
>
> Do I create a windows.cfg, Ubuntu.cfg, switch.cfg, router.cfg,
>
> Please advise. Possibly the hierarchy of how icinga understands the 
> config files.
>
> Does it require me to edit the hosts file for ever host?
>
> I have been chasing the icinga web docs trying to get a straight answer.
>
> I know I am missing something critical but cannot find rhyme or reason.
>
> Please educate. Thanks in advance.
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb

------------------------------

_______________________________________________
icinga-users mailing list
icinga-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users


End of icinga-users Digest, Vol 47, Issue 5
*******************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icinga.cfg
Type: application/octet-stream
Size: 49002 bytes
Desc: icinga.cfg
URL: <http://lists.icinga.org/pipermail/icinga-users/attachments/20130304/b68c5658/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: windows.cfg
Type: application/octet-stream
Size: 356 bytes
Desc: windows.cfg
URL: <http://lists.icinga.org/pipermail/icinga-users/attachments/20130304/b68c5658/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: windowscfgError.PNG
Type: image/png
Size: 59859 bytes
Desc: windowscfgError.PNG
URL: <http://lists.icinga.org/pipermail/icinga-users/attachments/20130304/b68c5658/attachment.png>


More information about the icinga-users mailing list