[Nagios-users-br] Error: Service check command 'check_sybase

2008-07-16 Thread Otávio R . M . Evaristo - TrustNet Informática
Bom Dia!! Essa é minha primeira pergunta na lista, enfim eu estou querendo checar uma base de dados no Sybase Anywhere mas estou tendo o seguinte erro ao verificar as conf do nágios: Error: Service check command 'check_sybase -U dba -P sql -S otavio -D BD0001' specified in service

Re: [Nagios-users-br] Error: Service check command 'check_sybase

2008-07-16 Thread Jose Oliveira
Olá Otavio Antes de configurar o serviço no services.cfg, voce precisa criá-lo no checkcommands.cfg. Os parametros reais, como voce citou, devem ser colocados no checkcommands.cfg. Dê uma olhada nestes dois arquivos que voce vai entender a lógica da coisa... PS: Registre-se na lista no site

[Nagios-users] Bandwidth Utilisation by Nagios Clients to Nagios Server

2008-07-16 Thread Sanappan, Ravi
Hi Team I am a new user to this group. We are planning to implement Nagios in different geographies, as part of which I need *** Approximate bandwidth usage by the Nagios clients to the Nagios server ( If the Nagios server is in Malaysia, and the clients are available in Thailand,

[Nagios-users] Service Dependencies

2008-07-16 Thread Assaf Flatto
Hello I'm tweaking around with service dependencies and wanted to ask something that when i think about it will fail , but i still keep the hope that nagios inner logic will not see mt setup so literally and work as i hope it will. I have a host with 23 services checked on it (i have

Re: [Nagios-users] Bandwidth Utilisation by Nagios Clients to Nagios Server

2008-07-16 Thread Matthew Macdonald-Wallace
On Wed, 16 Jul 2008 13:06:48 +0530 Sanappan, Ravi [EMAIL PROTECTED] wrote: I am a new user to this group. We are planning to implement Nagios in different geographies, as part of which I need *** Approximate bandwidth usage by the Nagios clients to the Nagios server ( If the Nagios server is

[Nagios-users] Multi-line plugin output

2008-07-16 Thread Matthew Jurgens
- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in

Re: [Nagios-users] Service Dependencies

2008-07-16 Thread Janet Post
Hello, I'm pretty sure you just use a ! (bang) to filter out your ping test: define servicedependency{ host_name Mickeymouse service_description PING dependent_host_name Mickeymouse dependent_service_description *, !PING

Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services

2008-07-16 Thread Fernando Rocha
This is Portuguese and we'll translate that for the next release. Fernando Rocha OpServices Tecnologia da Informação - Original Message - From: Jonathan Williams [EMAIL PROTECTED] To: Fernando Rocha [EMAIL PROTECTED] Cc: Nagios Users Mailinglist nagios-users@lists.sourceforge.net

[Nagios-users] Zombie processes

2008-07-16 Thread Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
Hello All, Does anyone know the command line syntax for discovering Zombie processes on a windows box? I want to write a script for NRPE. TIA Harry Harry M. Hart Systems integrator SAIC USJFCOM JIOC DCGS-A (757) 203-7422 DSN 668-7422 [EMAIL PROTECTED] [EMAIL PROTECTED]

[Nagios-users] How to tell if a Service plugin result has multiline output?

2008-07-16 Thread Matthew Jurgens
Nagios v3 now has multiline plugin output, but from what I can find the only place you can see the detail of it or even discover that multiple lines exist is on the service details screen (refer attachment DetailStatus.jpg). The service summary screen (refer attachment MainStatus.jpg) does not

[Nagios-users] MySQL Alive

2008-07-16 Thread Jeff Koch
Hi: We're new with nagios but learning. We need to be able to check whether mysql is alive on a server - we don't want to log in. I've looked at the check_mysql and check_mysql_query plugins and they seem to require username and password. Can anyone advise on how to verify that MySQL is

Re: [Nagios-users] MySQL Alive

2008-07-16 Thread Valdinger, Stephen (DOV, MSX)
I would use check_procs to see if the mysqld process is running if you do not want to log in. However, I would advise using the check_mysql plugin and actually probing the mysql server for functionality. Having the process running doesn't necessarily mean things are running smoothly ;-) Stephen

Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services

2008-07-16 Thread Jay R. Ashworth
On Wed, Jul 16, 2008 at 08:32:41AM -0300, Fernando Rocha wrote: This is Portuguese and we'll translate that for the next release. I'm looking forward to it. :-) Cheers, -- jra -- Jay R. Ashworth Baylink [EMAIL PROTECTED] Designer

Re: [Nagios-users] Zombie processes

2008-07-16 Thread Jay R. Ashworth
On Wed, Jul 16, 2008 at 07:37:14AM -0400, Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: Does anyone know the command line syntax for discovering Zombie processes on a windows box? I want to write a script for NRPE. Well, I've installed NRPE on about 12 linux boxes this month, and

Re: [Nagios-users] MySQL Alive

2008-07-16 Thread Tom Throckmorton
On Jul 16 10:40, Jeff Koch wrote: Hi: We're new with nagios but learning. Welcome :) We need to be able to check whether mysql is alive on a server - we don't want to log in. Is this a policy or a preference? In other words, is there some specific reason you don't want to / can't log

Re: [Nagios-users] Zombie processes

2008-07-16 Thread Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
I should have said NsClient++ instead of NRPE. It is a windows box I'm trying to monitor. Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jay R. Ashworth

Re: [Nagios-users] Zombie processes

2008-07-16 Thread Jay R. Ashworth
On Wed, Jul 16, 2008 at 12:02:34PM -0400, Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: I should have said NsClient++ instead of NRPE. It is a windows box I'm trying to monitor. That would have cleared it up, yes. Windows *has* zombie processes? I wouldn't have thought its process

[Nagios-users] two pings / service depended on host

2008-07-16 Thread alexus
I have general question, whenever I add new host to nagios, i add it with check_host_alive or check_icmp or check_ping, but then i have to add check_ping as a service as well, for service dependencies, as i can't depend a services on host how do you guys do that? do you do two pings per host or

Re: [Nagios-users] Re : Re : a reboot switch or router

2008-07-16 Thread Larry Low
whyReload is part of OLD-CISCO-SYSTEM-MIB Larry Low 9237 E Via de Ventura, Ste 250 Scottsdale, AZ 85258 Office: 480.385.7045 E-mail: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]' Telesphere Networks, Inc From: Kermito le kermit [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2008 6:40 AM

