Re: [Nagios-users] Help with installation past the first host/switch/service

2009-04-02 Thread John BORIS
Jim, Thanks. I finally figured it out with trial and error. I will track down the book. >>> Jim Avery 04/02/09 3:45 PM >>> 2009/4/2 John BORIS : > I have nagios 3.x setup and installed on Fedora 10. Works fine but I > only have 1 server, 1 switch, 1 printer, 1 windows server setup. How do > you

[Nagios-users] Essential parameter to a big network with big problems

2009-04-02 Thread renatokrause
Good night, Today in the afternoon launched a thread on this list with the title: Each switch in the .cfg file. Was great pressure at work and just jumping some steps that I want to correct now. My name is Renato Krause and I have 26 years. I live in Porto Alegre, Rio Grande do Sul, Brazil

Re: [Nagios-users] Help please - test works fine EXCEPT over NRPE???

2009-04-02 Thread jmoseley
So, you're stating that you've got other nrpe checks working fine on the clients and that nrpe is running under xinetd? If not, try running nrpe as a standalone daemon. Next step, open the log files and check_logs.pl script to the user nobody so you avoid have to run the script under a sudo call

Re: [Nagios-users] Help please - test works fine EXCEPT over NRPE???

2009-04-02 Thread Andrew Davis
I did that as a test and removed the entry later. I haven't created a nagios user for any of the NRPE clients. I'll try doing that... A. Davis Email: ncc...@gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan John Stile

Re: [Nagios-users] Help please - test works fine EXCEPT over NRPE???

2009-04-02 Thread Andrew Davis
I've checked /etc/sudoers, /etc/nagios/nrpe.cfg, /etc/xinetd.d/nrpe, and the script itself (/usr/local/nagios/libexec/check_logs.pl) and none have any "tty" strings in them for me to comment out. A. Davis Email: ncc...@gmail.com "There is no limit to what a man can accomplish if he d

Re: [Nagios-users] NRPE Issue

2009-04-02 Thread Marc Powell
On Apr 2, 2009, at 3:25 PM, Steve Shepherd wrote: > I'm trying to configure a service check via NRPE and having some > difficulty. > > From the monitoring server, I can successfully execute NRPE via CLI: > > [r...@mon01 etc]# /usr/local/nagios/libexec/check_nrpe -H > 10.140.122.51 -c check_pr

Re: [Nagios-users] Help please - test works fine EXCEPT over NRPE???

2009-04-02 Thread John Stile
Can you add a line to your /etc/xinetd.d/nrpe to run as a different user. Something like like: user = nagios-nrpe Next create that user in /etc/passwd, /etc/shadow, and /etc/group The user doesn't need a passwd set or a login shell. Next add the user to the groups needed to see the

Re: [Nagios-users] Help with installation past the first host/switch/service

2009-04-02 Thread Jim Avery
2009/4/2 John BORIS : > I have nagios 3.x setup and installed on Fedora 10. Works fine but I > only have 1 server, 1 switch, 1 printer, 1 windows server setup. How do > you add more of the same type? The instructions (all that I could find) > say "Do this for the first one" but then fall silent on

Re: [Nagios-users] Help - minor issue (host detail vs. service detail)

2009-04-02 Thread Marc Powell
On Apr 2, 2009, at 3:11 PM, Natalie Aloi wrote: > Hello, > > I am new to Nagios and this users list so forgive me if I am doing > this incorrectly > > I just recently added a bunch of new hosts to our nagios config > everthing seems to be working great :-) > > Except... > when I display the H

[Nagios-users] NRPE Issue

2009-04-02 Thread Steve Shepherd
I'm trying to configure a service check via NRPE and having some difficulty. >From the monitoring server, I can successfully execute NRPE via CLI: [r...@mon01 etc]# /usr/local/nagios/libexec/check_nrpe -H 10.140.122.51 -c check_prov FILE_AGE OK: /var/log/prov.log is 4 seconds old and 8033817 byte

[Nagios-users] NRPE Issue

2009-04-02 Thread Steve Shepherd
I'm trying to configure a service check via NRPE and having some difficulty. >From the monitoring server, I can successfully execute NRPE via CLI: [r...@mon01 etc]# /usr/local/nagios/libexec/check_nrpe -H 10.140.122.51 -c check_prov FILE_AGE OK: /var/log/prov.log is 4 seconds old and 8033817 byte

Re: [Nagios-users] unable to use check_http with oracle applicationserver

2009-04-02 Thread Marc Powell
On Apr 2, 2009, at 2:51 PM, Alex Alexiou wrote: > Yeah I saw that, which is why I opened the ticket with Oracle. When I > remove the -S switch, it just reports that it gets no data back from > the > server. And I know for a fact it actually is using SSL. I don't > suppose > there's a known is

[Nagios-users] Help - minor issue (host detail vs. service detail)

2009-04-02 Thread Natalie Aloi
Hello, I am new to Nagios and this users list so forgive me if I am doing this incorrectly I just recently added a bunch of new hosts to our nagios config everthing seems to be working great :-) Except... when I display the Host Detail Page under the column Last Check it says NA and there is

Re: [Nagios-users] unable to use check_http with oracle applicationserver

2009-04-02 Thread Alex Alexiou
Yeah I saw that, which is why I opened the ticket with Oracle. When I remove the -S switch, it just reports that it gets no data back from the server. And I know for a fact it actually is using SSL. I don't suppose there's a known issue with SSLv3 and the check_http plugin? -Original Message--

Re: [Nagios-users] nagios 3.0.3 on FreeBSD defunct process

2009-04-02 Thread Jonathan Call
That sounds very familiar to the locking/contention issue FreeBSD 7.x has with Nagios 2.x. It has to do with how Nagios and FreeBSD handle threading. Unfortunately I don’t have any answers on how to fix it. I’ve had to leave my Nagios deployment on FreeBSD 6/Nagios 2 for the same reason: anythin

Re: [Nagios-users] Fwd: Each switch in a file .cfg

2009-04-02 Thread Patrick Morris
http://nagios.sourceforge.net/docs/3_0/configmain.html#cfg_dir On Thu, 02 Apr 2009, Renato Krause wrote: > Sorry, i forgot to sendo for the list. > Renato Krause > > > > > -- Forwarded message -- > From: Renato Krause > Date: Thu, Apr 2, 2009 at 15:35 > Subject: Re: [Nagios-u

[Nagios-users] Fwd: Each switch in a file .cfg

2009-04-02 Thread Renato Krause
Sorry, i forgot to sendo for the list. Renato Krause -- Forwarded message -- From: Renato Krause Date: Thu, Apr 2, 2009 at 15:35 Subject: Re: [Nagios-users] Each switch in a file .cfg To: Marc Powell Marc, first thank you for help me. I´m creating a script in python to gener

Re: [Nagios-users] Each switch in a file .cfg

2009-04-02 Thread Marc Powell
On Apr 2, 2009, at 1:02 PM, Renato Krause wrote: > I started one job with a NAGIOS at a big network. My first ideia was > monitoring all switchs on this network. > I put all switch configuration in the file: > /usr/local/nagios/etc/objects/switch.cfg > I hope that I can create configuration files

[Nagios-users] Each switch in a file .cfg

2009-04-02 Thread Renato Krause
I started one job with a NAGIOS at a big network. My first ideia was monitoring all switchs on this network. I put all switch configuration in the file: /usr/local/nagios/etc/objects/switch.cfg I hope that I can create configuration files to each switch, one file per switch, and make a reference t

[Nagios-users] Help with installation past the first host/switch/service

2009-04-02 Thread John BORIS
I have nagios 3.x setup and installed on Fedora 10. Works fine but I only have 1 server, 1 switch, 1 printer, 1 windows server setup. How do you add more of the same type? The instructions (all that I could find) say "Do this for the first one" but then fall silent on what to do with the second, th

Re: [Nagios-users] check_nrpe help with multipple argument

2009-04-02 Thread Marc Powell
On Apr 2, 2009, at 11:00 AM, shadih rahman wrote: > command[check_process_x64]=/usr/lib64/nagios/plugins/check_proc -w > $ARG1$ -c $ARG2$ -C $ARG3$ Do you mean 'check_procs'? -- Marc -- _

Re: [Nagios-users] unable to use check_http with oracle application server

2009-04-02 Thread Marc Powell
On Apr 2, 2009, at 8:28 AM, Alex Alexiou wrote: > On OAS, the error logs show this: > > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL call to NZ function > nzos_Handshake failed with error 28858 Google does have hits on this specific error message. It's about 2.5 years old but may be the

Re: [Nagios-users] check_nrpe help with multipple argument

2009-04-02 Thread Assaf Flatto
On Thursday 02 April 2009 17:00:22 shadih rahman wrote: > I am trying to execute a check_nrpe with multiple argument and it is not > working. I have the following definition in my nrpe.cfg > > command[check_users_x64]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 > command[check_load_x64]=/us

[Nagios-users] check_nrpe help with multipple argument

