<p>Do:</p>
<p>sudo /usr/bin/nagios -v /etc/nagios/nagios.cfg</p>
<p>That should sort that out</p>
<p><blockquote type="cite">On 16 Jul 2010 18:12, "Scott Voll" <<a href="mailto:svoll.voip@gmail.com">svoll.voip@gmail.com</a>> wrote:<br><br>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.<div>
<br></div><div>I've read through install guides and Googled a lot. Maybe it's something easy I'm just not getting.</div>
<div><br></div><div>When I try and test the config I get:</div><div><br></div><div><div><font color="#3366FF">[root@localhost bin]# sudo nagios /usr/bin/nagios -v /etc/nagios/nagios.cfg</font></div>
<div><font color="#3366FF"><br></font></div><div><font color="#3366FF">Nagios 2.9</font></div><div><font color="#3366FF">Copyright (c) 1999-2007 Ethan Galstad (<a href="http://www.nagios.org" target="_blank">http://www.nagios.org</a>)</font></div>
<div><font color="#3366FF">Last Modified: 04-10-2007</font></div><div><font color="#3366FF">License: GPL</font></div><div><font color="#3366FF"><br>
</font></div><div><font color="#3366FF">Error in configuration file '/usr/bin/nagios' - Line 1 (NULL value) </font><-- Looks like the Nagios Program has an issue????? or the config file?</div>
<div><font color="#3366FF">Nagios 2.9 starting... (PID=17206)</font></div><div><font color="#3366FF">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)</font></div>
</div><div><br></div><div>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.</div><div><br></div><div>Can someone give me a pointer in the right direction?</div>
<div><br></div><div>TIA</div><div><br></div><font color="#888888"><div>Scott</div>
</font><br>------------------------------------------------------------------------------<br>
This SF.net email is sponsored by Sprint<br>
What will you do first with EVO, the first 4G phone?<br>
Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></p>