Re: [Nagios-users] MySQL Alive

2008-07-16 Thread Valdinger, Stephen (DOV, MSX)
Please always respond on list so others have the benefit of the conversation. You could do as Tom suggested and use check_tcp on port 3306 to see if you get a response, but in order to really grasp how the mysql process is running/responding you will need to go at it a bit harder than just a tcp

Re: [Nagios-users] Help - I am unable to get the NSClient++ torestart services

2008-07-16 Thread Jonathan Williams
Lets try this again... I figured everyone had given of their time and knowledge to me that I'll try to repay the favor. I made a translation from Portuguese to English of the opmonagent.ini and the service-control.cmd files and have attached them if anyone is interested. It really helped me to

Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services

2008-07-16 Thread Jonathan Williams
OK. OpMon is running on the test server and my define_command for spooler restart reads exactly as you posted, still no service restart. I am still missing something. I am not sure if I need to edit anything in the OpMonagent.ini or service_control.cmd.

Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services

2008-07-16 Thread Jonathan Williams
OK.. I am getting somewhere now. I manually ran this command from the Nagios server terminal: /usr/local/nagios/libexec/check_nrpe -H 10.10.113.51 -p 5666 -n -c service_control -a spooler start And it worked!! Meaning the OpMonagent works! Now I jst need to find out why it will not

Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services

2008-07-16 Thread Paulo Ribas
Try the following url http://nagios.sourceforge.net/docs/3_0/eventhandlers.html []'s -- - Jonathan Williams wrote: OK.. I am getting somewhere now. I manually ran this command from the Nagios server terminal: /usr/local/nagios/libexec/check_nrpe -H 10.10.113.51 -p 5666 -n -c

[Nagios-users] check_nt cmd works - fails from nagios config

