Nagios-users Digest, Vol 34, Issue 2

Shimon Weinreich shimon at openu.ac.il
Wed Mar 4 05:17:17 CET 2009


Tnx for the quick answer. I'll check.


-------
בברכה,

      שמעון ויינרייך
      האוניברסיטה הפתוחה

-----Original Message-----
From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] 
Sent: Tuesday, March 03, 2009 8:18 PM
To: nagios-users at lists.sourceforge.net
Subject: Nagios-users Digest, Vol 34, Issue 2

Send Nagios-users mailing list submissions to
	nagios-users at lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/nagios-users
or, via email, send a message with subject or body 'help' to
	nagios-users-request at lists.sourceforge.net

You can reach the person managing the list at
	nagios-users-owner at lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Nagios-users digest..."


Today's Topics:

   1. Re: NSCLIENT (Martyn)
   2. Re: NSCLIENT (Kevin Keane)
   3. Re: NSCLIENT (Kevin Keane)
   4. Re: Monitoring Logs under Windows 2003 server (Michael Medin)
   5. Re: Connection refused question (Assaf Flatto)
   6. Re: Monitoring Logs under Windows 2003 server (Joerg Linge)
   7. Nagios do not send hosts notifications (Shimon Weinreich)
   8. Re: Nagios do not send hosts notifications (Jim Avery)
   9. NRPE only_from (Martyn)
  10. Re: NRPE only_from (Marc Powell)
  11. Re: Need to monitor Solaris 10 and am new to Nagios
      (Lee Azzarello)
  12. Ndoutils MySQL performance problem? (Livio Zanol Puppim)
  13. Request for a list users. (Roberson, John)
  14. Re: Monitoring Logs under Windows 2003 server (Masoud Tabrizi)
  15. Re: Service linked to hostgroup / notifications (Lee Azzarello)
  16. Re: Request for a list users. (Seth Simmons)
  17. Re: Alert History seems empty (Rahul Nabar)
  18. Re: Alert History seems empty (Rahul Nabar)
  19. Re: Ndoutils MySQL performance problem? (Ciro Iriarte)


----------------------------------------------------------------------

Message: 1
Date: Tue, 3 Mar 2009 01:48:44 -0000
From: "Martyn" <martyn at chetnet.co.uk>
Subject: Re: [Nagios-users] NSCLIENT
To: "'Kevin Keane'" <subscription at kkeane.com>
Cc: nagios-users at lists.sourceforge.net
Message-ID:
	<!&!AAAAAAAAAAAYAAAAAAAAADw1FTPxxwxAqGSPfErmtgrCgAAAEAAAAIceMahvcudOk+SZRYmj3+4BAAAAAA==@chetnet.co.uk>
	
Content-Type: text/plain;	charset="us-ascii"

Thanks very much for the reply.
I will also take a look at your client too, how stable is it at present?

Cheers 

-----Original Message-----
From: Kevin Keane [mailto:subscription at kkeane.com] 
Sent: 02 March 2009 23:37
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] NSCLIENT

You don't have to purchase one. If you want to do the editing manually, use
Microsoft's Orca. http://support.microsoft.com/kb/255905

Or if you want to automate it, look into MakeMSI. 
http://dennisbareis.com/makemsi.htm This scripting language is a bit quirky,
but it works.

That said, I'm currently working on a complete Nagios client including
install package that may do just about the same thing (and a few more
things). You can already download it from Sourceforge, although the "burn
the server IP address into the MSI" functionality isn't implemented yet. One
thing I did differently from NSClient is that I am using HTTPS to submit the
results (an older version also supported SSH, but I have not re-implemented
that in the latest version). That lets me avoid firewall issues.

It is based on NSClient++ with quite a few enhancements.

http://sourceforge.net/projects/tntmonitoring/

Martyn wrote:
>
> Can anybody recommend an MSI editor, I would like to add the IP 
> address of the server before I send the client MSI out, if I have to 
> purchase one I do not mind.
>
> Cheers
>
> Martyn
>


----------------------------------------------------------------------------
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H _______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null




------------------------------

Message: 2
Date: Mon, 2 Mar 2009 19:01:18 -0800
From: Kevin Keane <subscription at kkeane.com>
Subject: Re: [Nagios-users] NSCLIENT
Cc: nagios-users at lists.sourceforge.net
Message-ID: <49AC9D7E.4070806 at kkeane.com>
Content-Type: text/plain;	charset="US-ASCII";	format="flowed"

