Bug#354007: [Pkg-nagios-devel] Bug#354007: Error: Cannot open config file '/etc/nagios-plugins/config/imap.cfg' for reading: Invalid argument

Marc Haber mh+debian-packages at zugschlus.de
Wed Aug 16 08:25:46 UTC 2006


On Mon, Mar 06, 2006 at 06:43:41AM -0500, sean finney wrote:
> so it seems this is a problem in nagios2 (but not 1.x?), where it
> is not able to parse an empty config file?  if so i'll have
> a look into the source and see if i can find a fix to send
> upstream.

I cannot reproduce this with nagios2. What I tried:

- install nagios2 (2.5-0) and nagios-plugins
- touch /etc/nagios-plugins/imap.cfg
- add an IMAP service to localhost:
  /etc/nagios2/conf.d/localhost_nagios2.cfg
  define service {
        use                     generic-service
        host_name               localhost
        service_description     IMAP
        check_command           check_imap
  }
- Start nagios

My nagios correctly reports this service as DOWN.

Can you please check whether the issue can still be reproduced with
nagios 2.5?

Greetings
Marc


-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835




More information about the Pkg-nagios-devel mailing list