Do:
sudo /usr/bin/nagios -v /etc/nagios/nagios.cfg
That should sort that out
On 16 Jul 2010 18:12, "Scott Voll" <svoll.v...@gmail.com> wrote:
So I'm a first timer to Nagios. Loved it at my old job, but I never managed
it. Looks like I may be managing it at the new job.
I've read through install guides and Googled a lot. Maybe it's something
easy I'm just not getting.
When I try and test the config I get:
[r...@localhost bin]# sudo nagios /usr/bin/nagios -v /etc/nagios/nagios.cfg
Nagios 2.9
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
Last Modified: 04-10-2007
License: GPL
Error in configuration file '/usr/bin/nagios' - Line 1 (NULL value) <--
Looks like the Nagios Program has an issue????? or the config file?
Nagios 2.9 starting... (PID=17206)
Bailing out due to one or more errors encountered in the configuration
files. Run Nagios from the command line with the -v option to verify your
config before restarting. (PID=17206)
I have double check that the files are there. They are pointing in the
right directories, permissions seem to be set and and file access allowed.
Can someone give me a pointer in the right direction?
TIA
Scott
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Nagios-users mailing list
Nagios-users@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
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Nagios-users mailing list
Nagios-users@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