[clug] nagios npre protcol

David Tulloh david at tulloh.id.au
Tue Apr 2 19:18:49 MDT 2013

The documentation is essentially the source code,

NRPE is done by taking the following C struct and throwing it, bytewise, at
the other end via TCP.  Not great if to ever want to talk to a different
endian machine but very simple to implement.  The struct can optionally be
wrapped in SSL for security.

typedef struct packet_struct{
   int16_t packet_version;
   int16_t packet_type;
   u_int32_t crc32_value;
   int16_t result_code;
   char buffer[MAX_PACKETBUFFER_LENGTH==1024];


On Mon, Mar 25, 2013 at 7:04 PM, jm <jeffm at ghostgun.com> wrote:

> Did a bit of a web search for documentation on the protocol used by Nagios
> to talk to its npre agent, but haven't been able to dig anything up. Does
> anyone know if there is any documentation of this protocol and if so where
> it is to be located?
> Jeff.
> --
> linux mailing list
> linux at lists.samba.org
> https://lists.samba.org/**mailman/listinfo/linux<https://lists.samba.org/mailman/listinfo/linux>

More information about the linux mailing list