Problems configuring check_external_commands

Marc Powell marc at ena.com
Thu Apr 14 16:25:12 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Yolanda Santos
> Sent: Thursday, April 14, 2005 3:52 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Problems configuring check_external_commands
> 
> Hi,
> 
> I have Nagios 1.2 running correctly, but now I want to start checking
> external command, so I have change in nagios.cfg the directive:
> 
>                            check_external_commands=1
> 
> I compile and restart the nagios service, but it hasn't create the
> nagios.cmd file neither rw directory.
> Moreover, doing this change, the service doesn't restart and in the
> web page appears the typical message (when the service is stopped we
> can see the same message)
> 
> Whoops!
> Error: Could not read host and service status information!
> 
> Anybody knows which is the problem?
> How can I create de nagios.cmd file?

You must create the rw directory yourself with the proper permissions --

http://nagios.sourceforge.net/docs/1_0/commandfile.html


Nagios will then create the nagios.cmd file on restart.

--
Marc


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list