Re: [Nagios-users] $HOME is not set correctly for plug-ins

2010-11-25 Thread Andreas Ericsson
On 11/25/2010 09:18 PM, Alexander Haas wrote: > On 25.11.2010 11:39, Andreas Ericsson wrote: >> On 11/25/2010 12:12 AM, Alexander Haas wrote: >>> I think it's Nagois >>> doing some kind of su in its internals which causes my plug-in to get a >>> wrong $HOME inherited. The bad behavior only occurs w

Re: [Nagios-users] Problem with External Commands and Nagios 3

2010-11-25 Thread Flyinvap
Le 25/11/2010 21:29, Maxime Alarie a écrit : > Any help would be apreciated. You're web server can't access /var/lib/nagios3/rw/nagios.cmd. Change permissions on the file and directory. You're web server have to write in this file. Read the doc Luke [0] or [1]. [0] http://nagios.sourceforg

Re: [Nagios-users] No output returned from plugin

2010-11-25 Thread Stuart Browne
> > Perhaps you'd like to run the plugin (as nagios) when it is erroring > > and show us the output? > > I was just about to ask the same question, when this thread appeared. I > have exactly the same problem. In my case it is a Python script. The > output is fine for the OK state, but missing for

Re: [Nagios-users] Problem with External Commands and Nagios 3

2010-11-25 Thread Maxime Alarie
Thanks for the reply, the problem I had was due to a bug. It is now fixed. -Original Message- From: Assaf Flatto [mailto:nag...@flatto.net] Sent: 25 November 2010 17:02 To: Nagios Users List Subject: Re: [Nagios-users] Problem with External Commands and Nagios 3 Hello and Welcome .

Re: [Nagios-users] Problem with External Commands and Nagios 3

2010-11-25 Thread Assaf Flatto
Hello and Welcome . first advice - start here http://nagios.sourceforge.net/docs/3_0/beginners.html And then try this one : http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html these should get you started. Assaf Maxime Alarie wrote: > Good day, > > This is my 1^st post, an

[Nagios-users] Problem with External Commands and Nagios 3

2010-11-25 Thread Maxime Alarie
Good day, This is my 1st post, and I am also new to nagios. I have installed Nagios3 on a Ubuntu Server VM, and I am learning it. I have installed Nagios3, a with the nsclient on my own Windows laptop as well. I can see my laptop is UP on the Nagios3's web inrterface, but that's ab

Re: [Nagios-users] $HOME is not set correctly for plug-ins

2010-11-25 Thread Alexander Haas
On 25.11.2010 11:39, Andreas Ericsson wrote: > On 11/25/2010 12:12 AM, Alexander Haas wrote: >> I think it's Nagois >> doing some kind of su in its internals which causes my plug-in to get a >> wrong $HOME inherited. The bad behavior only occurs when executed by the >> actual Nagios setup. > Nagios

[Nagios-users] Differences of certain parameters set in Nagios.cfg

2010-11-25 Thread Deborah Martin
Folks, I'm running nagios 3.2.2 on SLES 10 SP2 # HOST AND SERVICE PERFORMANCE DATA PROCESSING COMMANDS # These commands are run after every host and service check is # performed. These commands are executed only if the # enable_performance_data option (above) is set to 1. The command # argume

[Nagios-users] RES: RES: CHECK_SVN

2010-11-25 Thread Luis Gustavo de Andrade Jordão Carneiro
I dont understand whats hapened. With user nagios work. Luis Gustavo de A. J. Carneiro -Mensagem original- De: Luis Gustavo de Andrade Jordão Carneiro [mailto:luis.carne...@compsisnet.com.br] Enviada em: segunda-feira, 22 de novembro de 2010 08:20 Para: 'Nagios Users List' Assunto: [N

Re: [Nagios-users] $HOME is not set correctly for plug-ins

2010-11-25 Thread Andreas Ericsson
On 11/25/2010 12:12 AM, Alexander Haas wrote: > Hi Jon, > > thank you for getting back on me. Of course I did do a su - nagios for > my tests. I fact all my console tests run fine. I think it's Nagois > doing some kind of su in its internals which causes my plug-in to get a > wrong $HOME inheri

Re: [Nagios-users] No output returned from plugin

2010-11-25 Thread Marius Roets
Hi everybody, On Thu, Nov 25, 2010 at 12:04 AM, Stuart Browne < stuart.bro...@ausregistry.com.au> wrote: > > -Original Message- > > From: Alexander Haas [mailto:a...@geloet.de] > > Subject: [Nagios-users] No output returned from plugin > > > > Hi list, > > > > it's me again :) > > > > I w