ping with 32bytes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
idas
Posts: 14
Joined: Mon Oct 03, 2011 2:48 am

ping with 32bytes

Post by idas »

Hello,

I am using nagiosXI, and i want to monitor some laser heads.
Those devices reply only to ping requests of 32bytes.
Linux by default ping with 64bytes.

Is there a way to force check_icmp to use 32bytes?

Thanks
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: ping with 32bytes

Post by sreinhardt »

Just an FYI, most plugins have a -h flag that provide lots of great information. As for your question, using a "-b 24" should provide you with a 32 byte packet, as it is 8 bytes for the header + data size (-b option).
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked