Nagios latency

Daniel McLaughlin daniel.mclaughlin at bizneteis.com
Wed Oct 3 12:30:04 CEST 2007


I have experienced the same issue, I inherited a nagios installation from a previous administrator and they had neglected to set parallelize_check = 1 and it exhibited the exact same symptoms as you describe.

Daniel

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net
Sent: 03 October 2007 11:06
To: nagios-users at lists.sourceforge.net
Subject: Nagios-users Digest, Vol 17, Issue 6

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: Nagios Latency (Benjamin Cleyet-Marrel)
   2. Re: Some Observations on Installation (Richard Mohr)
   3. Re: notifications 3.0b3 not working. (Richard Mohr)
   4. Re: service/host escallations with additional groups
      (Richard Mohr)
   5. Re: Ideas for service dependencies on SSH? (Richard Mohr)
   6. Re: Some Observations on Installation (Jim Pye)
   7. Re: nagios-plugins -- ./stdint.h:76:6: operator   '&&'    has no
      left operand (Holger Weiss)
   8. Re: nagios-plugins -- ./stdint.h:76:6: operator   '&&'    has no
      left operand (Caylan Van Larson)
   9. Tivoli TSM Checks via NRPE (Patrick M.)
  10. no error if no notification_options (Rob Brown)
  11. Re: ping service (John Tabasz (jtabasz))
  12. Re: check_by_ssh - please clarify. (Live Great)
  13. FW:   Problem with NDOUtils 1.4b6 and MySQL
      (Wheeler, JF (Jonathan))
  14. Re: service_perfdata (hindrek murdsalu)
  15. check_by_ssh - please clarify. (Live Great)
  16. check_by_ssh - please clarify. (Live Great)


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

Message: 1
Date: Wed, 03 Oct 2007 09:05:55 +1300
From: Benjamin Cleyet-Marrel <benjamincm at oss.co.nz>
Subject: Re: [Nagios-users] Nagios Latency
To: nagios-users at lists.sourceforge.net
Message-ID: <4702A4A3.603 at oss.co.nz>
Content-Type: text/plain; charset="iso-8859-15"

Hi Andreas,

Thanks for answering .

I have more or less followed the documentation on how to tune nagios.

service_reaper_frequency=2
max_concurrent_checks=0
service_interleave_factor=s
host_inter_check_delay_method=s

The host check command is check_icmp
We use nagios 2.7.1
The nagios server is not overloaded  4Go RAM and dual core 3GHz.

But still the nagios latency is increasing for no particular reason ...
see the graph attached.

Cheers
Ben


Andreas Ericsson wrote:
> Benjamin Cleyet-Marrel wrote:
>> Hi,
>>
>> I am experiencing problems with Nagios latency that I can't understand.
>>
>> Upon Nagios startup or upon Nagios restart, the latency is bellow
>> 0.1second which is fine.
>> After a couple of days, without any change, and even though the
>> execution time and the Nagios server load remain the same the latency
>> slowly increase.  It seems that it is an exponential growth.
>>
>> All the checks kicks in later and later, no exception.
>>
>> Usually after a week the latency is up to 60seconds and after 2 week
>> up to 5 minutes.
>>
>> I have currently set up a Nagios restart every monday, but I would
>> like to find a better solution and understand why does the latency
>> keeps increasing.
>>
>> We monitor over 50 hosts and have over 1400 checks every 5 minutes.
>> The nagios server is quite big and is not really loaded.
>>
>> Any Idea would be appreciated
>>
>
> Three things to check:
> service_reaper_frequency
> check_interleave_factor
> max_parallell_something_something
>
> I haven't done my morning routine yet, so you'll have to figure out the
> real variable names in case my memory is a bit off (which it no doubt
> is).
>
> Other than that.. What nagios version are you running, and how is your
> host check command defined?
>
>


--

----------------------------------
Benjamin Cleyet-Marrel
Consultant

OSS: Open Systems Specialists Ltd
phone:   09-984-3000
fax:     09-984-3001
mobile:  021-721-869
email:   bcm at oss.co.nz
web:     www.oss.co.nz
post:    P.O. Box 8833, Auckland
----------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-latency.png
Type: image/png
Size: 33267 bytes
Desc: not available

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

