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] NDOUTILS install problem

2009-07-30 Thread Hardip Zhim
The DB is on the same machine and I have configured it in the ndo2db.cfg -Original Message- From: Leveau Stanislas [mailto:stanislas.lev...@ac-caen.fr] Sent: Thursday, July 30, 2009 1:52 PM To: Hardip Zhim Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] NDOUTILS insta

Re: [Nagios-users] NDOUTILS install problem

2009-07-30 Thread Morris, Patrick
On Thu, 30 Jul 2009, Hardip Zhim wrote: > I am trying to install NDOUTILS version 1.4b5 on nagios 3.0.6 in a Ubuntu > Machine. > > I am getting the following error message: > > sudo /usr/local/nagios/bin/ndo2db-3x -c /usr/local/nagios/etc/ndo2db.cfg > > Support for the specified database serv

[Nagios-users] Service Check Dependency

2009-07-30 Thread Mirza Dedic
Hello, I am checking my nagios configuration and wanting to implement check dependency, so that I can silence some of the many alerts we get. Could someone help me better understand the service dependency check method.. My service dependency below.. I want all the services on VAN-SQL01 to depen

Re: [Nagios-users] NDOUTILS install problem

2009-07-30 Thread Leveau Stanislas
hi where did you have configure database access? bye Stan > Hi, > > > > I am trying to install NDOUTILS version 1.4b5 on nagios 3.0.6 in a > Ubuntu Machine. > > > > > > I am getting the following error message: > > > > sudo /usr/local/nagios/bin/ndo2db-3x -c > /usr/local/nagios/etc/ndo2db.cfg >

[Nagios-users] NDOUTILS install problem

2009-07-30 Thread Hardip Zhim
Hi, I am trying to install NDOUTILS version 1.4b5 on nagios 3.0.6 in a Ubuntu Machine. I am getting the following error message: sudo /usr/local/nagios/bin/ndo2db-3x -c /usr/local/nagios/etc/ndo2db.cfg Support for the specified database server is either not yet supported, o

Re: [Nagios-users] disable nagios acknowledge notification

2009-07-30 Thread Marc Powell
On Jul 30, 2009, at 2:23 PM, Wes Rogers wrote: > Is it possible to disable notifications for when you ack a service > problem via the status.cgi? I don't see any options in the > documentation, either globally, per service or contact, etc which lets > you disable the sending of a notification w

Re: [Nagios-users] disable nagios acknowledge notification

2009-07-30 Thread Wes Rogers
Wow, how I missed that, is anyone's guess. Thanks. 2009/7/30 Mathieu Gagné : > On 7/30/09 3:23 PM, Wes Rogers wrote: >> >> Is it possible to disable notifications for when you ack a service >> problem via the status.cgi?   I don't see any options in the >> documentation, either globally, per serv

Re: [Nagios-users] disable nagios acknowledge notification

2009-07-30 Thread Mathieu Gagné
On 7/30/09 3:23 PM, Wes Rogers wrote: > Is it possible to disable notifications for when you ack a service > problem via the status.cgi? I don't see any options in the > documentation, either globally, per service or contact, etc which lets > you disable the sending of a notification when a servi

[Nagios-users] disable nagios acknowledge notification

2009-07-30 Thread Wes Rogers
Is it possible to disable notifications for when you ack a service problem via the status.cgi? I don't see any options in the documentation, either globally, per service or contact, etc which lets you disable the sending of a notification when a service is ack'ed. ---

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] Antwort: FW: Antwort: Notification oddity

2009-07-30 Thread Kevin Davison
Man, I must have looked at that 10 times. All of the notifications were set the way that I wanted them to be, but I had disabled Warnings for hosts but enabled them for Services. I totally failed to realize that the warnings I wasn’t receiving were for Hosts and not Services. It’s resolved, I wa

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

[Nagios-users] Performance Counters & Outputs

2009-07-30 Thread Mirza Dedic
Hello list, I am having an issue trying to run... ./check_nt -H van-sql01 -p * -s * -v COUNTER -l "\\SQLServer:Databases(DWH)\Log File(s) Size (KB)","Log file for DWH is: %.2f Kb" I get: Log file for DWH is: 143352.00 Kb | 'Log file for DWH is: %.2f Kb'=143352.00%;0.00;0.

Re: [Nagios-users] Strange character

2009-07-30 Thread Pierguido Lambri
Thanks for your help. I made it workingi rewrote the command line and now it works. Probably i wrote some strange character that i couldnt' see. Thanks for you help. Pier --- Gio 30/7/09, Max ha scritto: > Da: Max > Oggetto: Re: [Nagios-users] Strange character > A: "Pierguido Lambri" , N

Re: [Nagios-users] Strange character

2009-07-30 Thread Max
Hi pier, I am the author that plugin; can you send me onor off list the Nagios command definiton you are using with it along with the command line you are using when you run it fron the CL (make sure you do NOT include your real snmp community string)? Happy to help troubleshoot this. Max On 7/

Re: [Nagios-users] Strange character

2009-07-30 Thread Assaf Flatto
Can you provide more information ? syntax of the command definition , service definition , etc` ? That might help Assaf On Thursday 30 July 2009 12:45:27 Pierguido Lambri wrote: > Hi all. > I'm trying to use this plugin: > > http://www.nagios3book.com/nagios-3-enm/checks/cisco/check_snmp_cisc

[Nagios-users] Strange character

2009-07-30 Thread Pierguido Lambri
Hi all. I'm trying to use this plugin: http://www.nagios3book.com/nagios-3-enm/checks/cisco/check_snmp_cisco_temp.pl On the cli (bash) i get everything well formated, but when i use the plugin in nagios i get weird chararcter: Module Device 2 Temp Sensor (29c >= lb$c) What could it be? Thanks

Re: [Nagios-users] testing from nagios server itself

2009-07-30 Thread Marc Powell
On Jul 30, 2009, at 12:27 AM, Thomas Kinghorn - MWEB wrote: > Many thanks for the reply > > The plugin is from > http://exchange.nagios.org/directory/Plugins/Network-Protocols/*-VoIP/SIP/check_sip-sipsak/details > > Just renamed to check_sipsak as check_sip is already in use Thanks, that's very

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

[Nagios-users] Strange character

2009-07-30 Thread Pierguido Lambri
Hi all. I'm trying to use this plugin: http://www.nagios3book.com/nagios-3-enm/checks/cisco/check_snmp_cisco_temp.pl On the cli (bash) i get everything well formated, but when i use the plugin in nagios i get weird chararcter: Module Device 2 Temp Sensor (29c >= lb$c) What could it be? Thanks

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