Re: [Nagios-users] Cannot open command file for update

2010-07-14 Thread Guy Waugh
Hi Brian, On my system the /usr/local/nagios/var/rw directory has permissions drwxrwsr-x. This is the only difference I can see between my system and yours. Regards, Guy. On 14 July 2010 12:50, Brian O'Mahony brian.omah...@curamsoftware.comwrote: Error: Could not open command file

Re: [Nagios-users] a bit [OT] PNP4nagios help

2010-06-09 Thread Guy Waugh
Hi Assaf, Have you restarted nagios lately? Have the permissions on the pnp4nagios files (or the directory they reside in) changed? Has anything changed in nagios.cfg that might affect this? How are you running pnp4nagios? Synchronous mode, bulk mode or bulk mode with NPCD? Are the nagios

Re: [Nagios-users] Anyone? : SIGSEGV when trying to use eventhandler

2010-05-19 Thread Guy Waugh
I'm definitely no expert but... * What does it say when you 'ldd' the nagios binary? Are all the libraries the binary is linked against able to be found? Are those libraries up-to-date? * Where did you get nagios from? Did you compile it or is it pre-built? If pre-built, are there any updates? * I

Re: [Nagios-users] managing a large number of server

2010-05-04 Thread Guy Waugh
On Tue, May 4, 2010 at 2:14 PM, Assaf Flatto nag...@flatto.net wrote: Leonardo Carneiro - Veltrac wrote: Hi list, I have the following situation: I'm monitoring a bunch of services on a bunch of servers (ok, nothing new so far). All machines run the same services, but not all services

[Nagios-users] Plugin to check file for string?

2010-04-06 Thread Guy Waugh
Hi all, Does anyone know of a nagios plugin that will grep a file for a string? I have a cronjob that logs output to a file and I basically want to grep for 'cronjob successful' in this file, alerting Critical if the string isn't found and OK if it is. Thanks, Guy.

[Nagios-users] Controlling contacts/contactgroups with hostgroups/servicegroups

2009-11-23 Thread Guy Waugh
Hi all, I currently use host and service templates to add contacts for specific hosts and services. For example, for most of my services, only the admins need to be notified if the service goes down. For a few (critical) services, however, additional people need to be notified if the service goes

Re: [Nagios-users] Controlling contacts/contactgroups with hostgroups/servicegroups

2009-11-23 Thread Guy Waugh
On Mon, Nov 23, 2009 at 2:31 PM, Terry td3...@gmail.com wrote: On Mon, Nov 23, 2009 at 8:18 AM, Guy Waugh guid...@gmail.com wrote: Hi all, I currently use host and service templates to add contacts for specific hosts and services. For example, for most of my services, only the admins

Re: [Nagios-users] nagios crashes

2009-09-01 Thread Guy Waugh
Hi Assaf, I haven't encountered it before, but my feeling would be to look for a file 2^31 bytes in size (2147483648)... maybe the nagios logfile? If that doesn't help, you could try strace'ing the nagios process... Cheers, Guy. On Tue, Sep 1, 2009 at 3:22 PM, Assaf Flatto

Re: [Nagios-users] Nagios-NDOUtils_pointers.....

2009-08-05 Thread Guy Waugh
Hello, Yup, just get the latest source tarball, untar/gzip it, and there's a README file in there, plus some documentation in the docs directory. There's stuff on the web too, google for it. If you have problems, post to the list with the specific problem you're having. Regards, Guy. On Wed,

Re: [Nagios-users] ndoutils upgrade

2009-08-04 Thread Guy Waugh
Hello, It would be a good idea to back up your database before you apply the update, and make sure you know how to restore the database if the upgrade fails. Regards, Guy. On Tue, Aug 4, 2009 at 7:52 PM, shadih rahman shadhi...@gmail.com wrote: I am thinking about doing a ndoutils update to

Re: [Nagios-users] check_nrpe lost

2009-07-22 Thread Guy Waugh
Hello, check_nrpe and the nrpe daemon are considered to be nagios 'addons', and are part of the same package. Download it from the 'addons' area of 'Downloads' on the nagios website. Cheers, Guy. On Wed, Jul 22, 2009 at 9:33 AM, Jean Frontin fron...@irit.fr wrote: Hello, I am disapointed !

[Nagios-users] Compiling nagios-3.0.6 on RHEL5-x86_64

2009-07-21 Thread Guy Waugh
Hi all, I'm trying to get nagios-3.0.6 compiled on RHEL5-x86_64, and I can't get configure to think that it's found a working libgd/libpng/libjpeg. Nagios is working, but I'm trying to get NDOUtils installed (so I can install NagVis), and to do that, I needed to recompile nagios with

Re: [Nagios-users] are host aliases mandatory ? (config check accept it)

2009-07-21 Thread Guy Waugh
Hello, They may not be mandatory, but I think they are used in notifications -- for example, if a contact for the host is to be notified by email if the host goes down and the host does go down, the message says something like 'hostalias/ping is CRITICAL'. I may not be correct here... put in a

