Trying Nagios for the First Time

Mark Dalton mwd at cray.com
Wed Feb 11 22:23:06 CET 2004


I would suggest first:
    /usr/bin/nagios -v /etc/nagios/nagios.cfg

This will check all of your configuration files, if those are not setup 
correctly
then you nagios will not start up.  -v option will not start nagios, but 
it will
check your configuration files.

Mark

Seth Hollist wrote:

>I've been working on getting Nagios setup for the last few months.  I've
>read through all the documentation, and finally found an article in SysAdmin
>Magazine that helped me to finally understand how it all works together.
>I'm running on RedHat 9, and have tried using both the RPM install and
>installing from the source.  I've tried in on two different machines, and in
>all cases I've gotten the following results after doing a minimal
>configuration to test it with.
>
># /usr/bin/nagios -d /etc/nagios/nagios.cfg
># echo $?
>254
>
>Any ideas what it means when you get an exit status of 254?  I searched the
>archives and didn't find anything matching "254".
>
>Seth Hollist
>HP-UX CSA
>Ingenix, SLC
>Systems Backup Specialist
>Cell Phone: 801-599-9096
>Work Phone: 801-982-3291
>Pager: 888-733-9679 or Seth.Hollist at My2Way.com
>
>
>This e-mail, including attachments, may include confidential and/or
>proprietary information, and may be used only by the person or entity to
>which it is addressed. If the reader of this e-mail is not the intended
>recipient or his or her authorized agent, the reader is hereby notified that
>any dissemination, distribution or copying of this e-mail is prohibited. If
>you have received this e-mail in error, please notify the sender by replying
>to this message and delete this e-mail immediately.
>
>
>-------------------------------------------------------
>SF.Net is sponsored by: Speed Start Your Linux Apps Now.
>Build and deploy apps & Web services for Linux with
>a free DVD software kit from IBM. Click Now!
>http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
>_______________________________________________
>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
>  
>




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
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