Re: [Nagios-users] Error in configuration file in hosts.cfg

2007-08-16 Thread Richard Mohr
On Thu, 2007-08-16 at 11:43 -0300, Rodrigo Tavares wrote: > Error: Could not open config directory > '/usr/local/nagios/etc/servers' for reading. It sounds like you created this file, but Nagios thinks it is a directory. Are you using "cfg_file" or "cfg_dir" in nagios.cfg? -- Rick Mohr Systems

Re: [Nagios-users] Error in configuration file in hosts.cfg

2007-08-16 Thread Rodrigo Tavares
Hello Richard, Now, I run the command with nagios.cfg, then th I have to create escalations.cfg, then i created the servers dile, but come this error: Error: Could not open config directory '/usr/local/nagios/etc/servers' for reading. I gave 777 for the file, and changed file's user for nagios,

Re: [Nagios-users] Error in configuration file in hosts.cfg

2007-08-16 Thread Richard Mohr
On Thu, 2007-08-16 at 08:32 -0300, Rodrigo Tavares wrote: > When I run the command : > > ./bin/nagios -v /usr/local/nagios/etc/hosts.cfg > > Come this merror messenger: > > Error in configuration file > '/usr/local/nagios/etc/hosts.cfg' - Line 3 (NULL > value) I believe the problem is that you

[Nagios-users] Error in configuration file in hosts.cfg

2007-08-16 Thread Rodrigo Tavares
Hello, See the file hosts.cfg below : # Generic host definition template define host{ namegeneric-host ; The name of this host template - referenced in other host definitions, used for template recursion notifications_enabled 1 ; Hos