2008-07-16 Thread Alex Broad
If I run the following cmd from then everything is ok ( as show ./check_nt -H 192.168.1.100 -p 12489 -v FILEAGE -l d:\\data\\users\\logs\\`date +%Y`\\`date +%m`\\`date +%d`\\`date +%Y%m%d.log` 0 years 0 mon 0 days 13 hours 57 min 22 sec However when I add this line in to my nagios

[Nagios-users] check commands

2008-07-16 Thread Harrison Phinizy -X (hphinizy - at Cisco)
All, I wrote a script that accepts arguments depending on the content it is checking for. Using nagios web under the Service Details section of a host I see there is a section named: Check Command Args (use : to separate args): If I have a script called check_service (for example) and it

Re: [Nagios-users] MySQL Alive

2008-07-16 Thread Andrew Cruse
Jeff Koch wrote: Hi: We're new with nagios but learning. We need to be able to check whether mysql is alive on a server - we don't want to log in. I've looked at the check_mysql and check_mysql_query plugins and they seem to require username and password. Can anyone advise on how to

Re: [Nagios-users] MySQL Alive

2008-07-16 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16/07/08 10:40 AM, Jeff Koch wrote: Hi: We're new with nagios but learning. We need to be able to check whether mysql is alive on a server - we don't want to log in. I've looked at the check_mysql and check_mysql_query plugins and they

Re: [Nagios-users] Zombie processes

2008-07-16 Thread Anthony Montibello
Hi, On windows The definition of Zombie Processes is not well defined. If you mean, a process that marked NOT RESPONDING in taskmanager, I always find that not completly unreliable, and in many cases the process would start responding before the popup is triggered. If you true intent is to

Re: [Nagios-users] check_nt cmd works - fails from nagios config

2008-07-16 Thread Anthony Montibello
Since the command works from shell, Try putting the command line into a Shell script then call the shell script as your check command. Naturally you can pass in the Host address as a input parameter to the shell script If your windows plugin is NC_Net we would be able to look at what NC_NEt

[Nagios-users] Compaq Printer monitoring

2008-07-16 Thread Izz Abdullah
I am using Nagios 3.0.1 on RHEL 4 to monitor various Windows and linux / Unix flavors. I have setup to monitor a network printer via SNMP and I get the following result on printer status (PING is ok): Error in packet : Timeout from host 172.24.50.102 Below is the printer.cfg (without the PING

Re: [Nagios-users] Compaq Printer monitoring

2008-07-16 Thread Matthew Jurgens
If the community string, in your case public, is incorrect, this is enough to generate a timeout. Additionally, if the printer does not even have SNMP capability, you will also get a timeout. You'll need to check the printer firmware config. Why have you titled this message Compaq Printer

Re: [Nagios-users] Canon Printer monitoring

2008-07-16 Thread Izz Abdullah
SNMP is enabled, public is the community. I changed the title of this email (too many vendors I have to keep up with) :) Thanks, Izz -Original Message- From: [EMAIL PROTECTED] Sent: Thu, 17 Jul 2008 13:55:04 +1000 To: [EMAIL PROTECTED] Subject: Re: [Nagios-users] Compaq Printer

Re: [Nagios-users] Canon Printer monitoring

2008-07-16 Thread Matthew Jurgens
There appears to be nothing wrong with what you are doing so far. Can you send your command definition? Can you make it work from the command line? You might need to check your environment eg firewalls etc Izz Abdullah wrote: SNMP is enabled, public is the community. I changed the title of

Re: [Nagios-users] Canon Printer monitoring

2008-07-16 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Izz Abdullah wrote: | | Can not get to work from command line. Following is the command def: | | define command{ | command_name check_hpjd | command_line $USER1$/check_hpjd -H $HOSTADDRESS$ $ARG1$ | } AFAIK:

Re: [Nagios-users] Canon Printer monitoring

2008-07-16 Thread Izz Abdullah
Yes, I just realized the hpjd command is just for HP printers. Ok, so after I realized, I was looking at the help for check_snmp, and this is the command from the command line I tried: ./check_snmp -H 172.24.50.102 -C public this returns: SNMP problem - No data received from host CMD: