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

Reply via email to