Re: [Nagios-users] Help Needed | Web Authentication

2010-08-25 Thread Himanshu Arora
Thanks for all your help tony,

Tried implementing webinject again and it worked like a charm this time and
it solved my pupose. :)


Thanks,
Himanshu

On Tue, Aug 24, 2010 at 7:58 PM, Tony Yarusso  wrote:

>  On 8/22/2010 3:44 PM, Himanshu Arora wrote:
>
>  Hi Tony,
>
>  Thanks for replying,
>
>  I have already tried using webinject couple of days ago...  but i was
> getting so many errors while using the webinject.pl plugin after the
> installation.
>
>  Even though the execution steps are also given on the link you've
> provided me, but couldn't get through to it.
> Would be really appreciated if you could assist me a bit on this or let me
> know the other way around because its been more than a month now, m trying
> to get this done...
>
>  Just an FYI for you that m trying to monitor a website @ work on
> production enviromment. FB is just an example i hv used.
>
>
> Possibly.  I've only done a little myself as well.  What sort of errors?
> Also, you'll find two examples and a couple of caveats on pages 4-6 of
> http://assets.nagios.com/downloads/nagiosxi/docs/Monitoring_Websites_With_XI.pdfif
>  that helps.
>
> (Also, it's probably best to keep this on the list so others can learn from
> it and contribute as well.)
>
>
>   On 8/18/2010 2:56 PM, Himanshu Arora wrote:
> > So i need to know what am i doing wrong here or may be i am not using
> > the right plugin to do so because as i know its not the "basic
> > authentication" that i am going through.
> You want to use WebInject for this (it's an extra library plus Nagios
> plugin)
> http://www.webinject.org/plugin.html
>
> It lets you say "first, go to Facebook.  Then fill out the form with
> these credentials.  Submit those, now check the page it returns back".
> You could even do something like checking whether someone is still your
> friend, or whether your news feed contains some string.
>
> --
> Tony Yarusso
> Technical Team
>
>
> --
> Tony Yarusso
> Technical Team
> ___
> Nagios Enterprises, LLC
> Email:  tyaru...@nagios.com
> Web:www.nagios.com
>
>
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] macros

2010-08-25 Thread Jim Avery
On 25 August 2010 21:34, Cory Coager  wrote:
> I'm looking for macro names for check_period and contact_groups to be
> used in the action_url for a service.  I'm using version 3.2.0, can
> anyone help me out?


I can't see anything quite matching either of those in the documentation.

http://nagios.sourceforge.net/docs/3_0/macrolist.html

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] macros

2010-08-25 Thread Cory Coager
I'm looking for macro names for check_period and contact_groups to be 
used in the action_url for a service.  I'm using version 3.2.0, can 
anyone help me out?




The information contained in this communication is intended
only for the use of the recipient(s) named above. It may
contain information that is privileged or confidential, and
may be protected by State and/or Federal Regulations. If
the reader of this message is not the intended recipient,
you are hereby notified that any dissemination,
distribution, or copying of this communication, or any of
its contents, is strictly prohibited. If you have received
this communication in error, please return it to the sender
immediately and delete the original message and any copy
of it from your computer system. If you have any questions
concerning this message, please contact the sender.



--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Question about opmon agent

2010-08-25 Thread Dario B. Bestetti (OpServices)
www.opmon.org 

_ 
Dario B. Bestetti OpServices 
R. Félix da Cunha, 1009 - Sala 501 
Porto Alegre, RS - CEP 90570-001 
Fone 55(51)32753588 Mobile 55(51)81518218 
Fax 55(51)32753588 Email dario.beste...@opservices.com.br 

"Taking control has never been so easy" 
_ 


- "Andrew H. Kaplan"  escreveu: 




Hi there -- 

Is opmon agent still being developed for use with Nagios? If so, what is the 
download site for it? Thanks. 

The information in this e-mail is intended only for the person to whom it is 
addressed. If you believe this e-mail was sent to you in error and the e-mail 
contains patient information, please contact the Partners Compliance HelpLine 
at 
http://www.partners.org/complianceline . If the e-mail was sent to you in error 
but does not contain patient information, please contact the sender and 
properly 
dispose of the e-mail. 

-- 
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program 
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future. 
http://p.sf.net/sfu/intel-atom-d2d 
___ 
Nagios-users mailing list 
Nagios-users@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 
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] Question about opmon agent

2010-08-25 Thread Kaplan, Andrew H.
Hi there --

Is opmon agent still being developed for use with Nagios? If so, what is the
download site for it? Thanks.


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser

2010-08-25 Thread Alex Dehaini
Yep;

The importance of reading the docs, :)

On Wed, Aug 25, 2010 at 12:28 PM, Dorfman, Justin  wrote:

> I would sugest that you check that you've created the nagios user and group
> as following the output of your command *ls -la /usr/local/nagios/var/
> *nagios should run under nagios user and nagios group.
>
>
> if you did edit your nagios.cfg
>  Code:
>
> vi /usr/local/nagios/etc/nagios.cfg
>
> and change the nagios_user and nagios_group to nagios
>  Code:
>
> nagios_user=nagios
> nagios_group=nagios
>
> save it and try to restart nagios again.
>
> via -
> http://www.linuxquestions.org/questions/linux-software-2/any-nagios-gurus-820989/page2.html#post4040536
>
>
> 
> Regards,
>
> Justin Dorfman
> Mahalo.com Inc. > Jr. Systems Engineer
> 818.485.1458
>
> @jdorfman  | 
> @MahaloSysops| Blog:
> http://bit.ly/aNiWSk
>
>
>   On Wed, Aug 25, 2010 at 10:15 AM, Ifeanyi Agu wrote:
>
>>   Hello Alex,
>>
>> I have the changed the owner and group of the file to nagios but I still
>> get the same error in nagios.log file when I try to start nagios. I tried
>> this when logged in as the root user. I then logged in as nagios user and I
>> could not even start apache or nagios. It was telling me that service is not
>> a command it recognises. Please, please, please help me. Am running outta
>> time
>>
>> Ifeanyi Agu
>> 08063728802
>>
>> --- On *Wed, 25/8/10, Alex Dehaini * wrote:
>>
>>
>> From: Alex Dehaini 
>>
>> Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to
>> access Nagios on the browser
>> To: "Nagios Users List" 
>> Date: Wednesday, 25 August, 2010, 5:48 PM
>>
>>
>> Permission issue - have nagios user and group own the file; heck the
>> entire directory, :)
>>
>> On Wed, Aug 25, 2010 at 11:42 AM, Ifeanyi Agu 
>> http://mc/compose?to=ifepet2...@yahoo.com>
>> > wrote:
>>
>>   Hello Jim,
>>
>> I used that command to test and there are 0 warnings and o errors. I also
>> checked my Nagios log and this is what I got
>>
>> [1282635168] Nagios 3.2.1 starting... (PID=4250)
>> [1282635168] Local time is Tue Aug 24 08:32:48 WAT 2010
>> [1282635168] LOG VERSION: 2.0
>> [1282635168] Warning: Could not open object cache file
>> '/usr/local/nagios/var/objects.cache' for writing!
>> [1282635168] Failed to obtain lock on file
>> /usr/local/nagios/var/nagios.lock: Permission denied
>> [1282635168] Bailing out due to errors encountered while attempting to
>> daemonize... (PID=4250)
>>
>> Please do you know why am not able to write to the file?
>>
>> Thanks a lot for the support so far
>>
>>
>> Ifeanyi Agu
>> 08063728802
>>
>> --- On *Wed, 25/8/10, Jim Avery 
>> http://mc/compose?to=...@jimavery.me.uk>
>> >* wrote:
>>
>>
>> From: Jim Avery http://mc/compose?to=...@jimavery.me.uk>
>> >
>> Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to
>> access Nagios on the browser
>> To: "Nagios Users List" 
>> http://mc/compose?to=nagios-us...@lists.sourceforge.net>
>> >
>> Date: Wednesday, 25 August, 2010, 5:29 PM
>>
>>
>> On 25 August 2010 14:55, Ifeanyi Agu 
>> http://mc/compose?to=ifepet2...@yahoo.com>>
>> wrote:
>> >
>> > Hello Jim,
>> >
>> > Thanks for the help so far. I disabled SELinux and I tried starting
>> Nagios again but I noticed that Nagios was not running. I am logged in as
>> the root user in the Linux. Could that be the problem why my Nagios is not
>> running?
>>
>> I wouldn't have thought that would be the problem, no.
>>
>> Take a look at the nagios log file which is probably
>> /usr/local/nagios/var/nagios.log
>>
>> Don't forget my earlier recommendation to validate the Nagios config like
>> so:
>>
>> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
>>
>> Did you try that, and if so what did it say?
>>
>> Cheers,
>>
>> Jim
>>
>>
>> --
>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>> Be part of this innovative community and reach millions of netbook users
>> worldwide. Take advantage of special opportunities to increase revenue and
>>
>> speed time-to-market. Join now, and jumpstart your future.
>> http://p.sf.net/sfu/intel-atom-d2d
>> ___
>> Nagios-users mailing list
>> Nagios-users@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
>>
>>
>>
>>
>> --
>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>> Be part of this innovative community and reach millions of netbook users
>> worldwide. Take a

Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser

2010-08-25 Thread Dorfman, Justin
I would sugest that you check that you've created the nagios user and group
as following the output of your command *ls -la /usr/local/nagios/var/
*nagios should run under nagios user and nagios group.