Hi Martyn,

The client itself actually is quite stable; I have it running on several 
of my customer's servers for a few months now - maybe two years if you 
count the old versions. It is a fairly small piece of software written 
in C++ (the original version was written in VBS) and have yet to see it 
crash or cause any problems. The main value of the client - aside from 
my own innovation of using HTTPS to submit the passive check results - 
is that it packages quite a few third-party plugins, including 
NSClient++, and their configurations into a single installer package.

What isn't stable about it is the exact specification, behavior and 
which plugins get packaged and how they are configured; I expect that 
there will be ongoing changes. The interface between the TNTMonitoring 
client and Nagios should be fairly stable - it is simply the standard 
NSCA protocol, but running over HTTPS PUT requests.

On the receiving end, a simple PHP script accepts the results and puts 
it to the Nagios command file. The source code for TNTMonitoring 
contains an older version of that script; I should really be updating that.

Also the documentation is really somewhat insufficient.

The current installer will ask a number of questions before installing 
everything. One of the improvements I'm working on is to come up with a 
"quiet" version that simply installs without asking any questions - 
basically, what you've been asking for.

Martyn wrote:
> Thanks very much for the reply.
> I will also take a look at your client too, how stable is it at present?
>
> Cheers 
>
> -----Original Message-----
> From: Kevin Keane [mailto:subscription at kkeane.com] 
> Sent: 02 March 2009 23:37
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] NSCLIENT
>
> You don't have to purchase one. If you want to do the editing manually, use
> Microsoft's Orca. http://support.microsoft.com/kb/255905
>
> Or if you want to automate it, look into MakeMSI. 
> http://dennisbareis.com/makemsi.htm This scripting language is a bit quirky,
> but it works.
>
> That said, I'm currently working on a complete Nagios client including
> install package that may do just about the same thing (and a few more
> things). You can already download it from Sourceforge, although the "burn
> the server IP address into the MSI" functionality isn't implemented yet. One
> thing I did differently from NSClient is that I am using HTTPS to submit the
> results (an older version also supported SSH, but I have not re-implemented
> that in the latest version). That lets me avoid firewall issues.
>
> It is based on NSClient++ with quite a few enhancements.
>
> http://sourceforge.net/projects/tntmonitoring/
>
> Martyn wrote:
>   
>> Can anybody recommend an MSI editor, I would like to add the IP 
>> address of the server before I send the client MSI out, if I have to 
>> purchase one I do not mind.
>>
>> Cheers
>>
>> Martyn
>>
>>     
>
>
> ----------------------------------------------------------------------------
> --
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
>
>   


-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof.




------------------------------

Message: 3
Date: Mon, 2 Mar 2009 19:01:40 -0800
From: Kevin Keane <subscription at kkeane.com>
Subject: Re: [Nagios-users] NSCLIENT
Cc: nagios-users at lists.sourceforge.net
Message-ID: <49AC9D94.3070107 at kkeane.com>
Content-Type: text/plain;	charset="US-ASCII";	format="flowed"

Hi Martyn,

The client itself actually is quite stable; I have it running on several 
of my customer's servers for a few months now - maybe two years if you 
count the old versions. It is a fairly small piece of software written 
in C++ (the original version was written in VBS) and have yet to see it 
crash or cause any problems. The main value of the client - aside from 
my own innovation of using HTTPS to submit the passive check results - 
is that it packages quite a few third-party plugins, including 
NSClient++, and their configurations into a single installer package.

What isn't stable about it is the exact specification, behavior and 
which plugins get packaged and how they are configured; I expect that 
there will be ongoing changes. The interface between the TNTMonitoring 
client and Nagios should be fairly stable - it is simply the standard 
NSCA protocol, but running over HTTPS PUT requests.

On the receiving end, a simple PHP script accepts the results and puts 
it to the Nagios command file. The source code for TNTMonitoring 
contains an older version of that script; I should really be updating that.

Also the documentation is really somewhat insufficient.

The current installer will ask a number of questions before installing 
everything. One of the improvements I'm working on is to come up with a 
"quiet" version that simply installs without asking any questions - 
basically, what you've been asking for.

