service dependency problem - config check hangs

Terry td3201 at gmail.com
Mon Sep 7 19:19:52 CEST 2009


2009/9/7 Mathieu Gagné <mgagne at iweb.com>:
> On 9/7/09 12:54 PM, Terry wrote:
>>
>> On Fri, Sep 4, 2009 at 2:51 PM, Marc Powell<marc at ena.com>  wrote:
>>>
>>> Based on that number, it looks like you're getting all services
>>> dependent on the NRPE services on all hosts. I haven't been following
>>> this thread but what I think you're trying to do has recently been
>>> discussed on nagios-devel (which I haven't really been following
>>> either) *but* it may be useful/relevant to you as there is some patch
>>> provided there... Just pointing you to the other thread...
>>>
>>> http://news.gmane.org/gmane.network.nagios.devel - Mass define service
>>> dependency for NRPE services.
>>>
>>> YMMV.
>>
>> I appreciate the suggestions so far.  I tried the patch and it still
>> hangs.  I can't believe this doesn't work for 3.2.0.
>
> Which patch did you tried?
>
> Mine is in production at this time and it works perfectly.
> As for Thomas' one, it simply does not work. Sorry. :)
>
> --
> Mathieu
>

http://marc.info/?l=nagios-devel&m=125193013621198&w=2

[root at omajelut01 SOURCES]# patch -p0 < nagios-patch
patching file nagios-3.2.0/xdata/xodtemplate.c
Hunk #1 succeeded at 5333 (offset 86 lines).
Hunk #3 succeeded at 5834 (offset 86 lines).

It compiled fine too.

[root at omajelut01 SOURCES]# head -n 3 nagios-patch
diff -Naur nagios-3.2.0-orig/xdata/xodtemplate.c
nagios-3.2.0/xdata/xodtemplate.c
--- nagios-3.2.0-orig/xdata/xodtemplate.c       2009-09-02
17:15:52.000000000 -0400
+++ nagios-3.2.0/xdata/xodtemplate.c    2009-09-02 17:21:55.000000000 -0400

I'm not a programmer and haven't spent any time in understanding
patching so I probably screwed up.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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