Search found 22 matches

by bipsen
Fri Dec 09, 2016 3:21 pm
Forum: Open Source Nagios Projects
Topic: Broker API
Replies: 28
Views: 12220

Re: Broker API

I'd just be happy to know, that it is possible to get to work (=validated) with the changes/fixes I made :-) . It is not so important to me whether pnp4nagios will be pulled into core or XI - if I just can be sure, that I am able to build it with the pieces available (and then publish the fixed rpm+...
by bipsen
Fri Dec 09, 2016 2:47 pm
Forum: Open Source Nagios Projects
Topic: Broker API
Replies: 28
Views: 12220

Re: Broker API

It's my understanding that the two of you are working through PM/email. Is that correct? We'll leave this open of course for community input. Yes, I needed to transfer the file via PM/Email, as the forum/board had some limitations. I will appreciate if some sort of feedback will be given on the pnp...
by bipsen
Fri Dec 09, 2016 1:07 pm
Forum: Open Source Nagios Projects
Topic: Broker API
Replies: 28
Views: 12220

Re: Broker API

tar up your php4nagios directory and either upload it here, or PM me. I can take a look at it. The easiest thing would be to PM you the SRPM generated for the code, that I created... Unfortunately, the board does not allow SRPM files... I'll try to ZIP it... Hm... it is 3 MB,. the board only allows...
by bipsen
Fri Dec 09, 2016 12:45 pm
Forum: Open Source Nagios Projects
Topic: Broker API
Replies: 28
Views: 12220

Re: Broker API

I tried to move some of the code - I am not sure whether is has been done correctly, but at least I don't see the error anymore... Intensive testing probably needs to be made - and I don't know if the the change will affect e.g. ndoutils... This is the change: --- nagios-4.2.3.org/base/nagios.c 2016...
by bipsen
Fri Dec 09, 2016 12:14 pm
Forum: Open Source Nagios Projects
Topic: Broker API
Replies: 28
Views: 12220

Re: Broker API

Ok, with a bit of effort I succeeded in compiling the module for v4.... Did you make changes to Core? If so, the *best* thing to do is create a pull request on github. Alternatively, could you post the changes you made? It's possible we'll merge the changes in. Thanks! No changes made to Nagios Cor...
by bipsen
Thu Dec 08, 2016 11:02 pm
Forum: Open Source Nagios Projects
Topic: Broker API
Replies: 28
Views: 12220

Re: Broker API

Looks like that is from Core when running add_event: https://github.com/NagiosEnterprises/nagioscore/blob/37ff339c8e13547e51fde2f736216ba6876b7742/base/events.c#L868 That is the one... The question is then whether the call to https://github.com/NagiosEnterprises/nagioscore/blob/master/base/nagios.c...
by bipsen
Thu Dec 08, 2016 4:11 pm
Forum: Open Source Nagios Projects
Topic: Broker API
Replies: 28
Views: 12220

Re: Broker API

A follow up - I tried to start nagios manually with timing points enabled: [0.0000 (+0.0000)] Variables reset [0.0007 (+0.0007)] Main config file read Nagios 4.2.3 starting... (PID=13246) Local time is Thu Dec 08 22:09:22 CET 2016 [0.0011 (+0.0004)] NEB module API initialized [0.0012 (+0.0001)] Quer...
by bipsen
Thu Dec 08, 2016 3:43 pm
Forum: Open Source Nagios Projects
Topic: Broker API
Replies: 28
Views: 12220

Re: Broker API

I wonder if the subject is better located in the forum "Nagios Plugin Development" - even though this maybe not is a "plugin" in terms of something that can be used for a servicecheck er similar.... But if anyone could contribute with info/hints on why Nagos logs "Error: Fai...
by bipsen
Thu Dec 08, 2016 2:48 pm
Forum: Open Source Nagios Projects
Topic: Broker API
Replies: 28
Views: 12220

Re: Broker API

The errors are from nagios.log (and nagios debug log).

I have not started the npcd daemon yet - as I want to see the broker module load without failure first...

I have built from 0.6.25 sourcecode on CentOS....
by bipsen
Thu Dec 08, 2016 1:43 pm
Forum: Open Source Nagios Projects
Topic: Broker API
Replies: 28
Views: 12220

Re: Broker API

Debug gives me: [1481222429.460588] [064.1] [pid=30847] Making callbacks (type 2)... [1481222429.460614] [064.1] [pid=30847] Making callbacks (type 2)... [1481222429.460624] [064.1] [pid=30847] Making callbacks (type 2)... [1481222429.460631] [064.1] [pid=30847] Making callbacks (type 2)... [1481222...