Martyn wrote:
> Thanks very much for the reply.
> I will also take a look at your client too, how stable is it at present?
>
> Cheers 
>
> -----Original Message-----
> From: Kevin Keane [mailto:subscription at kkeane.com] 
> Sent: 02 March 2009 23:37
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] NSCLIENT
>
> You don't have to purchase one. If you want to do the editing manually, use
> Microsoft's Orca. http://support.microsoft.com/kb/255905
>
> Or if you want to automate it, look into MakeMSI. 
> http://dennisbareis.com/makemsi.htm This scripting language is a bit quirky,
> but it works.
>
> That said, I'm currently working on a complete Nagios client including
> install package that may do just about the same thing (and a few more
> things). You can already download it from Sourceforge, although the "burn
> the server IP address into the MSI" functionality isn't implemented yet. One
> thing I did differently from NSClient is that I am using HTTPS to submit the
> results (an older version also supported SSH, but I have not re-implemented
> that in the latest version). That lets me avoid firewall issues.
>
> It is based on NSClient++ with quite a few enhancements.
>
> http://sourceforge.net/projects/tntmonitoring/
>
> Martyn wrote:
>   
>> Can anybody recommend an MSI editor, I would like to add the IP 
>> address of the server before I send the client MSI out, if I have to 
>> purchase one I do not mind.
>>
>> Cheers
>>
>> Martyn
>>
>>     
>
>
> ----------------------------------------------------------------------------
> --
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
>
>   


-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof.




------------------------------

Message: 4
Date: Tue, 03 Mar 2009 07:36:28 +0100
From: Michael Medin <michael at medin.name>
Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server
To: Masoud Tabrizi <masoud.tabrizi at gmail.com>
Cc: nagios-users at lists.sourceforge.net
Message-ID: <49ACCFEC.7000609 at medin.name>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,

I would suggest someone to "port" check_logfiles to "windows" (ie 
working with for instance pure Perl or some such).
That is the "point" of the NRPE support in NSClient++ (and others)

// Michael Medin

Masoud Tabrizi skrev:
> I looked that the event log but does no good for me as I am trying to monitor application logs and not events logs. looking for something similar to check_logfiles on Unix.
> Thanks
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++
> -----Original Message-----
> From: Curtis LaMasters [mailto:curtislamasters at gmail.com] 
> Sent: Monday, March 02, 2009 3:10 PM
> To: Masoud Tabrizi
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server
>
> You could use NSClient++ with the event log plugin.  I'm not sure what
> you need exactly from the eventlog but it'll alert you when something
> happens.
>
> Curtis LaMasters
> http://www.curtis-lamasters.com
> http://www.builtnetworks.com
>
>
>
> On Mon, Mar 2, 2009 at 10:08 AM, Masoud Tabrizi
> <masoud.tabrizi at gmail.com> wrote:
>   
>> Hello Everyone,
>>
>> I have a requirement to monitor a large number of application log files
>> under Win2003.
>>
>> Is there anything out there that can accomplish this?
>>
>> Using Nagios 2.9 and Nrpe_nt_0.8
>>
>>
>>
>> Thanks in advance
>>
>> M
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open source participation
>> -Receive a $600 discount off the registration fee with the source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when reporting
>> any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>>
>>     
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
>
>   



------------------------------

Message: 5
Date: Tue, 3 Mar 2009 09:47:04 +0000
From: Assaf Flatto <assaf.flatto at ssp-intl.com>
Subject: Re: [Nagios-users] Connection refused question
To: Mark Weaver <mweaver at compinfosystems.com>
Cc: Nagios User list <Nagios-users at lists.sourceforge.net>
Message-ID: <200903030947.04307.assaf.flatto at ssp-intl.com>
Content-Type: text/plain;	charset="US-ASCII"

Mark , 

first - please always post your questions to the list , you'll get faster answers and will share the 
knowledge earned with other members .

As for your issue ,  see below :


