Re: [Nagios-users] Apache rewrites to run only /nagios at SSL?

2006-04-18 Thread Hugo van der Kooij
On Wed, 19 Apr 2006, ankush grover wrote: > > RewriteEngine On > > RewriteCond %{SERVER_PORT} !^443$ > > RewriteRule ^/boss(.*)$ > > https://%{SERVER_NAME}%{REQUEST_URI} [L,R] > > > > > > > > RewriteEngine On > > RewriteBase /nagios/cgi-bin

Re: [Nagios-users] Apache rewrites to run only /nagios at SSL?

2006-04-18 Thread ankush grover
On    RewriteEngine   OnRewriteCond %{SERVER_PORT}  !^443$ RewriteRule ^/boss(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]RewriteEngine   OnRewriteBase /nagios/cgi-binRewriteCond %{SERVER_PORT}  !^443$ RewriteRule ^/nagi

[Nagios-users] Re: Nagios 2.2, check_ifoperstatus running on OS X 10.4

2006-04-18 Thread Brian Jones
Jones, Brian mcclainfinlon.com> writes: > check_ifoperstatus!4!mfread } I should add that I did execute the command from command line logged in as the nagios user and it does return what is expected. For example, the command documented below would return: OK: Interface Vlan 4 (Index 4) is u

RE: [Nagios-users] Nagios 2.2, check_ifoperstatus running on OS X 10.4

2006-04-18 Thread Morris, Patrick
Have you tried running the plugin from the command line as the Nagios user with the same parameters? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jones, BrianSent: Tuesday, April 18, 2006 7:53 PMTo: nagios-users@lists.sourceforge.netSubject: [Nagios-users] Nagios 2.2, ch

[Nagios-users] Nagios 2.2, check_ifoperstatus running on OS X 10.4

2006-04-18 Thread Jones, Brian
I recently installed Nagios 2.2 onto a Mac G4 running OSX 10.4  Everything is working extremely well except for one service check based on 'check_ifoperstatus'.  Inside the web interface for Nagios all these service checks get (No Output!) returned.  Here is the configuration:   checkcomman

[Nagios-users] is my syntax ok for escalation?

2006-04-18 Thread Tom Cruickshank
Hello, I'm trying to get escalation working on a service I have running. This is what I currently have. define serviceescalation{ host_name web3.host.com service_description Bacula Process first_notification 3 last_notification 10

Re: [Nagios-users] [ Compiling problem ] nagios plugins 1.4.2(check_ldap problem)

2006-04-18 Thread Marcel Mitsuto Fucatu Sugano
Sorry to reply my own post. Just figured out what was worng. in /usr/local/include/ldap.h do not exists the declaration of LDAPS_PORT, as in check_ldap.c just modifying it to LDAP_PORT did the trick. See ya! On Tue, 2006-04-18 at 20:29 -0300, Marcel Mitsuto Fucatu Sugano wrote: > Hello list. >

[Nagios-users] RE: (No output!) message

2006-04-18 Thread Stanley.Hopcroft
Dear Sir, I am writing to thank you for your letter and say, >Message: 24 >Date: Tue, 18 Apr 2006 17:47:48 +0300 >From: Brandino Andreas <[EMAIL PROTECTED]> >Subject: [Nagios-users] (No output!) message > >Hi all. >I will make a question about the famous "(No output!)" error. > >I am trying to w

[Nagios-users] [ Compiling problem ] nagios plugins 1.4.2 (check_ldap problem)

2006-04-18 Thread Marcel Mitsuto Fucatu Sugano
Hello list. I've just fetched the nagios-plugins-1.4.2 package. Installed openldap-1.2.11 from sunfreeware (solaris 8 - sparc) and i am trying to compile check_ldap here. I also have installed openssl-0.9.8, mysql, etc. I want to compile all the plugins and create a set to put into production. But

[Nagios-users] nagios dns resolver checks

2006-04-18 Thread Jim Perrin
I've been playing around with getting nagios to check information coming dns, however I need to check a variety of queries and check_dns doesn't really do quite what I want. The check_dns_random.pl plugin in contrib does what I want in theory, but it seems to have some fairly bad flaws in the perl

[Nagios-users] Apache rewrites to run only /nagios at SSL?