Message: 2
Date: Tue, 02 Oct 2007 17:01:30 -0400
From: Richard Mohr <rfmohr at osc.edu>
Subject: Re: [Nagios-users] Some Observations on Installation
To: jim.pye at pyenet.co.nz
Cc: nagios-users at lists.sourceforge.net
Message-ID: <1191358890.4667.24.camel at squeak>
Content-Type: text/plain

On Sat, 2007-09-22 at 13:27 +1200, Jim Pye wrote:

> 1. The --with-htmlurl option on the ./configure command did not seem to
> work for either install.

It seems you have a typo.  The option name is '-with-htmurl'.

> 2. The filename for the rc.d script was just nagios which meant that one
> would override the other.

That's pretty much standard behavior for most software that installs an
init script, and is usually what is needed 90% of the time.  (I too have
done side-by-side installs of Nagios, so I just make sure to avoid
running "make install-init".)

--
Rick Mohr
Systems Developer
Ohio Supercomputer Center




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

Message: 3
Date: Tue, 02 Oct 2007 17:17:47 -0400
From: Richard Mohr <rfmohr at osc.edu>
Subject: Re: [Nagios-users] notifications 3.0b3 not working.
To: Ken Lee <kenlee at jeld-wen.com.au>
Cc: nagios-users at lists.sourceforge.net
Message-ID: <1191359867.4667.31.camel at squeak>
Content-Type: text/plain

On Fri, 2007-09-28 at 04:54 +0200, Ken Lee wrote:

>  Mate, there are no lines similar to this in the messages file, in fact
>  no mention of smtp at all in the latest one. I have also looked in the
>  mail log and the only nagios entries are the tests that I have done.

You said you didn't see any "SERVICE ALERT" lines in /var/log/messages,
but did you also check /usr/local/nagios/var/nagios.log?  From the
configs you posted, that should be where those types of messages go.

(You'll have to excuse me if you already checked that file.  I just
wasn't sure based on your response if you have looked there as well.)

--
Rick Mohr
Systems Developer
Ohio Supercomputer Center




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

Message: 4
Date: Tue, 02 Oct 2007 17:23:34 -0400
From: Richard Mohr <rfmohr at osc.edu>
Subject: Re: [Nagios-users] service/host escallations with additional
        groups
To: Scott Brynen <scott.brynen at sophos.com>
Cc: nagios-users at lists.sourceforge.net
Message-ID: <1191360215.4667.37.camel at squeak>
Content-Type: text/plain

On Thu, 2007-09-27 at 11:29 -0700, Scott Brynen wrote:

> I'm trying to define some service/host escallations that add an additional
> user to the first notification, however, the additive operator doesn't seem
> to work
>
> define hostescalation{
>        hostgroup_name          *
>        first_notification      1
>        last_notification       1
>        contact_groups          +servicedesk
> }
> (on the first notification, send a note to the servicedesk IN ADDITION to
> the normal.)

The contact_groups value in a host escalation replaces the
contact_groups value from the host definition.  To accomplish what you
want, you need to set contact_groups to be
"<original_group>,servicedesk".  Of course, you are using a wildcard for
the hostgroup_name, so you would probably need a separate escalation for
each hostgroup since they may have different original contact groups.

--
Rick Mohr
Systems Developer
Ohio Supercomputer Center




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

Message: 5
Date: Tue, 02 Oct 2007 17:32:39 -0400
From: Richard Mohr <rfmohr at osc.edu>
Subject: Re: [Nagios-users] Ideas for service dependencies on SSH?
To: Ivan Fetch <ifetch at du.edu>
Cc: nagios-users at lists.sourceforge.net
Message-ID: <1191360759.4667.45.camel at squeak>
Content-Type: text/plain

On Tue, 2007-10-02 at 12:55 -0600, Ivan Fetch wrote:

>     Unfortunately, what this appears to do, is to define all combinations
> of service dependencies - E.G. Disksuite on host2 depends on SSH on host1,
> Disksuite on host1 depends on SSH on host2,
> and so on...
>
>     How are others accomplishing this?

Waiting for the final Nagios 3.0 release :-)

Assuming that you are using Nagios 2.x, what you want to do is not
possible unless you define a dependency separately for every host.  That
is the biggest issue keeping me from using proper service dependencies
in my setup.  However, Nagios 3.0 addresses that.

--
Rick Mohr
Systems Developer
Ohio Supercomputer Center




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

