Re: [Nagios-users-br] Check snmp

2005-11-30 Thread Marco Aurélio Miranda Pereira
Cara o primeiro a se fazer é ativar o snmp nas maquinas a serem moniteradas e no servidor onde está o nagios. Eu utilizo snmp para monitorar interfaces de rede de switchs, host e roteadores, uso o comando snmpwalk do linux para descobrir as chave(index) da interface e o plugin check_ifoperstatus e

[Nagios-users] a few questions

2005-11-30 Thread Mehmet Fatih AKBULUT
hi all. is there a website or a FAQ page to learn how i can define checkcommands service definitions for ldap, dns, https, sql server (mssql) and dns ? are http https the same or different ? please help me define the commands service definitions of above ... thanks in advance. Regards. bye

AW: [Nagios-users] whats wrong with these definitions ? help plea se!

2005-11-30 Thread Thomas . Zimmer
Title: Nachricht Std. "check_command" definition in "sample-config": "$USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$" should be change to s.th. like "$USER1$/check_dns -H$ARG1$ -s $ARG2$" then use it with: check_command check_dns!hostname!hostaddress I assume, you

Re: [Nagios-users] whats wrong with these definitions ? help please!

2005-11-30 Thread Hugo van der Kooij
On Wed, 30 Nov 2005, Mehmet Fatih AKBULUT wrote: check_command check_dns /* is it necessary to add something here ?*/ Not if you use the default: define command{ command_namecheck_dns command_line$USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$

Re: [Nagios-users] Secure Http Sql Server Checks.

2005-11-30 Thread Hugo van der Kooij
On Wed, 30 Nov 2005, Mehmet Fatih AKBULUT wrote: theres no plugin like check_shttp nor check_sql. And what SQL server would that be? MySQL, PostgreSQL, .? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED]

RE: [Nagios-users] Manipulation of email notifications

2005-11-30 Thread Tedman Eng
Replace the one-liner notification command with an external script. This will let you include any sort of logic you'd like in the script. Pass the nagios variables to the script as arguments. define command{ command_namenotify-by-email command_linealert-email.sh

RE: [Nagios-users] Manipulation of email notifications

2005-11-30 Thread Danny Russell
Will you share your sample alert-email.sh with us? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tedman Eng Sent: Wednesday, November 30, 2005 11:46 AM To: 'Deborah Martin'; 'nagios-users@lists.sourceforge.net' Subject: RE: [Nagios-users] Manipulation

RE: [Nagios-users] Secure Http Sql Server Checks.

2005-11-30 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Mehmet Fatih AKBULUT Sent: Wednesday, November 30, 2005 1:08 PM To: nagios-users@lists.sourceforge.net Cc: [EMAIL PROTECTED] Subject: Re: [Nagios-users] Secure Http Sql Server Checks.

RE: [Nagios-users] Manipulation of email notifications

2005-11-30 Thread Tedman Eng
The notification script we use for our installation is customized for our needs, but the method is the same. Something similar to the following should work. To get more fancy, consult your local shell scripting guide. #!/bin/sh CONTACTEMAIL=$1 NOTIFICATIONTYPE=$2

RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2

2005-11-30 Thread Daniel Jimenez
Yeah, I've compiled mine straight from source and I still get those errors w/check_disk. check_load works great. Daniel -Original Message- From: Petrucci, Joseph [mailto:[EMAIL PROTECTED] Sent: Monday, November 28, 2005 10:38 AM To: Chrietzberg, Aletha; Kevin Alford; Daniel Jimenez;

Re: [Nagios-users] whats wrong with these definitions ? help please!

2005-11-30 Thread Mehmet Fatih AKBULUT
check_dns works fine.i've just have problems with check_ldaps and check_dhcp.orher checks works with no problem.

RE: [Nagios-users] RE: nrpe ver. 2 on AIX 5.2

2005-11-30 Thread Chrietzberg, Aletha
Daniel, Do you still want that script fro check_disk? You want me to just email it to you? I didn't want to clutter the user list with alot of script lines. Let me know. Never let the fear of striking out get in your way. Babe Ruth Aletha D Chrietzberg ISD - AIX Tech

[Nagios-users] trouble getting started: getting error 127 out of bounds on check_http

2005-11-30 Thread Aleksey Tsalolikhin
Hi. I am trying to install Nagios for the first time. I have a host, hockey, I want to run an HTTP check on. I've got everything configured correctly near as I can tell, but I am getting: Return code of 127 for check of service 'HTTP' on host 'hockey' was out of bounds. Make sure the plugin

Re: [Nagios-users] trouble getting started: getting error 127 out of bounds on check_http

2005-11-30 Thread Mehmet Fatih AKBULUT
hi Aleykey. i myself have the same problem for check_ldaps. it says : return code of 127 is out of bounds. plugin may be missing :p and looking for help for 2 days in mailing lists. and received just RTFM (read the fuckin manual) so far. i think people in here dont like to help others much :) if u

[Nagios-users] Re: trouble getting started: getting error 127 out of bounds on check_http

2005-11-30 Thread Aleksey Tsalolikhin
I have more date: strace shows the following: 32076 execve(/bin/sh, [sh, -c, /check_http -H 70.86.102.98], [/* 25 vars */]) = 0 32076 execve(/check_http, [/check_http, -H, 70.86.102.98], [/* 25 vars */]) = -1 ENOENT (No such file or directory) 32076 stat64(/check_http, 0xbfffba40) = -1 ENOENT

[Nagios-users] HTTP WARNING: HTTP/1.1 401 Unauthorized

2005-11-30 Thread Rene Nelson
My HTTP check on a windows 2003 IIS 6 server suddenly started reporting the following. HTTP WARNING: HTTP/1.1 401 Unauthorized Does anyone have any suggestion as to the cause? Thanks in advance for any help. When going to the URL via lynx I get: You are not authorized to view this page You

RE: [Nagios-users] Re: trouble getting started: getting error 127 out of bounds on check_http

2005-11-30 Thread Steve Shipway
Looking at your definition of check_http, it would seem that you have maybe forgotten to set $USER1$ ? ... [EMAIL PROTECTED] grep USER1 resource.cfg # Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$) # Sets $USER1$ to be the path to the plugins

RE: [Nagios-users] HTTP WARNING: HTTP/1.1 401 Unauthorized

2005-11-30 Thread Steve Shipway
My HTTP check on a windows 2003 IIS 6 server suddenly started reporting the following. HTTP WARNING: HTTP/1.1 401 Unauthorized Your web server being monitored is giving an 'unauthorised' to your check command. This is probably because the IIS6 server has been reconfigured to require

Re: [Nagios-users] HTTP WARNING: HTTP/1.1 401 Unauthorized

2005-11-30 Thread Chris Burgess
On 1/12/05 11:30 AM, Rene Nelson [EMAIL PROTECTED] wrote: My HTTP check on a windows 2003 IIS 6 server suddenly started reporting the following. HTTP WARNING: HTTP/1.1 401 Unauthorized Does anyone have any suggestion as to the cause? Thanks in advance for any help. When going to the

[Nagios-users] trouble with check_mysql and USER macros

2005-11-30 Thread Aleksey Tsalolikhin
Hi again. I am trying to configure the check_mysql plugin to check my database. In checkcommands.cfg, I've put the following command line for check_mysql so I can specify the IP address, database name, username and password: command_line$USER1$/check_mysql -H $ARG1$ -d $ARG2$ -u

Re: [Nagios-users] trouble getting started: getting error 127 out of bounds on check_http

2005-11-30 Thread Hugo van der Kooij
On Thu, 1 Dec 2005, Mehmet Fatih AKBULUT wrote: hi Aleykey. i myself have the same problem for check_ldaps. it says : return code of 127 is out of bounds. plugin may be missing :p and looking for help for 2 days in mailing lists. and received just RTFM (read the fuckin manual) so far. i

Re: [Nagios-users] trouble with check_mysql and USER macros

2005-11-30 Thread Hugo van der Kooij
On Wed, 30 Nov 2005, Aleksey Tsalolikhin wrote: command_line$USER1$/check_mysql -H $ARG1$ -d $ARG2$ -u $ARG3$ -p $ARG4$ Why not use $USER4$ here? check_command check_mysql!192.168.160.2!mydbname!mydbusername!mydbpassword check_command