Hello --

I checked the icinga.cfg file for the line that was mentioned in the posting,
and I confirmed its existence. However, when I next went to the etc/modules
directory, there was no idoutils.cfg at that location. 

The ido2db utility is working, and its configuration file is located in the
/usr/local/icinga/etc directory.

When I did the initial configuration of icinga, I made sure to include the
idoutils option. The command options that I used during the configuration 
process was the following:

./configure'  '--with-command-group=icinga-cmd' '--enable-idoutils' 
$ac_configure_extra_args --no-create --no-recursion

I did a search for the idoutils.cfg file throughout the entire root filesystem,
and there was no listing of it. 

Do I need to start the installation process from the beginning, and if so,
what is the correct syntax to use in order to get the idoutils module to work?

-----Original Message-----
From: Carl R. Friend [mailto:crfri...@rcn.com] 
Sent: Sunday, May 27, 2012 5:45 PM
To: 'icinga-users@lists.sourceforge.net'
Subject: Re: [icinga-users] no data present with icinga-web interface


    On Sun, 27 May 2012, Kaplan, Andrew H. wrote:

> I completed the installation of the icinga-web 1.7 interface, and while I can 
> access it there is no data present
> on-screen. I checked the troubleshooting page, and the first place I looked 
> was the icinga.log file. There
> was no mention of IDOMOD in any entry. The ido2db daemon is running, and is 
> configured to automatically
> start on system boot.
>
> I next checked the icinga.cfg file, and I inserted the following text at the 
> end of the file:
>
> define module{
>        module_name    ido_mod
>        path           /usr/local/icinga/bin/idomod.o
>        module_type    neb
>        args           config_file=/usr/local/icinga/etc/idomod.cfg
>        }

    It's worth noting that not just the location of the IDOutils module
changed in 1.7.0 but the name of the shared executable did as well;
the "path" line should have something like:

/usr/local/icinga/lib/idomod.so

in it rather than the one you have.  Also, the configuration for this
customarily resides in ${prefix}/etc/modules/idoutils.cfg so you do
NOT need to add it to the main configuration file.  There should also
be a line of:

cfg_dir=/usr/local/icinga/etc/modules

in the ${prefix}/etc/icinga.cfg file -- that line will cause Icinga
to read every file in the "etc/modules" directory that ends in ".cfg"
and include it into the global configuration.

    The change in location and name was driven by compatibility and
packaging issues; the change allows Icinga to be "more correctly"
packaged for various operating systems (not just Linux, mind) going
forward.

> However, when I ran the verification command syntax on the new version
> of the file, the following error message appeared on-screen.
>
> Reading configuration data...
> Error in configuration file '/usr/local/icinga/etc/icinga.cfg' - Line 1487 
> (NULL value)
>   Error processing main config file!

    What lies on line 1487 of ${prefix}/etc/icinga.cfg?  There is
likely some sort of syntax error in the vicinity of 1487 in your
.cfg file, or a missing argument that's required.  Watch especially
for mismatched braces.

    Cheers!

+------------------------------------------------+---------------------+
| Carl Richard Friend (UNIX Sysadmin)            | West Boylston       |
| Minicomputer Collector / Enthusiast            | Massachusetts, USA  |
| mailto:crfri...@rcn.com                        +---------------------+
| http://users.rcn.com/crfriend/museum           | ICBM: 42:22N 71:47W |
+------------------------------------------------+---------------------+

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to