if you did edit your nagios.cfg
Code:

vi /usr/local/nagios/etc/nagios.cfg

and change the nagios_user and nagios_group to nagios
Code:

nagios_user=nagios
nagios_group=nagios

save it and try to restart nagios again.

via -
http://www.linuxquestions.org/questions/linux-software-2/any-nagios-gurus-820989/page2.html#post4040536


Regards,

Justin Dorfman
Mahalo.com Inc. > Jr. Systems Engineer
818.485.1458
@jdorfman  |
@MahaloSysops| Blog:
http://bit.ly/aNiWSk


On Wed, Aug 25, 2010 at 10:15 AM, Ifeanyi Agu  wrote:

> Hello Alex,
>
> I have the changed the owner and group of the file to nagios but I still
> get the same error in nagios.log file when I try to start nagios. I tried
> this when logged in as the root user. I then logged in as nagios user and I
> could not even start apache or nagios. It was telling me that service is not
> a command it recognises. Please, please, please help me. Am running outta
> time
>
> Ifeanyi Agu
> 08063728802
>
> --- On *Wed, 25/8/10, Alex Dehaini * wrote:
>
>
> From: Alex Dehaini 
>
> Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to
> access Nagios on the browser
> To: "Nagios Users List" 
> Date: Wednesday, 25 August, 2010, 5:48 PM
>
>
> Permission issue - have nagios user and group own the file; heck the entire
> directory, :)
>
> On Wed, Aug 25, 2010 at 11:42 AM, Ifeanyi Agu 
> http://mc/compose?to=ifepet2...@yahoo.com>
> > wrote:
>
>   Hello Jim,
>
> I used that command to test and there are 0 warnings and o errors. I also
> checked my Nagios log and this is what I got
>
> [1282635168] Nagios 3.2.1 starting... (PID=4250)
> [1282635168] Local time is Tue Aug 24 08:32:48 WAT 2010
> [1282635168] LOG VERSION: 2.0
> [1282635168] Warning: Could not open object cache file
> '/usr/local/nagios/var/objects.cache' for writing!
> [1282635168] Failed to obtain lock on file
> /usr/local/nagios/var/nagios.lock: Permission denied
> [1282635168] Bailing out due to errors encountered while attempting to
> daemonize... (PID=4250)
>
> Please do you know why am not able to write to the file?
>
> Thanks a lot for the support so far
>
>
> Ifeanyi Agu
> 08063728802
>
> --- On *Wed, 25/8/10, Jim Avery 
> http://mc/compose?to=...@jimavery.me.uk>
> >* wrote:
>
>
> From: Jim Avery http://mc/compose?to=...@jimavery.me.uk>
> >
> Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to
> access Nagios on the browser
> To: "Nagios Users List" 
> http://mc/compose?to=nagios-us...@lists.sourceforge.net>
> >
> Date: Wednesday, 25 August, 2010, 5:29 PM
>
>
> On 25 August 2010 14:55, Ifeanyi Agu 
> http://mc/compose?to=ifepet2...@yahoo.com>>
> wrote:
> >
> > Hello Jim,
> >
> > Thanks for the help so far. I disabled SELinux and I tried starting
> Nagios again but I noticed that Nagios was not running. I am logged in as
> the root user in the Linux. Could that be the problem why my Nagios is not
> running?
>
> I wouldn't have thought that would be the problem, no.
>
> Take a look at the nagios log file which is probably
> /usr/local/nagios/var/nagios.log
>
> Don't forget my earlier recommendation to validate the Nagios config like
> so:
>
> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
>
> Did you try that, and if so what did it say?
>
> Cheers,
>
> Jim
>
>
> --
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> ___
> Nagios-users mailing list
> Nagios-users@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
>
>
>
>
> --
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net

Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser

2010-08-25 Thread Alex Dehaini
@justin,

Sorry, :)

On Wed, Aug 25, 2010 at 12:17 PM, Dorfman, Justin  wrote:

> @alex You stole my answer! ;)
>
> But just in case, @Ifeanyi
>
> # chown -R nagios:nagios /usr/local/nagios/
>
>
> Regards,
>
> Justin Dorfman
> Mahalo.com Inc. > Jr. Systems Engineer
> @jdorfman  | 
> @MahaloSysops| Blog:
> http://bit.ly/aNiWSk
>
>
>
> On Wed, Aug 25, 2010 at 9:48 AM, Alex Dehaini wrote:
>
>> Permission issue - have nagios user and group own the file; heck the
>> entire directory, :)
>>
>>
>> On Wed, Aug 25, 2010 at 11:42 AM, Ifeanyi Agu wrote:
>>
>>>   Hello Jim,
>>>
>>> I used that command to test and there are 0 warnings and o errors. I also
>>> checked my Nagios log and this is what I got
>>>
>>> [1282635168] Nagios 3.2.1 starting... (PID=4250)
>>> [1282635168] Local time is Tue Aug 24 08:32:48 WAT 2010
>>> [1282635168] LOG VERSION: 2.0
>>> [1282635168] Warning: Could not open object cache file
>>> '/usr/local/nagios/var/objects.cache' for writing!
>>> [1282635168] Failed to obtain lock on file
>>> /usr/local/nagios/var/nagios.lock: Permission denied
>>> [1282635168] Bailing out due to errors encountered while attempting to
>>> daemonize... (PID=4250)
>>>
>>> Please do you know why am not able to write to the file?
>>>
>>> Thanks a lot for the support so far
>>>
>>>
>>> Ifeanyi Agu
>>> 08063728802
>>>
>>> --- On *Wed, 25/8/10, Jim Avery * wrote:
>>>
>>>
>>> From: Jim Avery 
>>> Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to
>>> access Nagios on the browser
>>> To: "Nagios Users List" 
>>> Date: Wednesday, 25 August, 2010, 5:29 PM
>>>
>>>
>>> On 25 August 2010 14:55, Ifeanyi Agu 
>>> http://mc/compose?to=ifepet2...@yahoo.com>>
>>> wrote:
>>> >
>>> > Hello Jim,
>>> >
>>> > Thanks for the help so far. I disabled SELinux and I tried starting
>>> Nagios again but I noticed that Nagios was not running. I am logged in as
>>> the root user in the Linux. Could that be the problem why my Nagios is not
>>> running?
>>>
>>> I wouldn't have thought that would be the problem, no.
>>>
>>> Take a look at the nagios log file which is probably
>>> /usr/local/nagios/var/nagios.log
>>>
>>> Don't forget my earlier recommendation to validate the Nagios config like
>>> so:
>>>
>>>   /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
>>>
>>> Did you try that, and if so what did it say?
>>>
>>> Cheers,
>>>
>>> Jim
>>>
>>>
>>> --
>>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>>> Be part of this innovative community and reach millions of netbook users
>>> worldwide. Take advantage of special opportunities to increase revenue
>>> and
>>> speed time-to-market. Join now, and jumpstart your future.
>>> http://p.sf.net/sfu/intel-atom-d2d
>>> ___
>>> Nagios-users mailing list
>>> Nagios-users@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
>>>
>>>
>>>
>>>
>>> --
>>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>>> Be part of this innovative community and reach millions of netbook users
>>> worldwide. Take advantage of special opportunities to increase revenue
>>> and
>>> speed time-to-market. Join now, and jumpstart your future.
>>> http://p.sf.net/sfu/intel-atom-d2d
>>> ___
>>> Nagios-users mailing list
>>> Nagios-users@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
>>>
>>
>>
>>
>> --
>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>> Be part of this innovative community and reach millions of netbook users
>> worldwide. Take advantage of special opportunities to increase revenue and
>> speed time-to-market. Join now, and jumpstart your future.
>> http://p.sf.net/sfu/intel-atom-d2d
>> ___
>> Nagios-users mailing list
>> Nagios-users@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
>>
>
>
>
> --
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>

Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser

2010-08-25 Thread Alex Dehaini
Hi Ifeanyi,

The issue points to a permission issue - how did you install nagios? Did you
compile it or you used a package manager to install. What environment are
you using? Redhat - Centos? What version of nagios did you install/

Alex

On Wed, Aug 25, 2010 at 12:15 PM, Ifeanyi Agu  wrote:

>   Hello Alex,
>
> I have the changed the owner and group of the file to nagios but I still
> get the same error in nagios.log file when I try to start nagios. I tried
> this when logged in as the root user. I then logged in as nagios user and I
> could not even start apache or nagios. It was telling me that service is not
> a command it recognises. Please, please, please help me. Am running outta
> time
>
> Ifeanyi Agu
> 08063728802
>
> --- On *Wed, 25/8/10, Alex Dehaini * wrote:
>
>
> From: Alex Dehaini 
>
> Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to
> access Nagios on the browser
> To: "Nagios Users List" 
> Date: Wednesday, 25 August, 2010, 5:48 PM
>
>
> Permission issue - have nagios user and group own the file; heck the entire
> directory, :)
>
> On Wed, Aug 25, 2010 at 11:42 AM, Ifeanyi Agu 
> http://mc/compose?to=ifepet2...@yahoo.com>
> > wrote:
>
>   Hello Jim,
>
> I used that command to test and there are 0 warnings and o errors. I also
> checked my Nagios log and this is what I got
>
> [1282635168] Nagios 3.2.1 starting... (PID=4250)
> [1282635168] Local time is Tue Aug 24 08:32:48 WAT 2010
> [1282635168] LOG VERSION: 2.0
> [1282635168] Warning: Could not open object cache file
> '/usr/local/nagios/var/objects.cache' for writing!
> [1282635168] Failed to obtain lock on file
> /usr/local/nagios/var/nagios.lock: Permission denied
> [1282635168] Bailing out due to errors encountered while attempting to
> daemonize... (PID=4250)
>
> Please do you know why am not able to write to the file?
>
> Thanks a lot for the support so far
>
>
> Ifeanyi Agu
> 08063728802
>
> --- On *Wed, 25/8/10, Jim Avery 
> http://mc/compose?to=...@jimavery.me.uk>
> >* wrote:
>
>
> From: Jim Avery http://mc/compose?to=...@jimavery.me.uk>
> >
> Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to
> access Nagios on the browser
> To: "Nagios Users List" 
> http://mc/compose?to=nagios-us...@lists.sourceforge.net>
> >
> Date: Wednesday, 25 August, 2010, 5:29 PM
>
>
> On 25 August 2010 14:55, Ifeanyi Agu 
> http://mc/compose?to=ifepet2...@yahoo.com>>
> wrote:
> >
> > Hello Jim,
> >
> > Thanks for the help so far. I disabled SELinux and I tried starting
> Nagios again but I noticed that Nagios was not running. I am logged in as
> the root user in the Linux. Could that be the problem why my Nagios is not
> running?
>
> I wouldn't have thought that would be the problem, no.
>
> Take a look at the nagios log file which is probably
> /usr/local/nagios/var/nagios.log
>
> Don't forget my earlier recommendation to validate the Nagios config like
> so:
>
> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
>
> Did you try that, and if so what did it say?
>
> Cheers,
>
> Jim
>
>
> --
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> ___
> Nagios-users mailing list
> Nagios-users@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
>
>
>
>
> --
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> ___
> Nagios-users mailing list
> Nagios-users@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
>
>
>
> -Inline Attachment Follows-
>
>
>
> --
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to inc

Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser

2010-08-25 Thread Dorfman, Justin
@alex You stole my answer! ;)

But just in case, @Ifeanyi

# chown -R nagios:nagios /usr/local/nagios/


Regards,

Justin Dorfman
Mahalo.com Inc. > Jr. Systems Engineer
@jdorfman  |
@MahaloSysops| Blog:
http://bit.ly/aNiWSk


On Wed, Aug 25, 2010 at 9:48 AM, Alex Dehaini  wrote:

> Permission issue - have nagios user and group own the file; heck the entire
> directory, :)
>
>
> On Wed, Aug 25, 2010 at 11:42 AM, Ifeanyi Agu wrote:
>
>>   Hello Jim,
>>
>> I used that command to test and there are 0 warnings and o errors. I also
>> checked my Nagios log and this is what I got
>>
>> [1282635168] Nagios 3.2.1 starting... (PID=4250)
>> [1282635168] Local time is Tue Aug 24 08:32:48 WAT 2010
>> [1282635168] LOG VERSION: 2.0
>> [1282635168] Warning: Could not open object cache file
>> '/usr/local/nagios/var/objects.cache' for writing!
>> [1282635168] Failed to obtain lock on file
>> /usr/local/nagios/var/nagios.lock: Permission denied
>> [1282635168] Bailing out due to errors encountered while attempting to
>> daemonize... (PID=4250)
>>
>> Please do you know why am not able to write to the file?
>>
>> Thanks a lot for the support so far
>>
>>
>> Ifeanyi Agu
>> 08063728802
>>
>> --- On *Wed, 25/8/10, Jim Avery * wrote:
>>
>>
>> From: Jim Avery 
>> Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to
>> access Nagios on the browser
>> To: "Nagios Users List" 
>> Date: Wednesday, 25 August, 2010, 5:29 PM
>>
>>
>> On 25 August 2010 14:55, Ifeanyi Agu 
>> http://mc/compose?to=ifepet2...@yahoo.com>>
>> wrote:
>> >
>> > Hello Jim,
>> >
>> > Thanks for the help so far. I disabled SELinux and I tried starting
>> Nagios again but I noticed that Nagios was not running. I am logged in as
>> the root user in the Linux. Could that be the problem why my Nagios is not
>> running?
>>
>> I wouldn't have thought that would be the problem, no.
>>
>> Take a look at the nagios log file which is probably
>> /usr/local/nagios/var/nagios.log
>>
>> Don't forget my earlier recommendation to validate the Nagios config like
>> so:
>>
>>   /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
>>
>> Did you try that, and if so what did it say?
>>
>> Cheers,
>>
>> Jim
>>
>>
>> --
>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>> Be part of this innovative community and reach millions of netbook users
>> worldwide. Take advantage of special opportunities to increase revenue and
>>
>> speed time-to-market. Join now, and jumpstart your future.
>> http://p.sf.net/sfu/intel-atom-d2d
>> ___
>> Nagios-users mailing list
>> Nagios-users@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
>>
>>
>>
>>
>> --
>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>> Be part of this innovative community and reach millions of netbook users
>> worldwide. Take advantage of special opportunities to increase revenue and
>> speed time-to-market. Join now, and jumpstart your future.
>> http://p.sf.net/sfu/intel-atom-d2d
>> ___
>> Nagios-users mailing list
>> Nagios-users@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
>>
>
>
>
> --
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> ___
> Nagios-users mailing list
> Nagios-users@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
>
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d

Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser

2010-08-25 Thread Ifeanyi Agu
Hello Alex,

I have the changed the owner and group of the file to nagios but I still get 
the same error in nagios.log file when I try to start nagios. I tried this when 
logged in as the root user. I then logged in as nagios user and I could not 
even start apache or nagios. It was telling me that service is not a command it 
recognises. Please, please, please help me. Am running outta time

Ifeanyi Agu

08063728802

--- On Wed, 25/8/10, Alex Dehaini  wrote:

From: Alex Dehaini 
Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to 
access Nagios on the browser
To: "Nagios Users List" 
Date: Wednesday, 25 August, 2010, 5:48 PM

Permission issue - have nagios user and group own the file; heck the entire 
directory, :)


On Wed, Aug 25, 2010 at 11:42 AM, Ifeanyi Agu  wrote:





Hello Jim,

I used that command to test and there are 0 warnings and o errors. I also 
checked my Nagios log and this is what I got

[1282635168] Nagios 3.2.1 starting... (PID=4250)
[1282635168] Local time is Tue Aug 24 08:32:48 WAT 2010

[1282635168] LOG VERSION: 2.0
[1282635168] Warning: Could not open object cache file 
'/usr/local/nagios/var/objects.cache' for writing!
[1282635168] Failed to obtain lock on file /usr/local/nagios/var/nagios.lock: 
Permission denied

[1282635168] Bailing out due to errors encountered while attempting to 
daemonize... (PID=4250)

Please do you know why am not able to write to the file?

Thanks a lot for the support so far 


Ifeanyi Agu
08063728802

--- On Wed, 25/8/10, Jim Avery  wrote:



From: Jim Avery 
Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to 
access Nagios on the browser

To: "Nagios Users List" 
Date: Wednesday, 25 August, 2010, 5:29 PM 





On 25 August 2010 14:55, Ifeanyi Agu  wrote:
>
> Hello Jim,
>
> Thanks for the help so far. I disabled SELinux and I tried starting Nagios 
> again but I noticed that Nagios was not running. I am logged in as the root 
> user in the Linux. Could that be the problem why my Nagios is not running?


I wouldn't have thought that would be the problem, no.

Take a look at the nagios log file which is probably
/usr/local/nagios/var/nagios.log

Don't forget my earlier recommendation to validate the Nagios config like so:


  /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Did you try that, and if so what did it say?

Cheers,

Jim

--

Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 

speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Nagios-users mailing list

Nagios-users@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



--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users

worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d

___
Nagios-users mailing list
Nagios-users@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



-Inline Attachment Follows-

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
-Inline Attachment Follows-

___
Nagios-users mailing list
Nagios-users@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

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http

Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser

2010-08-25 Thread Alex Dehaini
Permission issue - have nagios user and group own the file; heck the entire
directory, :)

On Wed, Aug 25, 2010 at 11:42 AM, Ifeanyi Agu  wrote:

>   Hello Jim,
>
> I used that command to test and there are 0 warnings and o errors. I also
> checked my Nagios log and this is what I got
>
> [1282635168] Nagios 3.2.1 starting... (PID=4250)
> [1282635168] Local time is Tue Aug 24 08:32:48 WAT 2010
> [1282635168] LOG VERSION: 2.0
> [1282635168] Warning: Could not open object cache file
> '/usr/local/nagios/var/objects.cache' for writing!
> [1282635168] Failed to obtain lock on file
> /usr/local/nagios/var/nagios.lock: Permission denied
> [1282635168] Bailing out due to errors encountered while attempting to
> daemonize... (PID=4250)
>
> Please do you know why am not able to write to the file?
>
> Thanks a lot for the support so far
>
>
> Ifeanyi Agu
> 08063728802
>
> --- On *Wed, 25/8/10, Jim Avery * wrote:
>
>
> From: Jim Avery 
> Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to
> access Nagios on the browser
> To: "Nagios Users List" 
> Date: Wednesday, 25 August, 2010, 5:29 PM
>
>
> On 25 August 2010 14:55, Ifeanyi Agu 
> http://mc/compose?to=ifepet2...@yahoo.com>>
> wrote:
> >
> > Hello Jim,
> >
> > Thanks for the help so far. I disabled SELinux and I tried starting
> Nagios again but I noticed that Nagios was not running. I am logged in as
> the root user in the Linux. Could that be the problem why my Nagios is not
> running?
>
> I wouldn't have thought that would be the problem, no.
>
> Take a look at the nagios log file which is probably
> /usr/local/nagios/var/nagios.log
>
> Don't forget my earlier recommendation to validate the Nagios config like
> so:
>
>   /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
>
> Did you try that, and if so what did it say?
>
> Cheers,
>
> Jim
>
>
> --
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> ___
> Nagios-users mailing list
> Nagios-users@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
>
>
>
>
> --
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> ___
> Nagios-users mailing list
> Nagios-users@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
>
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser

2010-08-25 Thread Alex Dehaini
Verifying the config should tell you what is wrong

 /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

On Wed, Aug 25, 2010 at 11:29 AM, Jim Avery  wrote:

> On 25 August 2010 14:55, Ifeanyi Agu  wrote:
> >
> > Hello Jim,
> >
> > Thanks for the help so far. I disabled SELinux and I tried starting
> Nagios again but I noticed that Nagios was not running. I am logged in as
> the root user in the Linux. Could that be the problem why my Nagios is not
> running?
>
> I wouldn't have thought that would be the problem, no.
>
> Take a look at the nagios log file which is probably
> /usr/local/nagios/var/nagios.log
>
> Don't forget my earlier recommendation to validate the Nagios config like
> so:
>
>  /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
>
> Did you try that, and if so what did it say?
>
> Cheers,
>
> Jim
>
>
> --
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> ___
> Nagios-users mailing list
> Nagios-users@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
>
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser

2010-08-25 Thread Ifeanyi Agu
Hello Jim,

I used that command to test and there are 0 warnings and o errors. I also 
checked my Nagios log and this is what I got

[1282635168] Nagios 3.2.1 starting... (PID=4250)
[1282635168] Local time is Tue Aug 24 08:32:48 WAT 2010
[1282635168] LOG VERSION: 2.0
[1282635168] Warning: Could not open object cache file 
'/usr/local/nagios/var/objects.cache' for writing!
[1282635168] Failed to obtain lock on file /usr/local/nagios/var/nagios.lock: 
Permission denied
[1282635168] Bailing out due to errors encountered while attempting to 
daemonize... (PID=4250)

Please do you know why am not able to write to the file?

Thanks a lot for the support so far

Ifeanyi Agu

08063728802

--- On Wed, 25/8/10, Jim Avery  wrote:

From: Jim Avery 
Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to 
access Nagios on the browser
To: "Nagios Users List" 
Date: Wednesday, 25 August, 2010, 5:29 PM

On 25 August 2010 14:55, Ifeanyi Agu  wrote:
>
> Hello Jim,
>
> Thanks for the help so far. I disabled SELinux and I tried starting Nagios 
> again but I noticed that Nagios was not running. I am logged in as the root 
> user in the Linux. Could that be the problem why my Nagios is not running?

I wouldn't have thought that would be the problem, no.

Take a look at the nagios log file which is probably
/usr/local/nagios/var/nagios.log

Don't forget my earlier recommendation to validate the Nagios config like so:

  /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Did you try that, and if so what did it say?

Cheers,

Jim

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Nagios-users mailing list
Nagios-users@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


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser

2010-08-25 Thread Jim Avery
On 25 August 2010 14:55, Ifeanyi Agu  wrote:
>
> Hello Jim,
>
> Thanks for the help so far. I disabled SELinux and I tried starting Nagios 
> again but I noticed that Nagios was not running. I am logged in as the root 
> user in the Linux. Could that be the problem why my Nagios is not running?

I wouldn't have thought that would be the problem, no.

Take a look at the nagios log file which is probably
/usr/local/nagios/var/nagios.log

Don't forget my earlier recommendation to validate the Nagios config like so:

  /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Did you try that, and if so what did it say?

Cheers,

Jim

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser

2010-08-25 Thread Ifeanyi Agu
Hello Jim,

Thanks for the help so far. I disabled SELinux and I tried starting Nagios 
again but I noticed that Nagios was not running. I am logged in as the root 
user in the Linux. Could that be the problem why my Nagios is not running?

Ifeanyi Agu

08063728802

--- On Wed, 25/8/10, Jim Avery  wrote:

From: Jim Avery 
Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to 
access Nagios on the browser
To: "Nagios Users List" 
Date: Wednesday, 25 August, 2010, 12:47 PM