[Nagios-users] Fwd: Compiling nagios-3.0.6 on RHEL5-x86_64 -- SOLVED

2009-07-21 Thread Guy Waugh
know, but it all works now that both versions of each of those packages are installed. Cheers, Guy. -- Forwarded message -- From: Guy Waugh guid...@gmail.com Date: Tue, Jul 21, 2009 at 11:43 AM Subject: Compiling nagios-3.0.6 on RHEL5-x86_64 To: Nagios Users Mail-list nagios-users

Re: [Nagios-users] error to access on nagios web

2009-07-15 Thread Guy Waugh
date de : Mer 15.7.09, Guy Waugh guid...@gmail.com a écrit : De: Guy Waugh guid...@gmail.com Objet: Re: [Nagios-users] error to access on nagios web À: nadia kheffache nadiakheffa...@yahoo.fr Cc: nagios-users@lists.sourceforge.net Date: Mercredi 15 Juillet 2009, 9h52 Hi Nadia, What

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Guy Waugh
Hi Juki, As I understand it, you can either (1) 'hard-code' your NRPE checks in the nrpe.cfg file on the monitored host (so that the checks are explicitly defined), or (2) set up NRPE on the monitored host in such a way that you can pass arguments in your NRPE checks. It looks like you're landing

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Guy Waugh
on the nrpe.cfg file correct? What happens when you run an NRPE service check for that host manually, from the nagios server? If none of that give you any joy, post the nrpe.cfg file to this list if you like, suitably obfuscated of course. Regards, Guy. Regards, Juki 2009/7/15 Guy Waugh guid

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Guy Waugh
Hi Juki, On Wed, Jul 15, 2009 at 2:14 PM, Juki juki.e...@gmail.com wrote: Hi Guy, My findings in-line... 2009/7/15 Guy Waugh guid...@gmail.com They should only be defined in one place. From those errors, it sounds like NRPE on the monitored host doesn't have those commands defined

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Guy Waugh
juki.e...@gmail.com wrote: Hi Guy, 2009/7/15 Guy Waugh guid...@gmail.com Yes, indeed the checks do work. These have been run on the monitored host. See below; *bash$ /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt/BGw/Server1 DISK OK - free space: /var/opt/BGw/Server1 35606

Re: [Nagios-users] Using two or more host templates to aggregate contacts

2009-07-14 Thread Guy Waugh
Patrick, you legend, it worked! Thanks a bunch... On Fri, Jul 10, 2009 at 12:44 AM, Morris, Patrick patrick.mor...@hp.comwrote: Hi Guy! On Tue, 07 Jul 2009, Guy Waugh wrote: Hi all, I'm trying to configure nagios 3.0.6 so that I can add contact groups to a host by adding a host

Re: [Nagios-users] service definitions use

2009-07-14 Thread Guy Waugh
Hi Natalie, 'use template-name' just means that the definition should use the values defined in template-name. I think this is the relevant page in the documentation: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html Cheers, Guy. On Tue, Jul 14, 2009 at 4:48 PM, Natalie Aloi

Re: [Nagios-users] Host Checks Service Checks

2009-07-14 Thread Guy Waugh
Hi Natalie, You might need a 'check_command' for each of your hosts... like this: check_command check-host-alive The 'check-host-alive' check command would have to be defined, probably in your commands.cfg file. The default nagios configuration defines this command (I think). This is where

Re: [Nagios-users] Using two or more host templates to aggregate contacts

2009-07-10 Thread Guy Waugh
Thanks Patrick, I'm laid out with the flu but I'll try that next week. On Fri, Jul 10, 2009 at 12:44 AM, Morris, Patrick patrick.mor...@hp.comwrote: Hi Guy! On Tue, 07 Jul 2009, Guy Waugh wrote: Hi all, I'm trying to configure nagios 3.0.6 so that I can add contact groups to a host

[Nagios-users] Multiple contactgroups for a host through groups or templates

2009-07-08 Thread Guy Waugh
Hi all, I'm seeking a way to be able to associate a contactgroup with a server, in addition to the contactgroups that are already associated with the server through a hosttemplate, such that if the host goes down, both contactgroups are notified. As I outlined in a post to this list a couple of

Re: [Nagios-users] basic nagios/linux info needed

2009-07-08 Thread Guy Waugh
Hi Natalie, I don't know the answer to Question 1... might be worth googling for. In answer to Question 2, yum is, to quote from the first result of my google search for 'man yum', an interactive, automated update program which can be used for maintaining systems using rpm. Basically, yum is a

Re: [Nagios-users] Not able to compile CGIS

2009-07-03 Thread Guy Waugh
Hello, It looks to be complaining about not finding GD library stuff... do you have the 'gd-devel' package installed (if that's what it's called on Centos)? Regards, Guy. On Fri, Jul 3, 2009 at 2:03 PM, Saravana Kumar skumarsma...@gmail.comwrote: Hi Folks, I am trying to install

Re: [Nagios-users] Not able to compile CGIS

