Share

GroundWork Monitor Architect

Tracker: Bugs

5 Lack of cfg files when Monarch generate nagios.cfg file - ID: 2229418
Last Update: Comment added ( sf-robot )

Hello all,

When I do the preflight test, I get an error because of in the nagios.cfg
file does not appear some lines like:

...
cfg_file=/etc/nagios3/extended_service_info_templates.cfg
cfg_file=/etc/nagios3/extended_host_info.cfg
...

I add them, but when I generate the configuration it is overwritten.
So, it is a bug when Monarch write the nagios.cfg which omits those lines.

Regards,
Mabel


Maria Isabel Belijar ( ing_informatica ) - 2008-11-06 12:31

5

Closed

None

Nobody/Anonymous

None

None

Public


Comments ( 2 )




Date: 2008-11-24 02:20
Sender: sf-robotSourceForge.net Site Admin

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).


Date: 2008-11-07 12:29
Sender: ing_informatica

I have already solved it. I had to change two lines in lib/MonarchFile.pm
when adding extended_service_info_templates.cfg and extended_host_info.cfg
to the nagios.cfg file:

- if ($options{'nagios_version'} eq '2.x') {
+ if ($options{'nagios_version'} =~ (/^[23]\.x$/)) {
push @out_files, 'extended_host_info.cfg';



Log in to comment.

Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Pending 2008-11-24 02:20 sf-robot
close_date 2008-11-07 12:29 2008-11-24 02:20 sf-robot
status_id Open 2008-11-07 12:29 ing_informatica
close_date - 2008-11-07 12:29 ing_informatica