general
Marc Powell
marc at ena.com
Wed Jan 10 16:28:23 CET 2007
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Nedim Bicic
> Sent: Wednesday, January 10, 2007 9:06 AM
> To: Jim Perrin
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] general
>
>
> ok here is exactly what i get when i run the folwing command when i
try to
> restart nagios
> I guess this mean its working when i restart it using follwing command
>
> > /etc/rc.d/init.d/nagios restart
> Running configuration check...done
> Stopping network monitor: nagios
> Waiting for nagios to exit . done.
> Starting network monitor: nagios
Looks like nagios started successfully. Is it running? If not, look in
your nagios.log file for error output.
> Then i try to run this bellow is it set up right i dont know you tell
me
> guys
>
> > nagios -v /etc/rc.d/init.d/nagios restart
'nagios -v' verifies the current nagios configuration. It's not a way to
start nagios. Additionally, it expect its argument to be the path to
nagios.cfg. It's complaining because /etc/rc.d/init.d/nagios isn't the
nagios config file.
Try --
'/path/to/nagios -v /path/to/nagios.cfg', substituting the correct path,
of course.
--
Marc
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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