Install Problem

John W Cunningham John at pickaprof.com
Fri Sep 13 17:47:44 CEST 2002


Thanks for all the help Nagios-ers - I got it running on a fresh install
on a different box - the problem was all in the config files.  Now I
just play with some permissions and I'm all set.

-John

On Fri, 2002-09-13 at 09:46, Ewan Leith wrote:
> HOSTADDRESS is set internally by nagios - its the ip address of whatever you
> are testing. $ARG1$ $ARG2$ and so on are set in your services definition.
> 
> 
> define service{
>         host_name       abc
>         service_description     users
>         check_command   check_users!500!1000
>         use defaultaixservice
> }
> 
> will set ARG1 to be 500 and ARG2 to be 1000
> 
> Ewan
> 
> > -----Original Message-----
> > From: John W Cunningham [mailto:John at pickaprof.com]
> > Sent: 13 September 2002 15:26
> > To: Demetri Mouratis
> > Cc: nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] Install Problem
> > 
> > 
> > Unfortunately backing down Apache isn't really an option - but I don't
> > think that's the problem...
> > 
> > I'm getting errors in the checkcommands.cfg file - it doesn't like a
> > single command.  If I run them live in lib_exec it works 
> > fine.  I wonder
> > if the HOSTADDRESS and ARGS1 variables aren't getting set - I couldn't
> > find them in any config file - where are those?
> > 
> > -John
> > 
> > On Fri, 2002-09-13 at 08:38, Demetri Mouratis wrote:
> > > First idea is to back off to Apache 1.3.x.  I don't know 
> > whether anyone
> > > has Nagios running under 2.0 so I wouldn't recommend a 
> > first-timer go that
> > > route.
> > > 
> > > Secondly, you need to do the pre-flight check of Nagios to 
> > make sure your
> > > configuration is correct.  Something like 
> > /usr/local/nagios/bin/nagios -v
> > > /usr/local/nagios/etc/nagios.cfg.  It's in the documentation.
> > > 
> > > Most likely, you haven't modified your configuration files 
> > at all from the
> > > sample ones that were put there bu make install-config.
> > > 
> > > Look at /usr/local/nagios/etc and see if you still have 
> > -sample after each
> > > of the config files.
> > > 
> > > HTH.
> > > On 13 Sep 2002, John W Cunningham wrote:
> > > 
> > > > Hello all,
> > > >
> > > > I'm a first-time user of Nagios, just evaluating a couple 
> > of potential
> > > > monitoring solutions for a new rack setup.
> > > >
> > > > After running a standard install on a RH 7.3 machine with 
> > Apache 2.0.40
> > > > installed, and editing the base configuration files (mostly just
> > > > hosts.conf) I am unable to get anywhere in the web 
> > interface.  I get an
> > > > error telling me that the service may not be running.
> > > >
> > > > So I ran ./nagios status from the /etc/inetd.d/ directory 
> > and recieved
> > > > the following message:
> > > >
> > > > nagios dead but subsys locked
> > > >
> > > > Any ideas?
> > > >
> > > >
> > > > Thanks,
> > > > -John
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This sf.net email is sponsored by:ThinkGeek
> > > > Welcome to geek heaven.
> > > > http://thinkgeek.com/sf
> > > > _______________________________________________
> > > > Nagios-users mailing list
> > > > Nagios-users at lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > >
> > > 
> > > 
> > ---------------------------------------------------------------------
> > > Demetri Mouratis
> > > dmourati at linfactory.com
> > > 
> > > 
> > > 
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by:ThinkGeek
> > > Welcome to geek heaven.
> > > http://thinkgeek.com/sf
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list