Message: 6
Date: Wed, 03 Oct 2007 10:17:05 +1200
From: Jim Pye <jim.pye at pyenet.co.nz>
Subject: Re: [Nagios-users] Some Observations on Installation
To: nagios-users at lists.sourceforge.net
Message-ID: <1191363425.3929.5.camel at jimsx220.pyenet.co.nz>
Content-Type: text/plain

On Tue, 2007-10-02 at 17:01 -0400, Richard Mohr wrote:

> > 1. The --with-htmlurl option on the ./configure command did not seem to
> > work for either install.
>
> It seems you have a typo.  The option name is '-with-htmurl'.

Rechecking and you are correct. Wonder why it accepted -with-htmlurl
without complaining? No problems, I will keep an eye on the spelling
next time...

>
> > 2. The filename for the rc.d script was just nagios which meant that one
> > would override the other.
>
> That's pretty much standard behavior for most software that installs an
> init script, and is usually what is needed 90% of the time.  (I too have
> done side-by-side installs of Nagios, so I just make sure to avoid
> running "make install-init".)
>
I saw this one coming after I installed the first version so manually
renamed the script etc. before installing the second version.

Cheers
Jim

--
Jim Pye
PyeNet Universal

http://www.pyenet.co.nz





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

Message: 7
Date: Wed, 3 Oct 2007 01:42:05 +0200
From: Holger Weiss <holger at CIS.FU-Berlin.DE>
Subject: Re: [Nagios-users] nagios-plugins -- ./stdint.h:76:6:
        operator        '&&'    has no left operand
To: Nagios Users <nagios-users at lists.sourceforge.net>
Message-ID: <20071002234205.GT9102065 at CIS.FU-Berlin.DE>
Content-Type: text/plain; charset=us-ascii

* Caylan Van Larson <caylan at mac.com> [2007-10-02 13:35]:
> On Oct 2, 2007, at 12:35 PM, Caylan Van Larson wrote:
>> On Oct 2, 2007, at 11:42 AM, Holger Weiss wrote:
>>> * Caylan Van Larson <caylan at mac.com> [2007-10-02 11:32]:
>>>> ./stdint.h:76:6: operator '&&' has no left operand
>>>
>>> Could you show copy'n'paste line 76 of the file
>>>
>>>     /root/nrpe.install/src/nagios-plugins-1.4.10/gl/stdint.h
>>>
>>> for us?
>>
>> # if  && ! defined __BIT_TYPES_DEFINED__
>>   /* Linux libc4 >= 4.6.7 and libc5 have a <sys/bitypes.h> that defines
>>      int{8,16,32,64}_t and __BIT_TYPES_DEFINED__.  In libc5 >= 5.2.2 it is
>>      included by <sys/types.h>.  */
>> # include <sys/bitypes.h>
>> #endif
>
> It's worth noting that I had no problem building the plugins on RHEL 3/4
> boxes.

What's the output of the following commands?

$ cd /root/nrpe.install/src/nagios-plugins-1.4.10
$ grep ^HAVE config.log gl/Makefile

Just to make sure, running "make distclean" and re-running "./configure;
make" won't solve the problem?

Holger



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

Message: 8
Date: Tue, 2 Oct 2007 18:52:50 -0500
From: Caylan Van Larson <caylan at mac.com>
Subject: Re: [Nagios-users] nagios-plugins -- ./stdint.h:76:6:
        operator        '&&'    has no left operand
To: Holger Weiss <holger at CIS.FU-Berlin.DE>
Cc: Nagios Users <nagios-users at lists.sourceforge.net>
Message-ID: <A12A20C5-193D-4A72-91D6-F21E9A037FCF at mac.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

On Oct 2, 2007, at 6:42 PM, Holger Weiss wrote:

> * Caylan Van Larson <caylan at mac.com> [2007-10-02 13:35]:
>> On Oct 2, 2007, at 12:35 PM, Caylan Van Larson wrote:
>>> On Oct 2, 2007, at 11:42 AM, Holger Weiss wrote:
>>>> * Caylan Van Larson <caylan at mac.com> [2007-10-02 11:32]:
>>>>> ./stdint.h:76:6: operator '&&' has no left operand
>>>>
>>>> Could you show copy'n'paste line 76 of the file
>>>>
>>>>    /root/nrpe.install/src/nagios-plugins-1.4.10/gl/stdint.h
>>>>
>>>> for us?
>>>
>>> # if  && ! defined __BIT_TYPES_DEFINED__
>>>   /* Linux libc4 >= 4.6.7 and libc5 have a <sys/bitypes.h> that
>>> defines
>>>      int{8,16,32,64}_t and __BIT_TYPES_DEFINED__.  In libc5 >=
>>> 5.2.2 it is
>>>      included by <sys/types.h>.  */
>>> # include <sys/bitypes.h>
>>> #endif
>>
>> It's worth noting that I had no problem building the plugins on
>> RHEL 3/4
>> boxes.
>
> What's the output of the following commands?
>
> $ cd /root/nrpe.install/src/nagios-plugins-1.4.10
> $ grep ^HAVE config.log gl/Makefile
>
> Just to make sure, running "make distclean" and re-running "./
> configure;
> make" won't solve the problem?

Ahha, distclean fixed the problem.  Must have had some cruft from a
previous build on RHEL.

Thank you, Holger.

-Caylan




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

Message: 9
Date: Tue, 02 Oct 2007 17:34:34 -0700
From: "Patrick M." <patrickm at garlic.com>
Subject: [Nagios-users] Tivoli TSM Checks via NRPE
To: nagios-users at lists.sourceforge.net
Message-ID: <4702E39A.1060601 at garlic.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi all,

I went to Nagios Exchange and downloaded the tsm checks so I can use
them on our Tivoli Storage Manager server via NRPE.  I'm running into an
issue here, as I think the script wasn't intended to be used on any
other host than localhost.

The reason I say this is because it appears when I run it locally
compared to running it via NRPE, I get different results.  For example:

On localhost:

localhost:/usr/local/nagios/libexec #
./tsm_disk_pool.sh                             tsm_disk info OK |
pct_util(BACKUPPOOL)=36.0;;;; pct_migr(BACKUPPOOL)=36.0;;;;
pct_util(LARGEDISK)=74.7;;;; pct_migr(LARGEDISK)=74.7;;;;



On our Nagios Server:
nagios:/etc/nagios/libexec# ./check_nrpe -H oahu.garlic.com -c tsm_disk_pool
tsm_disk info OK |




Is there an alternative as to how I can run the scripts?  If not, does
anyone know how I can modify these scripts to be run properly?  Anyone
have any experience with these scripts?

Thanks in advance.

Patrick





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

Message: 10
Date: Tue, 2 Oct 2007 18:45:06 -0700
From: "Rob Brown" <dtownrobbrown at gmail.com>
Subject: [Nagios-users] no error if no notification_options
To: nagios-users at lists.sourceforge.net
Message-ID:
        <fad20eb80710021845m4e443eccp37f488461e869f0 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Recently, I messed up my (version 2.2) configs and it took me a while
to figure out why I wasn't getting any alerts: turns out the scripts I
use to generate my configs were not writing out the
notification_options directive on my templates. Even though I had
notifications enabled everywhere, I was not getting alerts.
While admittedly, this was my problem and not Nagios', it would have
been nice to see a warning in the verification routine. Like:
Warning: service xyz has no notification options enabled.
That would have tipped me off right away.

I checked this against a 3.0b2 version i'm running on a dev server and
it seemed to exhibit the same behavior. According to the docs, I
thought notification_options was a required directive? In that case,
shouldn't it throw an error?

here's a snippit of a config that passes verify:

define service {
        name                            generic-service
        max_check_attempts              3
        normal_check_interval           30
        retry_check_interval            15
        active_checks_enabled           1
        passive_checks_enabled          1
        check_period                    24x7
        parallelize_check               1
        freshness_threshold             0
        flap_detection_enabled          1
        retain_status_information       1
        retain_nonstatus_information    1
        notification_period             24x7
        notifications_enabled           1
        register                        0
}

define service {
        hostgroup_name                  zzdummy
        service_description             zzdummy
        use                             generic-service
        check_command                   check_dummy
        contact_groups                  nagios_dev
}

notice in the template: no notification_options
no alerts will ever be sent for this service.
Is this a bug or am I missing something?



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

Message: 11
Date: Tue, 2 Oct 2007 20:02:18 -0700
From: "John Tabasz (jtabasz)" <jtabasz at cisco.com>
Subject: Re: [Nagios-users] ping service
To: "Marc Powell" <marc at ena.com>, <nagios-users at lists.sourceforge.net>
Message-ID:
        <999D9C7316770741A028EF2A88B8E46803E2E890 at xmb-sjc-22a.amer.cisco.com>
Content-Type: text/plain;       charset="US-ASCII"

I am in a quite similar situation as Fanen. My question is more about
the configuration aspect. I have each host defined in the hosts.cfg
file, with a "check-host-alive" argument to the check_command directive.
Do I need to also build the commands.cfg or services.cfg file such that
every host has a declaration for every command I want to run on it?  If
I want to monitor 2K plus hosts, this is a lot of config file
building/monitoring/troubleshooting to do. Not to mention some large
files to be parsed by Nagios.

Thanks,

John

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc
Powell
Sent: Friday, August 31, 2007 5:38 AM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] ping service



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-

> bounces at lists.sourceforge.net] On Behalf Of Fanen Ahua
> Sent: Friday, August 31, 2007 5:09 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] ping service
>
> Hi,
> I recently installed and setup nagios on an ubuntu 7.04 system.
>
> I believe i have my configuration in place, and working, and i'm
trying
> to monitor a system via ping,


> It monitors, whenever i schedule it explicitly. I want it to
automatically
> run
> the check every few minutes. I believe that's what
'normal_check_interval'
> is for.
> Is there something i'm missing?

Did you disable execution of service checks in nagios.cfg perhaps?
http://nagios.sourceforge.net/docs/2_0/configmain.html#execute_service_c
hecks

Also running /path/to/nagios -s /path/to/nagios.cfg might reveal
interesting information.

--
Marc

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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, 2 Oct 2007 23:22:48 -0700 (PDT)
From: Live Great <livegreat007 at yahoo.com>
Subject: Re: [Nagios-users] check_by_ssh - please clarify.
To: nagios-users at lists.sourceforge.net
Message-ID: <81599.12134.qm at web45508.mail.sp1.yahoo.com>
Content-Type: text/plain; charset="us-ascii"

Hi,

This is the follow up the previous question.
For example, if I want to check disk info in a remote host,
In the NSCA server, I will define the following config:
define command{
        command_name    check_slash_free
        command_line $USER1$/check_by_ssh -i /var/ssh/nagios-key -l root -H $HOSTADDRESS$ -C '$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p /'
        }Do I only need to install check_disk script/program in the remote host without installing nagios and other nagios plugins?

