Re: [Nagios-users] Connection refused/socket time out

2009-11-10 Thread Marc Powell
On Nov 10, 2009, at 5:16 AM, keshav murthy wrote: > Issue > • Occasionally we get connection refused sometimes and Socket timeout > sometimes. > • During such times, it generates CRITICAL alert and our ticketing > system generates lots of tickets > Assumptions > • Network slow

Re: [Nagios-users] Connection refused/socket time out

2009-11-10 Thread keshav murthy
Can somebody help please. Cheers Kesava On Mon, Nov 9, 2009 at 8:04 PM, keshav murthy wrote: > Hey guys, > > My environment > > >- 2 nagios servers >- 1 nagios server monitoring more than 920 clients and another more >than 700 clients >- Clients are both Windows and Unix servers

[Nagios-users] Connection refused/socket time out

2009-11-09 Thread keshav murthy
Hey guys, My environment - 2 nagios servers - 1 nagios server monitoring more than 920 clients and another more than 700 clients - Clients are both Windows and Unix servers - *No firewalls*. - Added both the nagios server's IP address on all the client's config file. Issue

[Nagios-users] Connection refused or timed out

2009-08-19 Thread Michael Saldivar
What should I look for when troubleshooting a "Connection refused or timed out" when checking via NRPE to a Linux machine? I'm having this problem on two targets. So far, I've installed NRPE on 5 machines, and 3 worked without a hitch, and these two are giving me headaches. Some info about the

Re: [Nagios-users] "Connection refused" with check_tcp and derivates

2009-07-30 Thread Marc Powell
On Jul 30, 2009, at 5:22 PM, shacky wrote: >> Please post the host and service definitions as well as your test >> from >> the command line. > > I've already posted them: Yes, I missed them. You haven't posted the host definition yet, which is the more important. For the host definition for

Re: [Nagios-users] "Connection refused" with check_tcp and derivates

2009-07-30 Thread shacky
> Please post the host and service definitions as well as your test from > the command line. I've already posted them: commands.cfg: # 'check_tcp' command definition define command{ command_namecheck_tcp command_line$USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$

Re: [Nagios-users] "Connection refused" with check_tcp and derivates

2009-07-30 Thread Marc Powell
On Jul 30, 2009, at 10:55 AM, shacky wrote: >> I'm sure you mean $HOSTADDRESS$ here. $HOSTADDRESS is a shell >> environment variable, likely NULL. $HOSTADDRESS$ is a nagios macro >> for >> the host's address which is what you want. > > Yes, sorry. > I made a mistake pasting the configuration in

Re: [Nagios-users] "Connection refused" with check_tcp and derivates

2009-07-30 Thread shacky
>> # 'check_pop' command definition >> define command{ >>        command_name    check_pop >>        command_line    $USER1$/check_pop -H $HOSTADDRESS >>        } > > I'm sure you mean $HOSTADDRESS$ here. $HOSTADDRESS is a shell > environment variable, likely NULL. $HOSTADDRESS$ is a nagios macro f

Re: [Nagios-users] "Connection refused" with check_tcp and derivates

2009-07-30 Thread Marc Powell
On Jul 30, 2009, at 10:02 AM, shacky wrote: >> Not without an example host, service and command definition. Without >> those, we'd be randomly guessing. All we can say at this point is >> what >> you're running on the command line is not what you've told nagios to >> run. > > Oh, sorry. This is

Re: [Nagios-users] "Connection refused" with check_tcp and derivates

2009-07-30 Thread shacky
> Not without an example host, service and command definition. Without > those, we'd be randomly guessing. All we can say at this point is what > you're running on the command line is not what you've told nagios to > run. Oh, sorry. This is what you asked for: commands.cfg: # 'check_tcp' command

Re: [Nagios-users] "Connection refused" with check_tcp and derivates

2009-07-30 Thread Marc Powell
On Jul 30, 2009, at 3:33 AM, shacky wrote: > Hi. > I have a problem with check_tcp and its derivates (check_pop, > check_spop, check_simap and others). > When they are runned automatically by Nagios checks they give me a > "connetion refused" critical error, but if I execute them in the > command

Re: [Nagios-users] "Connection refused" with check_tcp and derivates

2009-07-30 Thread shacky
2009/7/30 Allan Clark : > check your hosts/IPs; remember that Nagios has manually-configured hosts > (which is why I was working on an LDAP connection before). The host address in the host configuration is correct, as the other checks works without any problem. The only check which is not working

[Nagios-users] "Connection refused" with check_tcp and derivates

2009-07-30 Thread shacky
Hi. I have a problem with check_tcp and its derivates (check_pop, check_spop, check_simap and others). When they are runned automatically by Nagios checks they give me a "connetion refused" critical error, but if I execute them in the command line as the user "nagios" they works good: POP3 CRI

Re: [Nagios-users] Connection refused

2009-05-08 Thread Kevin Keane
gt; right is the Linux server along with port. Is it not correct? > > Surajit > > > -Original Message- > From: Kevin Keane [mailto:subscript...@kkeane.com] > Sent: Friday, May 08, 2009 1:56 PM > Cc: Nagios User list > Subject: Re: [Nagios-users] Connection ref

Re: [Nagios-users] Connection refused

2009-05-08 Thread Surajit Mukherjee
- From: Kevin Keane [mailto:subscript...@kkeane.com] Sent: Friday, May 08, 2009 1:56 PM Cc: Nagios User list Subject: Re: [Nagios-users] Connection refused What connection, exactly, do you show as "established" with netstat -an? It can't really be the one you are talking abou

Re: [Nagios-users] Connection refused