2009-07-03 Thread Guy Waugh
--Saravana Kumar On Fri, Jul 3, 2009 at 6:52 PM, Guy Waugh guid...@gmail.com wrote: Hello, It looks to be complaining about not finding GD library stuff... do you have the 'gd-devel' package installed (if that's what it's called on Centos)? Regards, Guy. On Fri, Jul 3, 2009 at 2:03

Re: [Nagios-users] Not able to compile CGIS

2009-07-03 Thread Guy Waugh
execute that command. [r...@nagios ~]# rpm -qav | grep gd-devel gd-devel-2.0.33-9.4.el5_1.1 [r...@nagios ~]# rpm -V gd-devel [r...@nagios ~]# Thanks Saravana Kumar On Fri, Jul 3, 2009 at 9:08 PM, Guy Waugh guid...@gmail.com wrote: Well, I can see the header definition for gdImageSetStyle

Re: [Nagios-users] Not able to compile CGIS

2009-07-03 Thread Guy Waugh
Thanks Saravana Kumar On Fri, Jul 3, 2009 at 9:30 PM, Guy Waugh guid...@gmail.com wrote: OK, I think that means that rpm didn't find any problems with the gd-devel package. What options did you pass to configure? Is there anything useful in config.log? Regards, Guy. On Fri, Jul 3

Re: [Nagios-users] Problem getting past main page

2009-06-25 Thread Guy Waugh
Hi Andrew, On Thu, Jun 25, 2009 at 12:24 AM, Kaplan, Andrew H. ahkap...@partners.orgwrote: This issue is an offshoot of the Problem in preflight check with commands.cfg. I went ahead and copied the nagios directory from our original server to the new one. Once that was done, I did the

[Nagios-users] Fwd: NDOUtils and Mysql libraries assistance needed

2009-06-25 Thread Guy Waugh
Hello, On Thu, Jun 25, 2009 at 1:57 PM, Natalie Aloi na...@experisdatacenters.comwrote: Hi I am having trouble getting ndoutils to work during my install I found this information logged: *** MySQL library could not be located... ** You chose to compile NDBXT with

Re: [Nagios-users] Problem getting past main page

2009-06-25 Thread Guy Waugh
of the httpd.conf with the changes that were suggested. I am desperate at this point... -- *From:* Guy Waugh [mailto:guid...@gmail.com] *Sent:* Thursday, June 25, 2009 4:15 AM *To:* Kaplan, Andrew H.; nagios-users@lists.sourceforge.net *Subject:* Re: [Nagios

Re: [Nagios-users] Problem getting past main page

2009-06-25 Thread Guy Waugh
Autoconf 2.61, with options \'--prefix=/usr/local/nagios' '--with-nagios-user=nagios' '--with-nagios-grp=nagios'\ OK. Provided nagios itself is running, that's probably fine. What do you think? Cheers, Guy. -- *From:* Guy Waugh [mailto:guid...@gmail.com

Re: [Nagios-users] Problem getting past main page

2009-06-25 Thread Guy Waugh
. -- *From:* Guy Waugh [mailto:guid...@gmail.com] *Sent:* Thursday, June 25, 2009 10:57 AM *To:* Kaplan, Andrew H. *Cc:* nagios-users@lists.sourceforge.net *Subject:* Re: [Nagios-users] Problem getting past main page Hi again, On Thu, Jun 25, 2009 at 3:39 PM, Kaplan, Andrew H

Re: [Nagios-users] - NRPE 2.12 ./configure error on solaris 9

2009-06-24 Thread Guy Waugh
the SSL handshake error. Please let me know if any one has faced this problem and have a fix to it. Please help thanks Chethan M N -- *From:* Guy Waugh [mailto:guid...@gmail.com] *Sent:* Tue 6/23/2009 1:41 PM *To:* Chethan M N (WI01 - Manage IT); nagios-users

Re: [Nagios-users] - NRPE 2.12 error on solaris 9

2009-06-24 Thread Guy Waugh
Sorry, should have looked further down the inbox :-) Can you telnet from the Nagios server to port 5666 on the host with the NRPE daemon? Does it connect? Cheers, Guy. On Wed, Jun 24, 2009 at 1:47 AM, chethan@wipro.com wrote: Dear all, ON Solaris servers NRPE is configured and wrking

Re: [Nagios-users] - NRPE 2.12 ./configure error on solaris 9

2009-06-23 Thread Guy Waugh
Hello, I recently faced this problem, but I ended up installing NRPE from blastwave (http://www.blastwave.org/howto.html), and it's working well. If you want to persevere with compiling NRPE, are there SSL libraries in /usr/sfw/lib? What does config.log say? Are there any other SSL installs on

Re: [Nagios-users] REPOST: Problem in Preflight Check with commands.cfg

2009-06-22 Thread Guy Waugh
Hi there, All I can suggest is: 1. cd /etc/nagios3/conf.d; grep -r check_dns * and see if the command definition appears twice anywhere; 2. Vet your nagios.cfg carefully and make sure you're not inadvertently including the same file twice, files from somewhere else etc.; and 3. Deleting the