2009-04-02 Thread shadih rahman
I am trying to execute a check_nrpe with multiple argument and it is not working. I have the following definition in my nrpe.cfg command[check_users_x64]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_load_x64]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[ch

Re: [Nagios-users] unable to use check_http with oracle applicationserver

2009-04-02 Thread Alex Alexiou
Sure. I've removed the actual hostname, but the rest is the same: define command{ command_namecheck_oas command_line$USER1$/check_http -H -u /forms90/f90servlet?config=clientname -p 443 -S } -Original Message- From: Assaf Flatto [mailto:assaf.fla...@ssp-in

[Nagios-users] check_command instant feedback

2009-04-02 Thread Matt Nelson
Hello, I'd like to be able to run a check_command from the command line and have it return feedback immediately (versus a forced-check from the webui). Is this possible? The reason for this is that I'm trying to throw together a simple web interface and when the user clicks 'recheck' a window will

Re: [Nagios-users] unable to use check_http with oracle application server

2009-04-02 Thread Assaf Flatto
can you post your command syntax ? it will help knwoing how you are preforming the test . Assaf On Thursday 02 April 2009 14:28:47 Alex Alexiou wrote: > Hi everyone, > > > > I've been using the check_http plugin to scan websites hosted by Oracle > Application Server. We recently changed OAS to

Re: [Nagios-users] configure Nagios to monitor the temperature of the server room

2009-04-02 Thread jmoseley
benamar.moha...@free.fr wrote: >Hello, > >Thank you for your answer, but is it possible to monitor the temperature of the >server room by NRPE not SNMP? > >Best regards As Andreas said, you are unlikely to find a temperature probe that has an OS capable of installing/compiling/running the NR

[Nagios-users] unable to use check_http with oracle application server

2009-04-02 Thread Alex Alexiou
Hi everyone, I've been using the check_http plugin to scan websites hosted by Oracle Application Server. We recently changed OAS to use port 443 and SSLv3 only, and now check_http can't check the site. The plugin returns this: CRITICAL - Cannot make SSL connection GET / HTTP/1.0 User-Age

Re: [Nagios-users] configure Nagios to monitor the temperature of the server room

2009-04-02 Thread dave stern - e-mail.pluribus.unum
We've had great success with devices from avtech eg http://avtech.com/LP/LP_RMA_1.htm Added benefit; they also sell industrial grade light bars (sorta like traffic lights) that can be triggered by nagios to show overall status http://avtech.com/Products/Environment_Monitors/Room_Alert_Signal_Tower

Re: [Nagios-users] configure Nagios to monitor the temperature of the server room

2009-04-02 Thread Jim Avery
2009/4/1 ben amar : > How to configure Nagios to monitor the temperature of the server room? > What plugin? I can't say I've tried it myself, but this one is advertised on www.nagios.org :- http://www.nagios.org/products/environmental/esensors/em01b.php hth, Jim ---

Re: [Nagios-users] configure Nagios to monitor the temperature of the server room

2009-04-02 Thread Andreas Ericsson
benamar.moha...@free.fr wrote: > Hello, > > Thank you for your answer, but is it possible to monitor the temperature of > the > server room by NRPE not SNMP? > You need a device that can actually measure the room temperature first. Such devices rarely have a fully fledged OS with compiler etc i

Re: [Nagios-users] Dependency and performance question

2009-04-02 Thread Assaf Flatto
On Wednesday 01 April 2009 16:07:49 shadih rahman wrote: > Hi, >I am running nagios on a 2.5 GHZ 4-core 64 bit machine running RHEL5. I > am seeing some performance issue in Nagios. I am doing failover setup. I > have another similar machine which has identical config but not doing any > act

Re: [Nagios-users] configure Nagios to monitor the temperature of the server room

2009-04-02 Thread benamar . mohamed
Hello, Thank you for your answer, but is it possible to monitor the temperature of the server room by NRPE not SNMP? Best regards Selon jmose...@corp.xanadoo.com: > That all depends on how the temperature can be obtained from the > temperature probe. Most likely, the temperature would be obta

Re: [Nagios-users] NDO update delay

2009-04-02 Thread Lei Chen
Good luck. If any problem, reply to the list, or to me :) 2009/4/2 Rodney Ramos : > Hi Lei. > > I´m using MyISAM engine. > > Thanks, > Rodney. > > On Tue, Mar 31, 2009 at 4:59 AM, lei chen wrote: >> >> The primary reason maybe the low performance in your mysql server with >> innodb engine. >> >>

Re: [Nagios-users] Help please - test works fine EXCEPT over NRPE???

2009-04-02 Thread Lei Chen
use visudo command, comment the following line: Defaultsrequiretty and try again. 2009/4/2 Andrew Davis : > Its running under xinetd, so 'ps aux|grep nrpe' isn't showing the true user. > However, the nrpe.cfg is set to use the nobody user. I've added the nobody > user to sudo, and even trie

Re: [Nagios-users] NRPE vs local check_procs = different result?

2009-04-02 Thread Kumar, Ashish
> I am getting different results from NRPE than the local commands that NRPE > is supopsed to be running.  I am trying to understand if I am doing > something wrong, or if I am hitting a bug.  the process is NOT running, and > the local command verifies this.  the NRPE command from the server is sa