PNP performance

Max perldork at webwizarddesign.com
Fri Feb 6 23:15:07 CET 2009


Hi Hendrik,

On Fri, Feb 6, 2009 at 5:03 PM, Hendrik Baecker <andurin at process-zero.de> wrote:
> hm... you should know that modpnpsender was written long time ago as a
> fast shot to a nice idea.

Yes, we have been doing some code clean up as we go along.

> I thought no one will use that code outer a test environment. But as you
> say that you are using that creepy code - let me know if there is more I
> can do for you ;)

Haha.  I am thinking of changing  it from the semi-valid XML it
outputs to something simpler and cleaner .. either JSON or
comma:separated pairs.

We have been doing some code clean up as we use it so I will submit
our little patches as well for that to the PNP list.

> Maybe you want to check out the latest devel version, there is a new
> (cleaner) module for getting performance data, not with a socket in it
> but it might be faster than the normal way. It's called npcdmod.

Will check that out, but we really need to send data to our second
server so unless it uses a socket-based system :) I will continue to
work with and on modpnpsender.  The system I have been describing has
been in place for 4+ months and has been very stable .. no segfaults
or unexpected behavior.

We can discuss more on the PNP mailing list if you would prefer ... I
was even thinking of changing from TCP to UDP for the modpnpsender
code, that would reduce the impact on the sending system and receiving
system and the network traffic between the two systems.  Also was
going to put the destination host IP, port and the debug flag in an
external config file so that the module doesn't have to be recompiled
when the destination IP changes :).

I understand it was not production ready, I am very glad you included
it as with some minor changes it has been working very well for us!

- Max

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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





More information about the Users mailing list