<div><strong>> nagios -v /etc/nagios/nagios.cfg</strong><br><br>Nagios 2.4<br>Copyright (c) 1999-2006 Ethan Galstad (<a href="http://www.nagios.org">http://www.nagios.org</a>)<br>Last Modified: 05-31-2006<br>License: GPL
<br><br>Reading configuration data...<br><br>Running pre-flight check on configuration data...<br><br>Checking services...<br>Checked 7 services.<br>Checking hosts...<br>Checked 3 hosts.<br>Checking host groups...<br>Checked 1 host groups.
<br>Checking service groups...<br>Checked 0 service groups.<br>Checking contacts...<br>Checked 1 contacts.<br>Checking contact groups...<br>Checked 1 contact groups.<br>Checking service escalations...<br>Checked 0 service escalations.
<br>Checking service dependencies...<br>Checked 0 service dependencies.<br>Checking host escalations...<br>Checked 0 host escalations.<br>Checking host dependencies...<br>Checked 0 host dependencies.<br>Checking commands...
<br>Checked 22 commands.<br>Checking time periods...<br>Checked 1 time periods.<br>Checking extended host info definitions...<br>Checked 0 extended host info definitions.<br>Checking extended service info definitions...<br>
Checked 0 extended service info definitions.<br>Checking for circular paths between hosts...<br>Checking for circular host and service dependencies...<br>Checking global event handlers...<br>Checking obsessive compulsive processor commands...
<br>Checking misc settings...<br><br>Total Warnings: 0<br>Total Errors:   0<br><br>Things look okay - No serious problems were detected during the pre-flight check<br> </div>
<div> </div>
<div> </div>
<div>ok i guess everything is ok here i can access the the webinterface and see my my hosts and servfices but i cant edit out # in nagios.cfg for other objects<br><br> </div>
<div><span class="gmail_quote">On 1/10/07, <b class="gmail_sendername">Marc Powell</b> <<a href="mailto:marc@ena.com">marc@ena.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><br>> -----Original Message-----<br>> From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net">
nagios-users-bounces@lists.sourceforge.net</a> [mailto:<a href="mailto:nagios-users-">nagios-users-</a><br>> <a href="mailto:bounces@lists.sourceforge.net">bounces@lists.sourceforge.net</a>] On Behalf Of Nedim Bicic<br>
> Sent: Wednesday, January 10, 2007 9:06 AM<br>> To: Jim Perrin<br>> Cc: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>> Subject: Re: [Nagios-users] general<br>>
<br>><br>> ok here is exactly what i get when i run the folwing command when i<br>try to<br>> restart nagios<br>> I guess this mean its working when i restart it using follwing command<br>><br>> > /etc/rc.d/init.d/nagios restart
<br>> Running configuration check...done<br>> Stopping network monitor: nagios<br>> Waiting for nagios to exit . done.<br>> Starting network monitor: nagios<br><br>Looks like nagios started successfully. Is it running? If not, look in
<br>your nagios.log file for error output.<br><br>> Then i try to run this bellow is it set up right i dont know you tell<br>me<br>> guys<br>><br>> > nagios -v /etc/rc.d/init.d/nagios restart<br><br>'nagios -v' verifies the current nagios configuration. It's not a way to
<br>start nagios. Additionally, it expect its argument to be the path to<br>nagios.cfg. It's complaining because /etc/rc.d/init.d/nagios isn't the<br>nagios config file.<br><br>Try --<br><br>'/path/to/nagios -v /path/to/nagios.cfg', substituting the correct path,
<br>of course.<br><br>--<br>Marc<br><br>-------------------------------------------------------------------------<br>Take Surveys. Earn Cash. Influence the Future of IT<br>Join SourceForge.net's Techsay panel and you'll get the chance to share your
<br>opinions on IT & business topics through brief surveys - and earn cash<br><a href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
</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">
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></div><br>