> Background info:
> SSH Service: Reconfigure to non-standard port. 22 => 2270
> HTTPD Service: Reconfigure to non-standard port. 80 => 8080 (I've got
> multiple web servers on the LAN serving different purposes. Apache on
> the Nagios server, (this server is my sandbox) listens on port 8080.
>
> In the localhost.cfg file:
> =========================
> define host{
>         use                     linux-server            ; Name of host
> template to use
>                                                         ; This host
> definition will inherit all variables that are defined
>                                                         ; in (or
> inherited by) the linux-server host template definition.
>         host_name               localhost
>         alias                   localhost
>         address                 127.0.0.1
>         }
>
> define service{
>         use                             local-service         ; Name of
> service template to use
>         host_name                       localhost
>         service_description             HTTP
>         check_command                   check_http
>         notifications_enabled           1
>         }
>
> ==================
>
> in the services.cfg file
> ===============
> # 'check_http' command definition
> define command{
>         command_name    check_http
>         command_line    $USER1$/check_http -I $HOSTADDRESS$ $ARG1$
>         }

since you define a command to wait a argument , you need to supply that in the command call in the 
check execution - meaning in the declaration of the service .
so your service definition should be something like this :

define service{
        use                             local-service         ; Name of service template to use
         host_name                       localhost
         service_description             HTTP
         check_command                   check_http!$ARG1$  
         notifications_enabled           1
         }

where  $ARG!$ is the "-p 8080 " string you with to direct the HTTP request to .

Assaf
-- 

Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE





IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY
 
 



------------------------------

Message: 6
Date: Tue, 03 Mar 2009 11:01:50 +0100
From: Joerg Linge <pitchfork at ederdrom.de>
Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server
Cc: nagios-users at lists.sourceforge.net
Message-ID: <49AD000E.7080300 at ederdrom.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Michael Medin schrieb:
> Hello,
> 
> I would suggest someone to "port" check_logfiles to "windows" (ie 
> working with for instance pure Perl or some such).
> That is the "point" of the NRPE support in NSClient++ (and others)

Hi Michael,
check_logfiles is already availably for windows.

http://www.consol.de/opensource/nagios/check-logfiles/

Joerg



------------------------------

Message: 7
Date: Tue, 3 Mar 2009 12:17:16 +0200
From: "Shimon Weinreich" <shimon at openu.ac.il>
Subject: [Nagios-users] Nagios do not send hosts notifications
To: <nagios-users at lists.sourceforge.net>
Message-ID: <A8DAF37AB05CA74C938F57DD19095766143663 at AMNON.openu.local>
Content-Type: text/plain; charset="windows-1255"

Hello,

I run Nagios version 3.0.3 on Linux. I have a strange problem. I don?t get any notifications
When hosts went down but notifications is working OK for services.

Any hint ??

Tnx, in advance


-------
?????,

      ????? ????????
      ??????????? ??????


-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 8
Date: Tue, 3 Mar 2009 11:06:26 +0000
From: Jim Avery <jim at jimavery.me.uk>
Subject: Re: [Nagios-users] Nagios do not send hosts notifications
To: nagios-users at lists.sourceforge.net
Message-ID:
	<765d77c80903030306i187d1503oadff5e36b1990140 at mail.gmail.com>
Content-Type: text/plain; charset=windows-1252

2009/3/3 Shimon Weinreich <shimon at openu.ac.il>:
> Hello,
>
> I run Nagios version 3.0.3 on Linux. I have a strange problem. I don?t get
> any notifications
>
> When hosts went down but notifications is working OK for services.
>
> Any hint ??

There are various options in the host definition which determine
whether Nagios will send a notification for a host.  For example
max_check_attempts, check_interval, retry_interval, contact_groups,
first_notification_delay, notification_period, notification_options
and notifications_enabled.  You can read all about them in the
documentation at:

http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host

It's possible too that you might have disabled notifications for the
host.  Check the host in the web front-end to make sure.  In the host
detail screen it should say (amongst other things) "Notifications:
ENABLED".

Also note that host and service notification options are specified
separately in the contact definition.  For example, the template I use
for contacts looks like this:

define contact{
  name                            generic-contact
  service_notification_period     24x7
  host_notification_period        24x7
  service_notification_options    w,c,r
  host_notification_options       d,r
  service_notification_commands   notify-service-by-email
  host_notification_commands      notify-host-by-email
  register                        0
  }


The host notification command is usually different to the service
notification command.  Check your command definitions and make sure
there isn't some problem with your host notification command.

hth,

Jim



------------------------------

Message: 9
Date: Tue, 3 Mar 2009 14:02:12 -0000
From: "Martyn" <martyn at chetnet.co.uk>
Subject: [Nagios-users] NRPE only_from
To: <nagios-users at lists.sourceforge.net>
Message-ID:
	<!&!AAAAAAAAAAAYAAAAAAAAADw1FTPxxwxAqGSPfErmtgrCgAAAEAAAAJzXS9An90RDk+dEIrPfPtkBAAAAAA==@chetnet.co.uk>
	
Content-Type: text/plain; charset="us-ascii"

Hi all, I want to test connectivity from the outside world to my Linux box
inside my network, I'm wanting to test before I try and monitor an external
box.

On the inside of my network I have a Linux box on 192.168.3.245 running NRPE
and my Nagios Server on 192.168.3.247
Both of these are connected to a 3560 Cisco Switch which in turn is
connected to my Linksys Router then onto my Cable modem.

On my Linux box I have in my nrpe "only_from = 192.168.3.247 which allows
Nagios to gather its stats, however if I change it to the public IP address
that is given I get the following errors "Check_NRPE: Error Could not
complete SSL handshake".

In my .cfg file on my Nagios server (the cfg of the box I want to monitor) I
have pointed it to my public IP address and restarted Nagios.
On my Linksys Router I'm port forwarding to the Linux box port 5666 but it
makes no difference, I have even put my Linux box in the DMZ but still no
joy.

Does anybody know how I can test my Linux box so it looks like its from the
external network, failing that does anybody have a test box I can try and
monitor for 10 minutes or so.

Also, NRPE the line only_from, am I allowed to put the domain name or is it
just IP address only.

Thanks

Martyn


-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 10
Date: Tue, 3 Mar 2009 09:10:02 -0600
From: Marc Powell <marc at ena.com>
Subject: Re: [Nagios-users] NRPE only_from
To: nagios-users Mailinglist <nagios-users at lists.sourceforge.net>
Message-ID: <BD439FC8-F040-4B6D-8B9D-9C51A9733120 at ena.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes


On Mar 3, 2009, at 8:02 AM, Martyn wrote:

> Hi all, I want to test connectivity from the outside world to my  
> Linux box inside my network, I'm wanting to test before I try and  
> monitor an external box.
>
> On the inside of my network I have a Linux box on 192.168.3.245  
> running NRPE and my Nagios Server on 192.168.3.247
> Both of these are connected to a 3560 Cisco Switch which in turn is  
> connected to my Linksys Router then onto my Cable modem.
>
> On my Linux box I have in my nrpe "only_from = 192.168.3.247 which  
> allows Nagios to gather its stats, however if I change it to the  
> public IP address that is given I get the following errors  
> "Check_NRPE: Error Could not complete SSL handshake".
>
NRPE will never see the public IP of your Linksys Router/Cable modem.  
The requests do not originate from that device. It may pass them, but  
it does not originate them. You need to permit the (public) IP of the  
machine you are testing from.
> In my .cfg file on my Nagios server (the cfg of the box I want to  
> monitor) I have pointed it to my public IP address and restarted  
> Nagios.
>
> On my Linksys Router I'm port forwarding to the Linux box port 5666  
> but it makes no difference, I have even put my Linux box in the DMZ  
> but still no joy.
>
I would be very surprised if the Linksys router supported NAT  
reflection. The key is that the requests must come in from the WAN  
interface for the port forwarding to work. If you're testing the port  
forwarding from your nagios machine (on private IP), the Linksys box  
isn't going to use the Forward rule for that connection.
> Does anybody know how I can test my Linux box so it looks like its  
> from the external network, failing that does anybody have a test box  
> I can try and monitor for 10 minutes or so.
>
Test from a machine that is off your network, on the public Internet;  
a friends computer or one at work. Unless you have multiple public  
IP's given to you by your provider, an architecture to simulate that  
locally is complicated.
> Also, NRPE the line only_from, am I allowed to put the domain name  
> or is it just IP address only
>
Do you mean 'allowed_hosts'?

# ALLOWED HOST ADDRESSES
# This is an optional comma-delimited list of IP address or hostnames
# that are allowed to talk to the NRPE daemon.

--
Marc




------------------------------

Message: 11
Date: Tue, 3 Mar 2009 12:43:41 -0500
From: Lee Azzarello <lee at dropio.com>
Subject: Re: [Nagios-users] Need to monitor Solaris 10 and am new to
	Nagios
To: Nagios Users Mailinglist <nagios-users at lists.sourceforge.net>
Message-ID:
	<16b031c0903030943r216f72fao84dbb2db31413036 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Open the web panel of Nagios and click on the "documentation" link.
It's the second entry in the "general" category in the left frame.

-lee

On Fri, Feb 27, 2009 at 12:08 AM, syed jafar <syed_jafar at hotmail.com> wrote:
>
>
> I am new to Nagios and would like to monitor Solaris 10 systems (CPU, Disk,
> ...etc). Nagios server/host?is running Redhat LINUX. Could someone let me
> know step by step process what to do. I have been told that it's kinda
> dfficult to monitor Solaris 10 system. If this is not possible is there a
> PERL or Shell script available to monitor the disk and CPU utilization.
>
>
>
> Thanks,
>
> Syed Jafar
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting
> any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>



------------------------------

Message: 12
Date: Tue, 3 Mar 2009 14:44:28 -0300
From: Livio Zanol Puppim <livio.zanol.puppim at gmail.com>
Subject: [Nagios-users] Ndoutils MySQL performance problem?
To: nagios List <Nagios-users at lists.sourceforge.net>
Message-ID:
	<fa1469130903030944s1bea9bedqd4926668563a0a4e at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hello everyone!

I'm having huge troubles with Mysql using 100% of CPU at peculiar times. I
don't know when this problem starts and I don't know the reason, but when it
happends I kill nagios, ndoutils and Mysql, and try to restart Mysql,
ndoutils and Nagios at this order. When I start Nagios, the CPU usage of
Mysql goes to 100% and everything just freezes with the initials
INSERT/UPDATES made by ndoutils.

Has anyone had the same problem? I've changed my.cnf to hold slow-queries
logging, an have seen at intervals of 1 minute a query runned by ndo that
tries to delete service_checks results. It takes about 4 seconds too run. Is
this expected? Can anyone help me?

Running Nagios 3.0.3, Debian etch, NDO2DB 1.4b7 and mysql  Ver 14.12 Distrib
5.0.45.


Slow-Queries log:
# Time: 090303 14:29:25
# User at Host: ndoutils[ndoutils] @ localhost []
# Query_time: 4  Lock_time: 0  Rows_sent: 0  Rows_examined: 0
DELETE FROM nagios_servicechecks WHERE instance_id='1' AND
start_time<FROM_UNIXTIME(1235496561);
# Time: 090303 14:30:26
# User at Host: ndoutils[ndoutils] @ localhost []
# Query_time: 4  Lock_time: 0  Rows_sent: 0  Rows_examined: 0
DELETE FROM nagios_servicechecks WHERE instance_id='1' AND
start_time<FROM_UNIXTIME(1235496622);

Thank you.
-- 
[]'s

L?vio Zanol Puppim
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 13
Date: Tue, 3 Mar 2009 17:36:08 +0000
From: "Roberson, John" <J.Roberson at tees.ac.uk>
Subject: [Nagios-users] Request for a list users.
To: "'nagios-users at lists.sourceforge.net'"
	<nagios-users at lists.sourceforge.net>
Message-ID:
	<1A1E94F0C6E8BC4A8EC276A6E723E037D8900FA2FF at HOLLYCLUSTER.windows.tees.ac.uk>
	
Content-Type: text/plain; charset="us-ascii"

Hello Nagios Users,

I am hoping someone can help. This is not a technical problem as such but just a general request. I am introducing Nagios to my University as a monitoring solution, and I would like be able to list a few companies/academic establishments who are using Nagios to monitor their networks in a forthcoming presentation. Does such a list exist, and if so please point me to the URL.

Kind Regards,

John Roberson

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 14
Date: Tue, 3 Mar 2009 12:54:42 -0500
From: "Masoud Tabrizi" <masoud.tabrizi at gmail.com>
Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server
To: "'Michael Medin'" <michael at medin.name>
Cc: nagios-users at lists.sourceforge.net
Message-ID: <0740CE670BE04DDD9C8919A484012C52 at EDI3MT>
Content-Type: text/plain;	charset="UTF-8"

Hello Michael,
I came to the same conclusion as well.
Thanks for all the responses.

M

++++++++++++++++++++++++++++++++++++++++++++++++++++
email: masoud.tabrizi at gmail.com 
  P Please consider the environment before printing this email 
++++++++++++++++++++++++++++++++++++++++++++++++++++

-----Original Message-----
From: Michael Medin [mailto:michael at medin.name] 
Sent: Tuesday, March 03, 2009 1:36 AM
To: Masoud Tabrizi
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server

Hello,

I would suggest someone to "port" check_logfiles to "windows" (ie 
working with for instance pure Perl or some such).
That is the "point" of the NRPE support in NSClient++ (and others)

// Michael Medin

Masoud Tabrizi skrev:
> I looked that the event log but does no good for me as I am trying to monitor application logs and not events logs. looking for something similar to check_logfiles on Unix.
> Thanks
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++
> -----Original Message-----
> From: Curtis LaMasters [mailto:curtislamasters at gmail.com] 
> Sent: Monday, March 02, 2009 3:10 PM
> To: Masoud Tabrizi
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server
>
> You could use NSClient++ with the event log plugin.  I'm not sure what
> you need exactly from the eventlog but it'll alert you when something
> happens.
>
> Curtis LaMasters
> http://www.curtis-lamasters.com
> http://www.builtnetworks.com
>
>
>
> On Mon, Mar 2, 2009 at 10:08 AM, Masoud Tabrizi
> <masoud.tabrizi at gmail.com> wrote:
>   
>> Hello Everyone,
>>
>> I have a requirement to monitor a large number of application log files
>> under Win2003.
>>
>> Is there anything out there that can accomplish this?
>>
>> Using Nagios 2.9 and Nrpe_nt_0.8
>>
>>
>>
>> Thanks in advance
>>
>> M
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open source participation
>> -Receive a $600 discount off the registration fee with the source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when reporting
>> any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>>
>>     
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
>
>   




------------------------------

Message: 15
Date: Tue, 3 Mar 2009 12:54:14 -0500
From: Lee Azzarello <lee at dropio.com>
Subject: Re: [Nagios-users] Service linked to hostgroup /
	notifications
To: Nagios-users at lists.sourceforge.net
Message-ID:
	<16b031c0903030954o10ee5755q70ca95f9b143200a at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Feb 27, 2009 at 3:20 PM, Neu, Timothy <TNeu at sjm.com> wrote:
> As I understand it, running NTP on a VM is a complete waste of
> resources, as there is no real per-VM clock to keep in sync. (i.e.,
> you're updating ether) ?VMWare "fakes" a clock whenever a process tries
> to access one.
>
> I know there are some kernel boot parameters that can be added to
> improve time accuracy inside a VM. ?Not sure if I found them on Redhat's
> site or VMWare's... ? That and VMWare tools time synchronization is the
> best I've been able to come up with.

I'm running 40 hosts in Amazon EC2. They are Xen virtual machines and
all of their clocks are synced via NTP. I have never had a problem
with time shift nor CPU performance.

-lee



------------------------------

Message: 16
Date: Tue, 3 Mar 2009 12:57:13 -0500
From: "Seth Simmons" <ssimmons at cymfony.com>
Subject: Re: [Nagios-users] Request for a list users.
To: "Roberson, John" <J.Roberson at tees.ac.uk>,
	<nagios-users at lists.sourceforge.net>
Message-ID:
	<4881ECF1AB752843908A20CEE07A8EB112784D at buf-ex01.cymfony.com>
Content-Type: text/plain; charset="us-ascii"

http://www.nagios.org/userprofiles/search.php?search=1

 

 

 

From: Roberson, John [mailto:J.Roberson at tees.ac.uk] 
Sent: Tuesday, March 3, 2009 12:36 PM
To: 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] Request for a list users.

 

Hello Nagios Users,

 

I am hoping someone can help. This is not a technical problem as such
but just a general request. I am introducing Nagios to my University as
a monitoring solution, and I would like be able to list a few
companies/academic establishments who are using Nagios to monitor their
networks in a forthcoming presentation. Does such a list exist, and if
so please point me to the URL.

 

Kind Regards,

 

John Roberson

 

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 17
Date: Tue, 3 Mar 2009 12:02:45 -0600
From: Rahul Nabar <rpnabar at gmail.com>
Subject: Re: [Nagios-users] Alert History seems empty
To: Marc Powell <marc at ena.com>
Cc: nagios-users Mailinglist <nagios-users at lists.sourceforge.net>
Message-ID:
	<c4d69730903031002i29bbf230w44edbced0eae3558 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Mar 2, 2009 at 1:12 PM, Marc Powell <marc at ena.com> wrote:
>
> On Mar 2, 2009, at 11:25 AM, Rahul Nabar wrote:
>

> Alert history isn't performance data. An 'alert' is logged when the
> service changes state (i.e. OK->CRITICAL for example). Your service
> has not changed state in the current log file.

Thanks Marc. My bad. What I should have been looking for is "View
Trends for this service". I got confused between those two.

-- 
Rahul



------------------------------

Message: 18
Date: Tue, 3 Mar 2009 12:03:52 -0600
From: Rahul Nabar <rpnabar at gmail.com>
Subject: Re: [Nagios-users] Alert History seems empty
To: Jim Avery <jim at jimavery.me.uk>
Cc: nagios-users at lists.sourceforge.net
Message-ID:
	<c4d69730903031003r6d9e9a6dx93e572dc71da3c9 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Mar 2, 2009 at 1:57 PM, Jim Avery <jim at jimavery.me.uk> wrote:
> The history will normally only record anything if the ping check has
> changed state (for example from OK to Warning). ?If there's nothing in
> the log for a particular day, it simply means it''s been pinging fine
> all day (or if it's been critical all day long).
>
> Nagios itself doesn't do anything with the performance data, but can
> be configured to pass it on to flat files, a database or to a graph
> for example PNP or nagiosgrapher. ?I use (and recommend) PNP as it's
> easy to install and use and seems to get better & better with every
> new release. ?http://www.pnp4nagios.org/pnp/start

Thanks Jim. That makes sense now. I was misinterpreting the term
"alert history". I already have PNP4nagios working.

-- 
Rahul



------------------------------

Message: 19
Date: Tue, 3 Mar 2009 15:18:15 -0300
From: Ciro Iriarte <cyruspy at gmail.com>
Subject: Re: [Nagios-users] Ndoutils MySQL performance problem?
To: Livio Zanol Puppim <livio.zanol.puppim at gmail.com>
Cc: nagios List <Nagios-users at lists.sourceforge.net>
Message-ID:
	<a998a0140903031018ubb5910aw3c86497a7b60c184 at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

2009/3/3 Livio Zanol Puppim <livio.zanol.puppim at gmail.com>:
> Hello everyone!
>
> I'm having huge troubles with Mysql using 100% of CPU at peculiar times. I
> don't know when this problem starts and I don't know the reason, but when it
> happends I kill nagios, ndoutils and Mysql, and try to restart Mysql,
> ndoutils and Nagios at this order. When I start Nagios, the CPU usage of
> Mysql goes to 100% and everything just freezes with the initials
> INSERT/UPDATES made by ndoutils.
>
> Has anyone had the same problem? I've changed my.cnf to hold slow-queries
> logging, an have seen at intervals of 1 minute a query runned by ndo that
> tries to delete service_checks results. It takes about 4 seconds too run. Is
> this expected? Can anyone help me?
>
> Running Nagios 3.0.3, Debian etch, NDO2DB 1.4b7 and mysql? Ver 14.12 Distrib
> 5.0.45.
>
>
> Slow-Queries log:
> # Time: 090303 14:29:25
> # User at Host: ndoutils[ndoutils] @ localhost []
> # Query_time: 4? Lock_time: 0? Rows_sent: 0? Rows_examined: 0
> DELETE FROM nagios_servicechecks WHERE instance_id='1' AND
> start_time<FROM_UNIXTIME(1235496561);
> # Time: 090303 14:30:26
> # User at Host: ndoutils[ndoutils] @ localhost []
> # Query_time: 4? Lock_time: 0? Rows_sent: 0? Rows_examined: 0
> DELETE FROM nagios_servicechecks WHERE instance_id='1' AND
> start_time<FROM_UNIXTIME(1235496622);
>
> Thank you.
> --
> []'s
>
> L?vio Zanol Puppim
>

Try creating a index for that table

-----
create index   nagios_servicechecks_idx1 on nagios_servicechecks
(start_time, instance_id)
-----

I'm not sure if the order would change the result though

(start_time, instance_id) OR (instance_id, start_time)

Regards,

-- 
Ciro Iriarte
http://cyruspy.wordpress.com
--



------------------------------

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

------------------------------

_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users


End of Nagios-users Digest, Vol 34, Issue 2
*******************************************

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list