2006-04-18 Thread Hugo van der Kooij
Hi, I have been playing with apache rewrites to get /nagios (and some other parts) behind SSL but without the rest of the site ending up as SSL website. (Technically it is offtopic, I guess, but close enough to entertain the Nagios crowd and get some samples documented to prevent others to fall i

[Nagios-users] Non latin symbols in $HOSTALIAS$

2006-04-18 Thread Danila Kutepkin
Hi there! I use cyrillic symbols (koi8-r) in "alias" field of a host definition. An e-mail that is generated when a host goes down, contains all info I need but only alias ($HOSTALIAS$ macro value) containes only numeric symbols and no cyrillic symbols. I had such kind of problem in status.cgi

RE: [Nagios-users] question

2006-04-18 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Hugo van der Kooij > Sent: Tuesday, April 18, 2006 1:44 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] question > > On Tue, 18 Apr 2006, Guillermo Bellettini wrote: > >

Re: [Nagios-users] question

2006-04-18 Thread Hugo van der Kooij
On Tue, 18 Apr 2006, Guillermo Bellettini wrote: > Hi there, do you have anu idea how to upgrade Net Saint 0.0.7 to Nagios 2.2? I suggest you print the old configs and start to write them from scratch. If you have 1000's of service you may make it worth to write a custom migration script. But if

Re: [Nagios-users] restart http with ssl certificate pass

2006-04-18 Thread Hugo van der Kooij
On Tue, 18 Apr 2006, Subhendu Ghosh wrote: > On Tue, 18 Apr 2006, ThomasC. wrote: > > > I would like to use eventhandlers to restart apache on nagios server because > > it sometimes fails. > > My issue is that i have a password on the certificate that i have to give > > when restarting apache...do

Re: [Nagios-users] restart http with ssl certificate pass

2006-04-18 Thread Kyle Tucker
> > On Tue, 18 Apr 2006, ThomasC. wrote: > > > I would like to use eventhandlers to restart apache on nagios server > > because > > it sometimes fails. > > My issue is that i have a password on the certificate that i have to give > > when restarting apache...do you know how i can handle this ?

Vedr.: [Nagios-users] question

2006-04-18 Thread Christian Kammer Have
I would recommend you to do a fresh install of nagios 2.2 instead and then try to migrate the host/service-definitions. I would suspect the checks and core components have improved and changed so drastically that you have to do so much work in order to get an upgrade to work that a  fresh reinstal

[Nagios-users] question

2006-04-18 Thread Guillermo Bellettini
Hi there, do you have anu idea how to upgrade Net Saint 0.0.7 to Nagios 2.2?   Is there any plug-in to install?   Thanks for your help   Guillermo Bellettini

RE: [Nagios-users] restart http with ssl certificate pass

2006-04-18 Thread Lundgren, Scott
You could remove the password on the key: To remove the pass phrase on an RSA private key: openssl rsa -in key.pem -out keyout.pem To remove the pass phrase on a DSA private key: openssl dsa -in key.pem -out keyout.pem Scott Lundgren ITS - Web Services UNC at Charlotte http://www.uncc.edu

Re: [Nagios-users] restart http with ssl certificate pass

2006-04-18 Thread Subhendu Ghosh
On Tue, 18 Apr 2006, ThomasC. wrote: Hi, I would like to use eventhandlers to restart apache on nagios server because it sometimes fails. My issue is that i have a password on the certificate that i have to give when restarting apache...do you know how i can handle this ? Thanks for all.

[Nagios-users] restart http with ssl certificate pass

2006-04-18 Thread ThomasC.
Hi, I would like to use eventhandlers to restart apache on nagios server because it sometimes fails. My issue is that i have a password on the certificate that i have to give when restarting apache...do you know how i can handle this ? Thanks for all. --

RE: [Nagios-users] Re: Nagios Web Plugin

2006-04-18 Thread Sandeep Narasimha Murthy
Nope.. NAGIOS Host OS - LINUX CENTOS The remote web server that I want to monitor - Don't Know and doenst really interest me ! The production server that is allowed to connect to the remote webserver and has some plugins such as check_ping, check_memory etc... OS - SOLARIS 9 thnx -Ori

Re: [Nagios-users] Re: Nagios Web Plugin

2006-04-18 Thread Scott Lundgren
> Hi, > > The plugins were already installed when I came in.. can I copy the required > plugins from host.. ? > > One other thing, host OS is Linux and the plugin is on a Solaris 9 OS. Please correct if I'm wrong: The remote web server that you want to monitor is Linux The production server tha

Re: [Nagios-users] Re: Nagios Web Plugin

2006-04-18 Thread Scott Lundgren
> 1. check_http runs fine on my host machine but when I execute it on the > machine I want to monitor I get the fwg error: > > ld.so.1: ./check_http: fatal: libssl.so.0.9.7: open failed: No such file or > directory > Killed > > Any idea whats wrong here ?? How did you install the nagios plugins?

RE: [Nagios-users] Re: Nagios Web Plugin