2009-05-08 Thread Kevin Keane
- > From: Andy Shellam [mailto:andy-li...@networkmail.eu] > Sent: Friday, May 08, 2009 12:03 PM > To: Surajit Mukherjee > Cc: Nagios User list > Subject: Re: [Nagios-users] Connection refused > > Surajit, > > Is the service actually running on that server? Can you tel

Re: [Nagios-users] Connection refused

2009-05-08 Thread Surajit Mukherjee
, 2009 12:03 PM To: Surajit Mukherjee Cc: Nagios User list Subject: Re: [Nagios-users] Connection refused Surajit, Is the service actually running on that server? Can you telnet to the NSClient++ port manually? Regards, Andy Surajit Mukherjee wrote: > I am getting "Connection refused

Re: [Nagios-users] Connection refused

2009-05-07 Thread Andy Shellam
Surajit, Is the service actually running on that server? Can you telnet to the NSClient++ port manually? Regards, Andy Surajit Mukherjee wrote: > I am getting "Connection refused" status information on a Windows 2003 > Server that is using NSClient++. Out of the 7 Windows server I have in > >

[Nagios-users] Connection refused

2009-05-07 Thread Surajit Mukherjee
I am getting "Connection refused" status information on a Windows 2003 Server that is using NSClient++. Out of the 7 Windows server I have in Nagios 3.0.6, this is the only server giving me that error Cheers, Surajit The information contained in this communication is intended sol

Re: [Nagios-users] Connection refused question

2009-03-03 Thread Assaf Flatto
Mark , first - please always post your questions to the list , you'll get faster answers and will share the knowledge earned with other members . As for your issue , see below : > Background info: > SSH Service: Reconfigure to non-standard port. 22 => 2270 > HTTPD Service: Reconfigure to no

Re: [Nagios-users] Connection refused question

2009-03-02 Thread Jim Avery
Note that most plugins can be executed from the shell prompt with a "--help" option. For example: $ /usr/local/nagios/libexec/check_http --help will tell you what all the possible options are for this plugin, including how to check a particular port number. It's usually best to make sure you'

Re: [Nagios-users] Connection refused question

2009-03-02 Thread Assaf Flatto
Mark First - welcome the a world of wonder (meaning nagios) . Second - the nagios install comes with a complete set of documentation you can access via the wen interface . And for your question - the file containing the definitions you are looking for is called either commands.cfg or misccom

Re: [Nagios-users] Connection refused question

2009-02-27 Thread Mark Weaver
Brian A. Seklecki wrote: > > >> My question is where in the nagios configuration do I change the setting >> so nagios knows what ports these two services are listening on? >> >> > > > $ egrep -ir "check_(ssh|http)" in your {/usr/local,}/etc/nagios config > dir: > > > $ /usr/local/libexec/na

Re: [Nagios-users] Connection refused question

2009-02-27 Thread Brian A. Seklecki
> > My question is where in the nagios configuration do I change the setting > so nagios knows what ports these two services are listening on? > $ egrep -ir "check_(ssh|http)" in your {/usr/local,}/etc/nagios config dir: $ /usr/local/libexec/nagios/check_http -h|grep -i port strings and regu

[Nagios-users] Connection refused question

2009-02-27 Thread Mark Weaver
Hi all, I'm a total noob with Nagios. I've just completed the installation of Nagios on a server that is going to be the Nagios server. Once I got it compiled and running I started making some other modifications to other services on the system such as apache and ssh. What I did was change the

Re: [Nagios-users] Connection refused or timed out

2008-01-02 Thread Mad Unix
I have the foloowing error now on all item CHECK_NRPE: Error - Could not complete SSL handshake from the server I issued [EMAIL PROTECTED] etc]# telnet 10.5.1.31 5666 Trying 10.5.1.31... Connected to 10.5.1.31 (10.5.1.31). Escape character is '^]'. Connection closed by foreign host. On Jan 2,

[Nagios-users] Connection refused or timed out

2008-01-02 Thread Mad Unix
the nagios shows Current Users CRITICAL 01-02-2008 11:35:13 0d 0h 47m 47s 4/4 Connection refused or timed out PING CRITICAL 01-02-2008 11:36:20 0d 0h 46m 40s 4/4 Connection refused or timed out Root Partition CRITICAL 01-02-2008 11:37:27 0d 0h 45m 33s 4/4 Connection refused or timed out To

Re: [Nagios-users] Connection Refused

2007-12-07 Thread Hari Sekhon
Michael Egan wrote: > > I am getting “Connection refused” status information on a Windows 2003 > server that is using NSClient++. Out of the 7 Windows server I have in > Nagios, this is the only server giving me that error. > > Any suggestions? > Check the service is running, it's probably stopp

Re: [Nagios-users] Connection Refused

2007-12-07 Thread Hari Sekhon
Michael Egan wrote: > The NSClient service is running and Windows Firewall is not running. > > I have uninstalled and reinstalled NSClient but the connections are > still refused from the server. > Check the port is bound for one by using netstat or tcpview. Is the config the same as the other

Re: [Nagios-users] Connection Refused

2007-12-07 Thread Kevin Scott Sumner
r 07, 2007 10:34 AM > To: Michael Egan > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Connection Refused > > Michael Egan wrote: >> >> I am getting "Connection refused" status information on a Windows 2003 > >> server that is using NSCl

Re: [Nagios-users] Connection Refused

2007-12-07 Thread Michael Egan
Egan Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Connection Refused Michael Egan wrote: > > I am getting "Connection refused" status information on a Windows 2003 > server that is using NSClient++. Out of the 7 Windows server I have in > Nagios, this is

[Nagios-users] Connection Refused

2007-12-07 Thread Michael Egan
I am getting "Connection refused" status information on a Windows 2003 server that is using NSClient++. Out of the 7 Windows server I have in Nagios, this is the only server giving me that error. Any suggestions? Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833