On 25 August 2010 12:22, Ifeanyi Agu  wrote:
>
> Hello Jim,
>
> I used this link (http://www.kernelhardware.org/install-nagios-on-centos-5/) 
> to install my Nagios. I did all that you said while installing. I ran this 
> command ps -ef | grep nagios and I saw an output

What output did you see?

> but I did not see anything that shows me whether Nagios Daemon is running or 
> not. How do I know?

You should see the nagios process(es) listed (possibly along with the
grep process which is part of the command you just ran)  something
like this:

nagios     401     1 23 Aug13 ?        2-18:48:18
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios   17576   401  0 12:42 ?        00:00:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios   17650   401  0 12:42 ?        00:00:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios   17725   401  1 12:42 ?        00:00:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios   17728   401  1 12:42 ?        00:00:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
mylogin   17746   526  0 12:42 pts/0    00:00:00 grep nagios

Looking at the comments on the web page where you got the instructions
from, it also seems likely that SELINUX is enabled on your Centos
linux OS.  Personally I would disable it as it's a right pain to
manage otherwise.  I don't run RedHat or Centos myself so can't tell
you how to do that.

Please can I also ask you to send your emails to this list in plain
text?  The formatting can be a bit tricky to work with when quoting
back a reply.

Cheers,

Jim

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Nagios-users mailing list
Nagios-users@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


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser

2010-08-25 Thread Jim Avery
On 25 August 2010 12:22, Ifeanyi Agu  wrote:
>
> Hello Jim,
>
> I used this link (http://www.kernelhardware.org/install-nagios-on-centos-5/) 
> to install my Nagios. I did all that you said while installing. I ran this 
> command ps -ef | grep nagios and I saw an output

What output did you see?

> but I did not see anything that shows me whether Nagios Daemon is running or 
> not. How do I know?

You should see the nagios process(es) listed (possibly along with the
grep process which is part of the command you just ran)  something
like this:

nagios 401 1 23 Aug13 ?2-18:48:18
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios   17576   401  0 12:42 ?00:00:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios   17650   401  0 12:42 ?00:00:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios   17725   401  1 12:42 ?00:00:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios   17728   401  1 12:42 ?00:00:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
mylogin   17746   526  0 12:42 pts/000:00:00 grep nagios

Looking at the comments on the web page where you got the instructions
from, it also seems likely that SELINUX is enabled on your Centos
linux OS.  Personally I would disable it as it's a right pain to
manage otherwise.  I don't run RedHat or Centos myself so can't tell
you how to do that.

Please can I also ask you to send your emails to this list in plain
text?  The formatting can be a bit tricky to work with when quoting
back a reply.

Cheers,

Jim

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser

2010-08-25 Thread Ifeanyi Agu
Hello Jim,

I used this link (http://www.kernelhardware.org/install-nagios-on-centos-5/) to 
install my Nagios. I did all that you said while installing. I ran this command 
  ps -ef | grep nagios and I saw an output but I did not see anything that 
shows me whether Nagios Daemon is running or not. How do I know?

Ifeanyi Agu

08063728802

--- On Tue, 24/8/10, Jim Avery  wrote:

From: Jim Avery 
Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to 
access Nagios on the browser
To: "Nagios Users List" 
Date: Tuesday, 24 August, 2010, 1:46 PM

On 24 August 2010 08:37, Ifeanyi Agu  wrote:

Hello all,

I am new to Nagios. I just installed it and did all the necessary configuration 
but when I open it on my browser, I can only view the documentation. The other 
links I go keep showing me internal server error.


I checked the apache error logs and it was telling me that permission was 
denied when trying to access the cgi files that come with Nagios. Please what 
could be the problem?

Ifeanyi Agu

08063728802

Welcome!  I hope you enjoy using Nagios as much as I do.


A common reason for this problem is that the correct permissions are not 
applied.


When you compiled nagios, did you run "make install-webconf"?

After that you should have reloaded the Apache config.  The command for this 
might vary depending on what Linux distribution you are using.  As an example, 
on Ubuntu it is..


  /etc/init.d/apache2 reload

Another problem can be that the Nagios daemon is not running.  If you enter:

  ps -ef | grep nagios

does this show the daemon running?

It is also a good idea to check your nagios config before starting the Nagios 
daemon.  You do this by entering:


/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

(you might need to alter those if you installed in a different location).  If 
the verification fails, you will need to fix whatever the problems are in your 
config before continuing.


Which version of Linux are you using, and which instructions did you follow 
when installing Nagios?  Nagios can be installed in lots of different ways so 
it will help to know which one you were working to.

Cheers,


Jim
 


-Inline Attachment Follows-

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
-Inline Attachment Follows-

___
Nagios-users mailing list
Nagios-users@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

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Nagios-users mailing list
Nagios-users@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