2006-04-18 Thread Marc Powell
That's fine. You'll just need to use on of the remote plugin execution methodologies then; NRPE or check-by-ssh probably. Install the check_http plugin on you production machine then have your nagios server execute the plugin on that machine to check your third machine. -- Marc > -Original

RE: [Nagios-users] Re: Nagios Web Plugin

2006-04-18 Thread Sandeep Narasimha Murthy
I should have pointed this out before.. I cant run it on the Host as the host doesn't have access to the remote server I want to check.. Only one machine - our Production machine is authorized to connect to the remote server.. hence I need check_http to run on the prod machine.. thnx -Orig

Re: [Nagios-users] Re: Nagios Web Plugin

2006-04-18 Thread John Jolet
On 4/18/06 9:46 AM, "Sandeep Narasimha Murthy" <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks for the responses. I have 2 problems using check_http : > > 1. check_http runs fine on my host machine but when I execute it on the > machine I want to monitor I get the fwg error: > > ld.so.1: ./check

[Nagios-users] Socket Errors

2006-04-18 Thread Scott Lundgren
I'm running Nagios 1.2 and APAN 0.3.0-sql. Recently I've changed 5 monitored Windows servers to a set of 2 hostgroups. Hostgroup A has 1 server and a CPU warning threshold of 25% Hostgroup B has 4 servers and a CPU warning threshold of 15% Since implementing this none of the 5 servers in either ho

RE: [Nagios-users] Re: Nagios Web Plugin

2006-04-18 Thread Sandeep Narasimha Murthy
Hi, Thanks for the responses. I have 2 problems using check_http : 1. check_http runs fine on my host machine but when I execute it on the machine I want to monitor I get the fwg error: ld.so.1: ./check_http: fatal: libssl.so.0.9.7: open failed: No such file or directory Killed Any idea whats

[Nagios-users] (No output!) message

2006-04-18 Thread Brandino Andreas
Hi all. I will make a question about the famous "(No output!)" error. I am trying to watch cpu usage on a cisco router. I am using check_snmp_load.pl from here http://www.manubulon.com/nagios/index_commands.html ### CONFIGURATION ### # checkcommands.cfg define command { comma

Re: [Nagios-users] Nagios Web Plugin

2006-04-18 Thread Scott Lundgren
I'm using Nagios 1.2 with APAN .3-sql and that's what I'm doing. I call a wrapper shell script that calls check_http : VALUE=`$PLUGINSDIR/check_http -I $HOST -H $VHOST -p $PORT -w $WARN -c $CRIT $XARGS` RESULT=$? # debug "`date` HTTP snu, Res: $RESULT, Val: $VALUE" FOUND=`echo $VALUE|grep "|"|wc

[Nagios-users] Re: Nagios Web Plugin

2006-04-18 Thread Rene Fertig
Hi. Am Dienstag, 18. April 2006 15:40 schrieb Sandeep Narasimha Murthy: > I am trying to monitor a Web Service and I am able to send a GET request > via a browser and obtain a result appropriate for Nagios. > > I am not exactly sure how to integrate this with Nagios. I could print > the output to

RE: [Nagios-users] Nagios GUI

2006-04-18 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Sandeep Narasimha Murthy > Sent: Tuesday, April 18, 2006 3:50 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Nagios GUI > > Hi, > > We have number of servers whic

RE: [Nagios-users] Nagios Web Plugin

2006-04-18 Thread Marc Powell
Yes. That's basic functionality of check_http. It can GET or POST data and look for designated content in the response. -- Marc > -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Sandeep Narasimha Murthy > Sent: Tuesday, April 18, 2006 8

RE: [Nagios-users] Recompiling plugins

2006-04-18 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of ThomasC. > Sent: Tuesday, April 18, 2006 6:19 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Recompiling plugins > > Hi, > > > I made a change in the source code

RE: [Nagios-users] Nagios Web Plugin

2006-04-18 Thread Sandeep Narasimha Murthy
I could probably use the check_http plugin or the webinject.. has anyone used this before successfully ? thnx -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandeep Narasimha Murthy Sent: terça-feira, 18 de Abril de 2006 14:41 To: nagios-users@lists.so

[Nagios-users] Nagios Web Plugin

2006-04-18 Thread Sandeep Narasimha Murthy
Hi, I am trying to monitor a Web Service and I am able to send a GET request via a browser and obtain a result appropriate for Nagios. I am not exactly sure how to integrate this with Nagios. I could print the output to a file and make nagios read the file but this doesn't seem to be a very clean

[Nagios-users] ASCII-Characters >127 stripped in macros