Thanks[
Sam

----- Original Message ----
From: Live Great <livegreat007 at yahoo..com>
To: nagios-users at lists.sourceforge.net; nagios-users at lists.sourceforge.net
Sent: Wednesday, October 3, 2007 4:14:25 PM
Subject: check_by_ssh - please clarify.

Hi,

I am aware that NSCA can uses check_by_ssh to check remote host.
I am wondering if this means I don't have to install NSCA or Nagios plugins in remote host?

Thanks
Sam





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

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

Message: 13
Date: Wed, 3 Oct 2007 09:28:37 +0100
From: "Wheeler, JF \(Jonathan\)" <J.F.Wheeler at rl.ac.uk>
Subject: [Nagios-users] FW:   Problem with NDOUtils 1.4b6 and MySQL
To: <nagios-users at lists.sourceforge.net>
Message-ID:
        <F93ED76B6830FB4CB81262937940F726013B043C at exchange11.fed.cclrc.ac.uk>
Content-Type: text/plain;       charset="us-ascii"

-----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net On Behalf Of
mark.potter at academy.com
> Sent: 02 October 2007 14:52
>
> Thank you Mr Wheeler and Hugo for your advice. I have snipped the
output of the suggested command from
> Mr. Wheeler.
>
> checking for mysql_store_result in -lmysqlclient... no
>
> *** MySQL library could not be located... **************************

Do you have the mysql-devel RPM installed ?  This RPM contains the
/usr/include/mysql files and would be required by the build.

Jonathan Wheeler
e-Science Centre
Rutherford Appleton Laboratory



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

Message: 14
Date: Wed, 3 Oct 2007 12:29:00 +0300
From: "hindrek murdsalu" <hindrek.murdsalu at tallink.ee>
Subject: Re: [Nagios-users] service_perfdata
To: <nagios-users at lists.sourceforge.net>
Message-ID: <9BC17A07F06EFA4A8C6CB304127DA4100195C1 at mail1.tallink.ee>
Content-Type: text/plain;       charset="us-ascii"

This is getting a bit incomprehensible; I even went as far as to roll
back to 3.0b1, still the same situation, nothing is being written to
file. Checked if the Nagios user could use printf and did a test, it
wrote into the same file just fine, then figured maybe 1 of the macros
used in defining the command has been renamed/removed (even though I
switched back to 3.0b1), so tried with
define command{
        command_name    process-service-perfdata
        command_line    /usr/bin/printf "%b"
"$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\n" >>
/usr/local/nagios/var/service-
perfdata.out
        }
Still nothing of course, there doesn't seem to be any debug info for
performance data either, which is weird considering I may use Nagios'
own internal write-to-file method instead of using the command with
printf (which I did and it didn't work either).
Switched retain_nonstatus_information to 0 before reloading Nagios just
in case, that didn't do the trick either.
Could something non-Nagios related be preventing it from
fetching/writing the data?



-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of hindrek
murdsalu
Sent: 2. oktoober 2007. a. 17:09
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] service_perfdata

Hey,

I was trying to get nagiosgrapher to work but it didn't seem to get any
data from Nagios, so at the end of the day I got frustrated and checked
if Nagios can output the data to a file with the default settings and to
my surprise, it didn't write any data to file either, which is funny
beacuse I've been able to do that before, the service-perfdata.out file
still contains the old data from a month ago. Here's my config files:

Nagios.cfg

process_performance_data=1
service_perfdata_command=process-service-perfdata
service_perfdata_file=/usr/local/nagios/var/service-perfdata.dat
service_perfdata_file_template=[SERVICEPERFDATA]\t$DATE$\t$HOSTNAME$\t$S
ERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t
$SERVICEPERFDATA$
service_perfdata_file_mode=a
(file processing disabled)

Commands.cfg

define command{
        command_name    process-service-perfdata
        command_line    /usr/bin/printf "%b"
"$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICE
ATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t
$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >>
/usr/local/nagios/var/service-perfdata.out
        }

I've made sure that I haven't disabled performance data processing on
hosts/services/templates.
As I said, this worked for me earlier with nagios version 3.0b1, now I
use 3.0b3.

What could be the problem here?



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

Message: 15
Date: Tue, 2 Oct 2007 23:14:25 -0700 (PDT)
From: Live Great <livegreat007 at yahoo.com>
Subject: [Nagios-users] check_by_ssh - please clarify.
To: nagios-users at lists.sourceforge.net,
        nagios-users at lists.sourceforge.net
Message-ID: <281009.77592.qm at web45511.mail.sp1.yahoo.com>
Content-Type: text/plain; charset="us-ascii"

Hi,

I am aware that NSCA can uses check_by_ssh to check remote host.
I am wondering if this means I don't have to install NSCA or Nagios plugins in remote host?

Thanks
Sam

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

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

Message: 16
Date: Tue, 2 Oct 2007 23:14:25 -0700 (PDT)
From: Live Great <livegreat007 at yahoo.com>
Subject: [Nagios-users] check_by_ssh - please clarify.
To: nagios-users at lists.sourceforge.net,
        nagios-users at lists.sourceforge.net
Message-ID: <281009.77592.qm at web45511.mail.sp1.yahoo.com>
Content-Type: text/plain; charset="us-ascii"

Hi,

I am aware that NSCA can uses check_by_ssh to check remote host.
I am wondering if this means I don't have to install NSCA or Nagios plugins in remote host?

Thanks
Sam

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

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

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


End of Nagios-users Digest, Vol 17, Issue 6
*******************************************

If you are not the intended recipient, or person responsible for delivering it to the intended recipient, you are not authorised to and must not disclose, copy, distribute or retain this message or any part of it. The opinions/views/comments on this e-mail do not necessarily reflect any views or policies of BizNet. The recipient should check this email and any attachments for the presence of viruses. BizNet accepts no liability for any damage caused by any virus transmitted by this email. BizNet Solutions 2007

BizNet Solutions Ltd. is a Company registered in Northern Ireland, Company Reg: NI 39404

Head Office 133-137 Lisburn Road, Belfast, Northern Ireland, BT9 7AG

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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