2006-04-18 Thread Rene Fertig
Hi. Since I updated to nagios 2.0 I don't see german "umlaute" (ASCII-Characters greater than 127, e.g. ä ö ü) in the notifications no more. With nagios 1.1 this worked. The characters are stripped only in the marcos (e.g. $HOSTALIAS$ or $SERVICEDESC$). In nagios.cfg the variable illegal_macro_

RE: [Nagios-users] Nagiosgrapher rrd problem

2006-04-18 Thread Davy Gaussen
Ok thanks to all for your response, I tried to install Nagiosgrapher-1.4 and it works perfectly ! -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Davy Gaussen Envoyé : mardi 18 avril 2006 14:06 À : [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net O

RE: [Nagios-users] Nagiosgrapher rrd problem

2006-04-18 Thread Davy Gaussen
Johan, I tried to remove lines in my ngraph.ncfg like you said but so far it does not seem to repair the problem. And, like you said, the daemon don't try to parse my definitions!! An other idea ?? ;-) Davy -Message d'origine- De : Johan Corsini [mailto:[EMAIL PROTECTED] Envoyé : mar

Vedr.: [Nagios-users] Recompiling plugins

2006-04-18 Thread Christian Kammer Have
The error indicates that you need to have some more files present before starting to compile. Download the entire plugins tar from the website, extract, copy your changed sourcefile and issue the make command. Med venlig hilsen Ekstern konsulent Christian Kammer Have Bispebjerg Hospital MIT (M

[Nagios-users] Recompiling plugins

2006-04-18 Thread ThomasC.
Hi, I made a change in the source code of the check_snmp plugin. I would like now to recompile it. When i run gcc -o check_snmp check_snmp.c i get a lot of errors. I know this is a question about compiling but can you help me please to learn how to recompile transformed code in Nagios plugs

Re: [Nagios-users] API's .

2006-04-18 Thread Matthias Eichler
We made it KISS (keep it stupid & simple): Our framework here uses the external command interface of nagios. (I think its a pipe...usually under ~nagios/var/rw/nagios.cmd). Find a description under: http://nagios.org/developerinfo/externalcommands/commandlist.php Matthias rash schrieb: > Hi , I a

Re: [Nagios-users] Nagios GUI

2006-04-18 Thread Pascal MIQUET
You can create some groups of hosts and groups of services. HTH Regards Pascal - Original Message - From: "Sandeep Narasimha Murthy" <[EMAIL PROTECTED]> To: Sent: Tuesday, April 18, 2006 10:49 AM Subject: [Nagios-users] Nagios GUI Hi, We have number of servers which are being monit

Re: [Nagios-users] Nagios GUI

2006-04-18 Thread Werner Flamme
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sandeep Narasimha Murthy schrieb am 18.04.2006 10:49: > Hi, > > We have number of servers which are being monitored using Nagios > (Version 2.0b3). Is there any way to separate/ categorize the servers > according to their platform - Production, Tests,

RE: [Nagios-users] Nagiosgrapher rrd problem

2006-04-18 Thread Davy Gaussen
Here is my service definition for PING services : define service { name PING-SW-template check_command check_ping!500.0,50%!600.0,60% max_check_attempts 3 normal_check_interval 5 retry_check_interval 5 active_checks_enabled 1 passive_checks_e

Re: [Nagios-users] execute a program with NRPE

2006-04-18 Thread tdelunel
Hi, I tried to open my ssh session with plink.exe In my nrpe.cfg file I wrote: --- command[plink]=c:\nrpe\plink.exe -load "myprofile" -l "mylogin" -pw "mypassword" --- If I try this command on the windows server, it works. But if I try with the check_nrpe command it doesn't. In the

Re: [Nagios-users] Nagios GUI

2006-04-18 Thread Cédric Temple
On Mar 18 avril 2006 10:49, Sandeep Narasimha Murthy wrote: > Hi, Hi, > We have number of servers which are being monitored using Nagios > (Version 2.0b3). Is there any way to separate/ categorize the servers > according to their platform - Production, Tests, Development etc.. ? Usuallu, i pref

[Nagios-users] Nagios GUI

2006-04-18 Thread Sandeep Narasimha Murthy
Hi, We have number of servers which are being monitored using Nagios (Version 2.0b3). Is there any way to separate/ categorize the servers according to their platform - Production, Tests, Development etc.. ? On clicking the Service Detail on the left hand Menu, all servers show up as a list. Is i

[Nagios-users] Small Doc-Error about "sticky bits"

2006-04-18 Thread Ingo Lantschner
IMHO the file http://nagios.sourceforge.net/docs/2_0/commandfile.html talks about "sticky bits" but it should call them SGID-bit. drwxrws--- is SGID and has the desired efect of setting the Groups Ownership on newly created files. drwxrwxrwt is the sticky-bit and allows only the owner of a file t